Function at 0x416a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x238
mov esi, esp
mov dword [esi + 0x220], ebp
lea eax, [esi + 0x228]
xor edx, edx
lea edi, [esi + 0x18]
lea ebx, [esi + 0x6c]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x419a00
mov ecx, dword fs:[0]
mov dword [eax], ecx
lea ecx, [esi + 0x90]
mov dword fs:[0], eax
mov dword [eax + 8], 1
lea eax, [esi + 0x28]
mov dword [edi + 4], edx
mov dword [edi], edx
mov dword [edi + 8], edx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x58], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x220]
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax + 8], edx
mov dword [esi + 0x4c], fcn.00402810
mov dword [esi + 0x54], ecx
lea ecx, [esi + 0x78]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov dword [ecx + 8], edx
lea ecx, [esi + 0x38]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov dword [ecx + 8], edx
mov dl, byte [ebp + 0x10]
movzx edx, dl
push ebx
push eax
push ecx
push edi
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x74]
push eax
lea eax, [esi + 0x76]
push eax
lea eax, [esi + 0x70]
push eax
push dword [ebp + 0x14]
push edx
call fcn.004176a4
add esp, 0x28
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
xor edi, edi
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
jmp 0x417442
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x10], edi
mov dword [esi + 0x230], 1
call fcn.00418ff4
mov ecx, dword [esi]
mov edx, eax
test ecx, ecx
je 0x416ba1
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x416b82
movzx eax, word [eax]
jmp 0x416b8f
mov eax, dword [ecx]
mov byte [esi + 4], dl
call dword [eax + 0x20]
mov dl, byte [esi + 4]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x416ba1
mov edi, dword [esi + 0x10]
test dl, dl
jne 0x416bae
jmp 0x41744e
mov edi, dword [esi + 0x10]
xor ecx, ecx
test dl, dl
jne 0x41744e
movsx eax, byte [esi + edi + 0x70]
cmp eax, 4
ja case.default.0x416bbe
mov dword [esi], ecx
jmp dword [eax*4 + 0x417690]
cmp edi, 3
jne 0x417092
jmp 0x417127
cmp edi, 3
jne 0x416e09
mov eax, dword [esi + 8]
mov ecx, dword [esi]
jmp 0x417441
cmp edi, 2
jb 0x416e22
cmp dword [esi + 8], 0
jne 0x416e22
cmp edi, 2
sete al
cmp byte [esi + 0x73], 0
setne cl
bt dword [ebp + 0x18], 9
jb 0x416e3b
and al, cl
jne 0x416e3b
mov ecx, dword [esi]
xor eax, eax
jmp 0x417441
movzx edx, byte [esi + 0x43]
test dl, dl
mov eax, edx
jns 0x416c2f
mov eax, dword [esi + 0x3c]
movzx ebx, byte [esi + 0x33]
test bl, bl
mov ecx, ebx
jns 0x416c3c
mov ecx, dword [esi + 0x2c]
mov edi, eax
add edi, ecx
je 0x417127
test eax, eax
je 0x416f41
mov eax, dword [ebp + 8]
test ecx, ecx
mov ecx, dword [eax]
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
je 0x4171a0
cmp edi, eax
je 0x4171b0
movzx ebx, word [edi]
mov dword [esi + 0xc], eax
mov word [esi + 4], bx
jmp 0x4171ca
mov dword [esi + 4], 0
mov ecx, dword [ebp + 8]
call fcn.00418ff4
mov ecx, dword [esi]
mov edx, eax
test ecx, ecx
je 0x416cb8
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x416c9c
movzx eax, word [eax]
jmp 0x416ca9
mov eax, dword [ecx]
mov byte [esi + 0xc], dl
call dword [eax + 0x20]
mov dl, byte [esi + 0xc]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x416cb8
test dl, dl
jne 0x416cc2
jmp 0x416d9c
xor ecx, ecx
test dl, dl
jne 0x416d9c
mov eax, dword [ebp + 8]
mov dword [esi], ecx
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x416cd6
movzx edx, word [eax]
jmp 0x416cdd
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edx, eax
mov ecx, dword [ebp + 0x24]
mov word [esi + 0xc], dx
movzx edx, dx
mov eax, dword [ecx]
push edx
push 4
call dword [eax + 0xc]
test al, al
je 0x416d25
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
cmp eax, dword [ebp + 0x30]
jne 0x416d12
lea eax, [ebp + 0x30]
push eax
push ecx
push dword [ebp + 0x28]
call fcn.00417860
add esp, 0xc
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
mov edx, ecx
lea edi, [eax + 2]
inc dword [esi + 4]
mov dword [edx], edi
movzx edx, word [esi + 0xc]
mov word [eax], dx
jmp 0x416d7a
movzx eax, byte [esi + 0x83]
test al, al
jns 0x416d33
mov eax, dword [esi + 0x7c]
movzx ecx, word [esi + 0xc]
cmp cx, word [esi + 0x74]
mov ecx, dword [esi]
jne 0x416d9c
cmp dword [esi + 4], 0
je 0x416d9c
test eax, eax
je 0x416d9c
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x54]
jne 0x416d68
lea eax, [esi + 0x54]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.00416980
add esp, 0xc
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 4]
lea ecx, [eax + 4]
mov dword [esi + 4], 0
mov dword [esi + 0x14], ecx
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x416d92
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x416c7f
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x416c7f
cmp dword [esi + 4], 0
je 0x416dd5
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x48], eax
je 0x416dd5
cmp eax, dword [esi + 0x54]
jne 0x416dca
lea eax, [esi + 0x54]
mov dword [esi], ecx
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.00416980
add esp, 0xc
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
mov edi, dword [esi + 4]
lea edx, [eax + 4]
mov dword [esi + 0x14], edx
mov dword [eax], edi
cmp dword [esi + 0x6c], 0
jle 0x41742b
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
call fcn.00418ff4
mov edx, dword [esi]
mov ebx, eax
test edx, edx
je 0x416f32
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
je 0x417139
movzx eax, word [eax]
jmp 0x417148
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x416f5a
movzx eax, word [eax]
jmp 0x416f5f
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
lea edx, [esi + 0x18]
mov ebx, edx
test cl, cl
cmovs ebx, eax
test edi, edi
jne 0x416e4b
jmp 0x416fbf
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
lea edx, [esi + 0x18]
mov ebx, edx
test cl, cl
cmovs ebx, eax
cmp byte [esi + edi + 0x6f], 1
ja 0x416fbf
jmp 0x416e61
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
add ebx, 2
test cl, cl
jns 0x416e6c
mov edx, dword [esi + 0x1c]
mov edi, eax
jmp 0x416e72
movzx edx, cl
lea edi, [esi + 0x18]
lea edx, [edi + edx*2]
mov dword [esi + 4], ebx
cmp edx, ebx
je 0x416e97
mov ecx, dword [ebp + 0x24]
movzx eax, word [ebx]
mov edx, dword [ecx]
push eax
push 8
call dword [edx + 0xc]
mov ebx, dword [esi + 4]
test al, al
jne 0x416e58
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
test cl, cl
lea edx, [esi + 0x18]
mov ch, byte [esi + 0x63]
cmovs edx, eax
sub ebx, edx
mov dword [esi + 0x68], edx
mov edx, dword [esi + 0x5c]
sar ebx, 1
test ch, ch
mov dword [esi + 0xc], edx
movzx edx, ch
mov edi, edx
mov dword [esi + 0x88], edx
cmovs edx, dword [esi + 0xc]
cmp ebx, edx
ja 0x416f94
mov dword [esi + 0x84], edx
mov edx, dword [esi + 0x58]
mov edi, dword [esi + 0xc]
test ch, ch
mov dword [esi + 0x50], edx
mov edx, dword [esi + 0x50]
lea edx, [edx + edi*2]
mov edi, dword [esi + 0x88]
mov dword [esi + 0xc], edx
lea edx, [esi + edi*2 + 0x58]
lea edi, [esi + 0x58]
cmovs edx, dword [esi + 0xc]
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0x50]
cmovns edx, edi
mov edi, dword [esi + 0x84]
add ebx, ebx
mov dword [esi + 0x50], edx
mov edx, dword [esi + 0x50]
lea edx, [edx + edi*2]
sub edx, ebx
cmp edx, dword [esi + 0xc]
je 0x416f2a
mov ebx, dword [esi + 0x68]
movzx edi, word [edx]
cmp di, word [ebx]
jne 0x416f94
add edx, 2
add ebx, 2
cmp edx, dword [esi + 0xc]
jne 0x416f17
mov ebx, dword [esi + 4]
jmp 0x416fbf
xor edx, edx
test bl, bl
je 0x417162
jmp 0x417559
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x417202
movzx eax, word [eax]
jmp 0x41720a
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
movzx eax, ax
mov edx, dword [ecx]
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x417559
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x417081
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x417086
mov ebx, dword [esi + 0x68]
jmp 0x416fbf
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x416fae
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x416fb6
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ebx, dword [esi + 4]
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
add ebx, 2
test cl, cl
jns 0x416fc8
mov ecx, dword [esi + 0x1c]
jmp 0x416fce
movzx ecx, cl
lea eax, [esi + 0x18]
lea eax, [eax + ecx*2]
cmp ebx, eax
je 0x417049
mov ecx, dword [ebp + 8]
mov dword [esi + 0x230], 1
mov dword [esi + 4], ebx
call fcn.00418ff4
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
mov edx, eax
test ecx, ecx
je 0x41701e
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x417002
movzx eax, word [eax]
jmp 0x417012
mov eax, dword [ecx]
mov byte [esi + 0xc], dl
call dword [eax + 0x20]
mov dl, byte [esi + 0xc]
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x41701e
test dl, dl
jne 0x417024
jmp 0x41704b
xor ecx, ecx
test dl, dl
jne 0x41704b
mov eax, dword [ebp + 8]
mov dword [esi], ecx
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x417038
movzx eax, word [eax]
jmp 0x417040
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, dword [esi + 4]
cmp ax, word [ebx]
je 0x416f99
mov ecx, dword [esi]
bt dword [ebp + 0x18], 9
mov edi, dword [esi + 0x10]
jae case.default.0x416bbe
movzx eax, byte [esi + 0x23]
lea edx, [esi + 0x18]
test al, al
jns 0x417066
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
lea eax, [edx + eax*2]
cmp ebx, eax
mov eax, dword [esi + 8]
je 0x417441
jmp 0x417559
mov eax, dword [esi + 8]
jmp 0x417441
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x58]
push eax
call fcn.0041acc2
mov ecx, dword [ebp + 8]
call fcn.00418ff4
mov ecx, dword [esi]
mov edx, eax
test ecx, ecx
je 0x4170c8
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4170af
movzx eax, word [eax]
jmp 0x4170bc
mov eax, dword [ecx]
mov byte [esi + 4], dl
call dword [eax + 0x20]
mov dl, byte [esi + 4]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x4170c8
test dl, dl
jne 0x4170ce
jmp 0x41712e
xor ecx, ecx
test dl, dl
jne 0x41712e
mov eax, dword [ebp + 8]
mov dword [esi], ecx
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4170e2
movzx eax, word [eax]
jmp 0x4170e7
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
movzx eax, ax
mov edx, dword [ecx]
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x417127
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x417111
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x417116
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x58]
push eax
call fcn.0041acc2
jmp 0x417092
mov eax, dword [esi + 8]
mov ecx, dword [esi]
jmp 0x417131
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x10]
jmp 0x417441
mov eax, dword [edx]
mov ecx, edx
mov byte [esi + 4], bl
call dword [eax + 0x20]
mov bl, byte [esi + 4]
mov edx, dword [esi]
cmp ax, 0xffff
mov ecx, 0
sete al
cmove edx, ecx
xor bl, al
cmp bl, 1
jne 0x417559
mov eax, dword [ebp + 8]
mov dword [esi], edx
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x417176
movzx eax, word [eax]
jmp 0x41717b
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp ax, word [esi + 0x76]
jne 0x417559
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x417339
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41733f
cmp edi, eax
je 0x41723c
movzx eax, word [edi]
jmp 0x417244
mov eax, dword [ecx]
call dword [eax + 0x20]
mov word [esi + 4], ax
mov eax, dword [ebp + 8]
mov dl, byte [esi + 0x43]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
mov edi, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
test dl, dl
lea ebx, [esi + 0x38]
jns 0x4171d4
mov ebx, dword [esi + 0x38]
movzx eax, word [esi + 4]
cmp ax, word [ebx]
jne 0x4171f1
cmp edi, dword [esi + 0xc]
je 0x41727d
add edi, 2
mov dword [ecx + 0xc], edi
jmp 0x417317
cmp edi, dword [esi + 0xc]
je 0x417287
movzx eax, word [edi]
jmp 0x41728c
mov eax, dword [ecx]
call dword [eax + 0x20]
mov bl, byte [esi + 0x33]
test bl, bl
lea ecx, [esi + 0x28]
jns 0x417214
mov ecx, dword [esi + 0x28]
cmp ax, word [ecx]
mov edi, dword [esi + 0x10]
jne 0x416bdc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4172e1
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x4172e9
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x43]
test dl, dl
lea ecx, [esi + 0x38]
jns 0x41724e
mov ecx, dword [esi + 0x38]
cmp ax, word [ecx]
mov edi, dword [esi + 0x10]
jne 0x417272
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41730f
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x417317
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
jmp 0x416bdc
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x417314
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x33]
lea ecx, [esi + 0x28]
test dl, dl
jns 0x417299
mov ecx, dword [esi + 0x28]
cmp ax, word [ecx]
jne 0x417559
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4172b7
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x4172bf
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x33]
mov eax, dword [ebp + 0x20]
test dl, dl
mov byte [eax], 1
jns 0x4172ce
mov eax, dword [esi + 0x2c]
jmp 0x4172d1
movzx eax, dl
cmp eax, 1
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edi, dword [esi + 0x10]
lea edx, [esi + 0x28]
jmp 0x417331
mov eax, dword [ecx]
call dword [eax + 0x24]
mov bl, byte [esi + 0x33]
mov eax, dword [ebp + 0x20]
test bl, bl
mov byte [eax], 1
jns 0x4172f8
mov eax, dword [esi + 0x2c]
jmp 0x4172fb
movzx eax, bl
cmp eax, 1
mov eax, dword [esi + 8]
lea ecx, [esi + 0x28]
mov edi, dword [esi + 0x10]
cmova eax, ecx
jmp 0x416bdf
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x43]
test dl, dl
jns 0x417320
mov eax, dword [esi + 0x3c]
jmp 0x417323
movzx eax, dl
cmp eax, 1
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edi, dword [esi + 0x10]
lea edx, [esi + 0x38]
cmova eax, edx
jmp 0x417441
add eax, 2
mov dword [ecx + 0xc], eax
cmp dword [esi + 0x6c], 0
jle 0x417429
mov ecx, dword [ebp + 8]
call fcn.00418ff4
mov ecx, dword [esi]
mov ebx, eax
test ecx, ecx
je 0x417366
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x417375
movzx eax, word [eax]
jmp 0x417382
test bl, bl
mov dword [esi], 0
je 0x41739c
jmp 0x417559
mov eax, dword [ecx]
mov byte [esi + 4], bl
call dword [eax + 0x20]
mov bl, byte [esi + 4]
mov ecx, dword [esi]
xor edx, edx
cmp ax, 0xffff
sete al
je 0x41738f
mov edx, ecx
xor bl, al
mov dword [esi], edx
cmp bl, 1
jne 0x417559
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4173ae
movzx eax, word [eax]
jmp 0x4173b3
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
movzx eax, ax
mov edx, dword [ecx]
push eax
push 4
call dword [edx + 0xc]
test al, al
je 0x417559
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x30]
jne 0x4173e5
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
call fcn.00417860
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4173f7
movzx eax, word [eax]
jmp 0x4173fc
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x2c]
mov edi, ecx
mov ecx, dword [ecx]
lea edx, [ecx + 2]
mov dword [edi], edx
mov word [ecx], ax
mov eax, dword [ebp + 8]
dec dword [esi + 0x6c]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x417339
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41733f
mov ecx, dword [esi]
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
mov edi, dword [esi + 0x10]
mov eax, dword [eax]
cmp eax, dword [edx]
mov eax, dword [esi + 8]
je 0x417559
inc edi
cmp edi, 3
mov dword [esi + 8], eax
jbe 0x416b56
cmp dword [esi + 8], 0
mov dword [esi], ecx
je 0x41752c
xor edi, edi
inc edi
mov ecx, dword [esi + 8]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x41746b
mov eax, dword [ecx + 4]
cmp edi, eax
jae 0x41752c
mov ecx, dword [ebp + 8]
mov dword [esi + 0x230], 1
mov dword [esi + 4], edi
call fcn.00418ff4
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, eax
test ecx, ecx
je 0x4174a0
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4174ab
movzx eax, word [eax]
jmp 0x4174bb
xor edx, edx
test bl, bl
je 0x4174d3
jmp 0x417559
mov eax, dword [ecx]
mov byte [esi + 0xc], bl
call dword [eax + 0x20]
mov bl, byte [esi + 0xc]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
xor edx, edx
cmp ax, 0xffff
sete al
je 0x4174c8
mov edx, ecx
xor bl, al
cmp bl, 1
jne 0x417559
mov eax, dword [ebp + 8]
mov dword [esi], edx
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4174e7
movzx eax, word [eax]
jmp 0x4174ef
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xb], 0
jns 0x4174fd
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
cmp ax, word [ecx + edi*2]
jne 0x417559
mov eax, dword [ebp + 8]
inc edi
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41751c
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41745d
mov eax, dword [ecx]
mov dword [esi + 4], edi
call dword [eax + 0x24]
mov edi, dword [esi + 4]
jmp 0x41745d
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x14]
mov bl, 1
cmp eax, ecx
je 0x417561
lea ebx, [esi + 0x8c]
xor edi, edi
mov dword [ebx], edi
push ebx
push ecx
push eax
lea eax, [esi + 0x78]
push eax
call fcn.0040886a
add esp, 0x10
cmp dword [ebx], edi
je 0x4175f0
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
or byte [eax], 4
cmp byte [esi + 0x63], 0
jns 0x417572
push dword [esi + 0x58]
call fcn.004591e8
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x417583
push dword [esi + 0x28]
call fcn.004591e8
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x417594
push dword [esi + 0x38]
call fcn.004591e8
add esp, 4
cmp byte [esi + 0x23], 0
jns 0x4175a5
push dword [esi + 0x18]
call fcn.004591e8
add esp, 4
cmp byte [esi + 0x83], 0
jns 0x4175b9
push dword [esi + 0x78]
call fcn.004591e8
add esp, 4
mov eax, dword [esi + 0x48]
xor ecx, ecx
mov dword [esi + 0x48], ecx
test eax, eax
je 0x4175da
mov dword [esi + 0x230], 0
push eax
mov dword [esi], ebx
call dword [esi + 0x4c]
mov ebx, dword [esi]
add esp, 4
mov eax, dword [esi + 0x228]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 1
jmp 0x417561