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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x240
mov esi, esp
mov dword [esi + 0x228], ebp
lea eax, [esi + 0x230]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x4189a0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x98]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], fcn.00401630
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x228]
mov dword [esi + 0x54], ecx
xor edx, edx
lea ecx, [esi + 0x78]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov dword [ecx + 8], edx
lea edi, [esi + 0x18]
mov dword [edi + 4], edx
mov dword [edi], edx
mov dword [edi + 8], edx
mov dword [eax + 8], 1
lea ecx, [esi + 0x38]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov dword [ecx + 8], edx
lea eax, [esi + 0x28]
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax + 8], edx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x58], edx
mov dword [esi + 0x60], edx
mov bl, byte [ebp + 0x10]
movzx ebx, bl
lea edx, [esi + 0x6c]
push edx
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 ebx
call fcn.00411cee
add esp, 0x28
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ecx], eax
shr edx, 9
and edx, 1
mov dword [esi + 0x90], edx
mov ecx, dword [ebp + 0xc]
xor edi, edi
xor eax, eax
mov dword [esi + 8], eax
cmp edi, 3
ja 0x41186b
mov dword [esi + 0xc], edi
mov dword [esi], ecx
mov dword [esi + 0x238], 1
mov ecx, dword [ebp + 8]
call fcn.00417fe4
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x410fd7
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x410fb8
movzx eax, word [eax]
jmp 0x410fc5
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 0x410fd7
test dl, dl
mov edi, dword [esi + 0xc]
jne 0x410fe4
jmp 0x41186b
xor ecx, ecx
test dl, dl
mov edi, dword [esi + 0xc]
jne 0x41186b
movsx eax, byte [esi + edi + 0x70]
cmp eax, 4
ja case.default.0x410ff4
mov dword [esi], ecx
jmp dword [eax*4 + 0x411aa4]
cmp edi, 3
jne 0x411338
jmp 0x41107f
cmp edi, 3
jne 0x41121a
mov eax, dword [esi + 8]
jmp 0x41183c
cmp edi, 2
jb 0x411233
cmp dword [esi + 8], 0
jne 0x411233
cmp edi, 2
sete al
cmp byte [esi + 0x73], 0
setne cl
and cl, al
or cl, byte [esi + 0x90]
cmp cl, 1
jne 0x4112c5
mov cl, byte [esi + 0x23]
test cl, cl
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x18]
cmovs ebx, eax
jmp 0x411249
movzx edx, byte [esi + 0x43]
mov eax, edx
test dl, dl
jns 0x411068
mov eax, dword [esi + 0x3c]
movzx ebx, byte [esi + 0x33]
mov edi, ebx
test bl, bl
jns 0x411075
mov edi, dword [esi + 0x2c]
mov ecx, eax
add ecx, edi
jne 0x41129a
mov eax, dword [esi + 8]
mov ecx, dword [esi]
jmp 0x4113d4
mov dword [esi + 4], 0
mov ecx, dword [ebp + 8]
call fcn.00417fe4
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4110c9
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4110ad
movzx eax, word [eax]
jmp 0x4110ba
mov eax, dword [ecx]
mov byte [esi + 0x10], dl
call dword [eax + 0x20]
mov dl, byte [esi + 0x10]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x4110c9
test dl, dl
jne 0x4110d3
jmp 0x4111ad
xor ecx, ecx
test dl, dl
jne 0x4111ad
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4110e7
movzx edx, word [eax]
jmp 0x4110ee
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edx, eax
mov ecx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov word [esi + 0x10], dx
movzx edx, dx
push edx
push 4
call dword [eax + 0xc]
test al, al
je 0x411136
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
cmp eax, dword [ebp + 0x30]
jne 0x411123
lea eax, [ebp + 0x30]
push eax
push ecx
push dword [ebp + 0x28]
call fcn.00411e9e
add esp, 0xc
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
mov edx, ecx
lea ecx, [eax + 2]
mov dword [edx], ecx
movzx ecx, word [esi + 0x10]
mov word [eax], cx
inc dword [esi + 4]
jmp 0x41118b
movzx eax, byte [esi + 0x83]
test al, al
jns 0x411144
mov eax, dword [esi + 0x7c]
movzx ecx, word [esi + 0x10]
cmp cx, word [esi + 0x74]
mov ecx, dword [esi]
jne 0x4111ad
cmp dword [esi + 4], 0
je 0x4111ad
test eax, eax
je 0x4111ad
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x54]
jne 0x411179
lea eax, [esi + 0x54]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.00410a7c
add esp, 0xc
mov eax, dword [esi + 0x14]
lea ecx, [eax + 4]
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4111a3
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x411090
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x411090
cmp dword [esi + 4], 0
je 0x4111e6
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x48], eax
je 0x4111e6
cmp eax, dword [esi + 0x54]
jne 0x4111db
mov dword [esi], ecx
lea eax, [esi + 0x54]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.00410a7c
add esp, 0xc
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
lea edx, [eax + 4]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 4]
mov dword [eax], edx
cmp dword [esi + 0x6c], 0
jle 0x41152d
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
call fcn.00417fe4
mov ebx, eax
mov edx, dword [esi]
test edx, edx
je 0x4112cc
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
je 0x4113dc
movzx eax, word [eax]
jmp 0x4113eb
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4112db
movzx eax, word [eax]
jmp 0x4112e0
mov cl, byte [esi + 0x23]
test cl, cl
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x18]
cmovs ebx, eax
test edi, edi
je 0x4115e5
lea edx, [esi + 0x70]
cmp byte [edi + edx - 1], 1
ja 0x4115e5
test cl, cl
jns 0x411262
mov edx, dword [esi + 0x1c]
mov edi, eax
jmp 0x411268
movzx edx, cl
lea edi, [esi + 0x18]
lea edx, [edi + edx*2]
cmp edx, ebx
mov dword [esi + 4], ebx
je 0x41154e
movzx eax, word [ebx]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
push eax
push 8
call dword [edx + 0xc]
mov ebx, dword [esi + 4]
test al, al
je 0x411548
add ebx, 2
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
jmp 0x411257
test eax, eax
je 0x41130e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
test edi, edi
je 0x4116d2
cmp eax, ebx
je 0x4116e2
movzx eax, word [eax]
mov word [esi + 0x10], ax
jmp 0x4116ee
xor eax, eax
jmp 0x41183c
xor edx, edx
test bl, bl
je 0x411402
jmp 0x411972
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x411972
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411327
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x41132c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411734
movzx eax, word [eax]
jmp 0x41173c
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x58]
push eax
call fcn.00419cc2
mov ecx, dword [ebp + 8]
call fcn.00417fe4
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41136e
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411355
movzx eax, word [eax]
jmp 0x411362
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 0x41136e
test dl, dl
jne 0x411374
jmp 0x4113d1
xor ecx, ecx
test dl, dl
jne 0x4113d1
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411388
movzx eax, word [eax]
jmp 0x41138d
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x41107f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4113bb
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x4113c0
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x58]
push eax
call fcn.00419cc2
jmp 0x411338
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
jmp 0x411865
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
sete al
mov ecx, 0
cmove edx, ecx
cmp bl, al
je 0x411972
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
mov dword [esi], edx
je 0x411416
movzx eax, word [eax]
jmp 0x41141b
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp ax, word [esi + 0x76]
jne 0x411972
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411521
add eax, 2
mov dword [ecx + 0xc], eax
cmp dword [esi + 0x6c], 0
jle 0x41152b
mov ecx, dword [ebp + 8]
call fcn.00417fe4
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x411463
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411472
movzx eax, word [eax]
jmp 0x41147f
mov dword [esi], 0
test bl, bl
je 0x411496
jmp 0x411972
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 0x41148c
mov edx, ecx
mov dword [esi], edx
cmp bl, al
je 0x411972
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4114a8
movzx eax, word [eax]
jmp 0x4114ad
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 4
call dword [edx + 0xc]
test al, al
je 0x411972
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x30]
jne 0x4114df
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
call fcn.00411e9e
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4114f1
movzx eax, word [eax]
jmp 0x4114f6
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [ebp + 0x2c]
mov ecx, dword [edi]
lea edx, [ecx + 2]
mov dword [edi], edx
mov word [ecx], ax
dec dword [esi + 0x6c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x411436
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41143c
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41143c
mov ecx, dword [esi]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x28]
cmp eax, dword [edx]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
jne 0x411865
jmp 0x411972
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
test cl, cl
lea edx, [esi + 0x18]
cmovs edx, eax
mov dword [esi + 0x68], edx
sub ebx, edx
sar ebx, 1
mov ch, byte [esi + 0x63]
test ch, ch
mov edx, dword [esi + 0x5c]
mov dword [esi + 0x10], edx
movzx edx, ch
mov edi, edx
mov dword [esi + 0x8c], edx
cmovs edx, dword [esi + 0x10]
cmp ebx, edx
jbe 0x411580
mov ebx, dword [esi + 0x68]
jmp 0x4115e5
test ch, ch
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x58]
mov dword [esi + 0x50], edx
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x50]
lea edx, [edx + edi*2]
mov dword [esi + 0x10], edx
mov edi, dword [esi + 0x8c]
lea edx, [esi + edi*2 + 0x58]
cmovs edx, dword [esi + 0x10]
mov dword [esi + 0x10], edx
lea edi, [esi + 0x58]
mov edx, dword [esi + 0x50]
cmovns edx, edi
mov dword [esi + 0x50], edx
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 0x88]
lea edx, [edx + edi*2]
add ebx, ebx
sub edx, ebx
cmp edx, dword [esi + 0x10]
je 0x4115e2
mov ebx, dword [esi + 0x68]
movzx edi, word [edx]
cmp di, word [ebx]
jne 0x41157b
add edx, 2
add ebx, 2
cmp edx, dword [esi + 0x10]
jne 0x4115cf
mov ebx, dword [esi + 4]
test cl, cl
jns 0x4115ee
mov ecx, dword [esi + 0x1c]
jmp 0x4115f4
movzx ecx, cl
lea eax, [esi + 0x18]
lea eax, [eax + ecx*2]
cmp ebx, eax
je 0x41169a
mov dword [esi + 0x238], 1
mov ecx, dword [ebp + 8]
mov dword [esi + 4], ebx
call fcn.00417fe4
mov ebx, dword [esi + 4]
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x411648
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41162c
movzx eax, word [eax]
jmp 0x41163c
mov eax, dword [ecx]
mov byte [esi + 0x10], dl
call dword [eax + 0x20]
mov dl, byte [esi + 0x10]
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
cmp ax, 0xffff
je 0x411648
test dl, dl
jne 0x41164e
jmp 0x41169c
xor ecx, ecx
test dl, dl
jne 0x41169c
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411662
movzx eax, word [eax]
jmp 0x41166a
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, dword [esi + 4]
cmp ax, word [ebx]
jne 0x41169a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411684
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41168c
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ebx, dword [esi + 4]
add ebx, 2
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
jmp 0x4115e5
mov ecx, dword [esi]
bt dword [ebp + 0x18], 9
mov edi, dword [esi + 0xc]
jb 0x4116ae
mov eax, dword [esi + 8]
jmp 0x411865
movzx eax, byte [esi + 0x23]
lea edx, [esi + 0x18]
test al, al
jns 0x4116bf
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
lea eax, [edx + eax*2]
cmp ebx, eax
mov eax, dword [esi + 8]
je 0x411865
jmp 0x411972
cmp eax, ebx
je 0x41176e
movzx eax, word [eax]
jmp 0x411776
mov eax, dword [ecx]
call dword [eax + 0x20]
mov word [esi + 0x10], ax
mov dl, byte [esi + 0x43]
lea ebx, [esi + 0x38]
test dl, dl
jns 0x4116f8
mov ebx, dword [esi + 0x38]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esi + 4], eax
movzx eax, word [esi + 0x10]
cmp ax, word [ebx]
jne 0x411723
cmp edi, dword [esi + 4]
je 0x4117af
add edi, 2
mov dword [ecx + 0xc], edi
jmp 0x411848
cmp edi, dword [esi + 4]
je 0x4117b9
movzx eax, word [edi]
jmp 0x4117be
mov eax, dword [ecx]
call dword [eax + 0x20]
mov bl, byte [esi + 0x33]
lea ecx, [esi + 0x28]
test bl, bl
jns 0x411746
mov ecx, dword [esi + 0x28]
cmp ax, word [ecx]
mov edi, dword [esi + 0xc]
jne 0x41100f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411813
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41181b
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x43]
lea ecx, [esi + 0x38]
test dl, dl
jns 0x411780
mov ecx, dword [esi + 0x38]
cmp ax, word [ecx]
mov edi, dword [esi + 0xc]
jne 0x4117a4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411840
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x411848
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
jmp 0x41100f
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x411845
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x33]
lea ecx, [esi + 0x28]
test dl, dl
jns 0x4117cb
mov ecx, dword [esi + 0x28]
cmp ax, word [ecx]
jne 0x411972
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4117e9
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x4117f1
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x33]
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
test dl, dl
jns 0x411800
mov eax, dword [esi + 0x2c]
jmp 0x411803
movzx eax, dl
mov ecx, dword [esi]
mov edi, dword [esi + 0xc]
cmp eax, 1
mov eax, dword [esi + 8]
lea edx, [esi + 0x28]
jmp 0x411862
mov eax, dword [ecx]
call dword [eax + 0x24]
mov bl, byte [esi + 0x33]
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
test bl, bl
jns 0x41182a
mov eax, dword [esi + 0x2c]
jmp 0x41182d
movzx eax, bl
mov edi, dword [esi + 0xc]
cmp eax, 1
mov eax, dword [esi + 8]
lea ecx, [esi + 0x28]
cmova eax, ecx
mov ecx, dword [esi]
jmp 0x411865
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x43]
test dl, dl
jns 0x411851
mov eax, dword [esi + 0x3c]
jmp 0x411854
movzx eax, dl
mov ecx, dword [esi]
mov edi, dword [esi + 0xc]
cmp eax, 1
mov eax, dword [esi + 8]
lea edx, [esi + 0x38]
cmova eax, edx
inc edi
jmp 0x410f80
mov dword [esi], ecx
cmp dword [esi + 8], 0
je 0x411946
xor edi, edi
inc edi
mov ecx, dword [esi + 8]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x411888
mov eax, dword [ecx + 4]
cmp edi, eax
jae 0x411946
mov dword [esi + 0x238], 1
mov ecx, dword [ebp + 8]
mov dword [esi + 4], edi
call fcn.00417fe4
mov edi, dword [esi + 4]
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4118bd
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4118c8
movzx eax, word [eax]
jmp 0x4118d8
xor edx, edx
test bl, bl
je 0x4118ed
jmp 0x411972
mov eax, dword [ecx]
mov byte [esi + 0x10], bl
call dword [eax + 0x20]
mov bl, byte [esi + 0x10]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
xor edx, edx
cmp ax, 0xffff
sete al
je 0x4118e5
mov edx, ecx
cmp bl, al
je 0x411972
mov dword [esi], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411901
movzx eax, word [eax]
jmp 0x411909
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xb], 0
jns 0x411917
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
cmp ax, word [ecx + edi*2]
jne 0x411972
inc edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411936
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41187a
mov eax, dword [ecx]
mov dword [esi + 4], edi
call dword [eax + 0x24]
mov edi, dword [esi + 4]
jmp 0x41187a
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x14]
mov bl, 1
cmp eax, ecx
je 0x41197a
lea edi, [esi + 0x94]
mov dword [edi], 0
push edi
push ecx
push eax
lea eax, [esi + 0x78]
push eax
call fcn.00410af6
add esp, 0x10
cmp dword [edi], 0
je 0x41197a
mov eax, dword [ebp + 0x1c]
or byte [eax], 4
xor ebx, ebx
cmp byte [esi + 0x63], 0
jns 0x41198b
push dword [esi + 0x58]
call fcn.0044d09c
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x41199c
push dword [esi + 0x28]
call fcn.0044d09c
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x4119ad
push dword [esi + 0x38]
call fcn.0044d09c
add esp, 4
cmp byte [esi + 0x23], 0
jns 0x4119be
push dword [esi + 0x18]
call fcn.0044d09c
add esp, 4
cmp byte [esi + 0x83], 0
jns 0x4119d2
push dword [esi + 0x78]
call fcn.0044d09c
add esp, 4
mov eax, dword [esi + 0x48]
mov dword [esi + 0x48], 0
test eax, eax
je 0x4119f5
mov dword [esi + 0x238], 0
push eax
mov dword [esi], ebx
call dword [esi + 0x4c]
mov ebx, dword [esi]
add esp, 4
mov eax, dword [esi + 0x230]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret