Function at 0x4114a0
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], 0x418fa0
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.00401980
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.004122ee
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 0x411e6b
mov dword [esi + 0xc], edi
mov dword [esi], ecx
mov dword [esi + 0x238], 1
mov ecx, dword [ebp + 8]
call fcn.004185e4
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4115d7
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4115b8
movzx eax, word [eax]
jmp 0x4115c5
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 0x4115d7
test dl, dl
mov edi, dword [esi + 0xc]
jne 0x4115e4
jmp 0x411e6b
xor ecx, ecx
test dl, dl
mov edi, dword [esi + 0xc]
jne 0x411e6b
movsx eax, byte [esi + edi + 0x70]
cmp eax, 4
ja case.default.0x4115f4
mov dword [esi], ecx
jmp dword [eax*4 + 0x4120a4]
cmp edi, 3
jne 0x411938
jmp 0x41167f
cmp edi, 3
jne 0x41181a
mov eax, dword [esi + 8]
jmp 0x411e3c
cmp edi, 2
jb 0x411833
cmp dword [esi + 8], 0
jne 0x411833
cmp edi, 2
sete al
cmp byte [esi + 0x73], 0
setne cl
and cl, al
or cl, byte [esi + 0x90]
cmp cl, 1
jne 0x4118c5
mov cl, byte [esi + 0x23]
test cl, cl
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x18]
cmovs ebx, eax
jmp 0x411849
movzx edx, byte [esi + 0x43]
mov eax, edx
test dl, dl
jns 0x411668
mov eax, dword [esi + 0x3c]
movzx ebx, byte [esi + 0x33]
mov edi, ebx
test bl, bl
jns 0x411675
mov edi, dword [esi + 0x2c]
mov ecx, eax
add ecx, edi
jne 0x41189a
mov eax, dword [esi + 8]
mov ecx, dword [esi]
jmp 0x4119d4
mov dword [esi + 4], 0
mov ecx, dword [ebp + 8]
call fcn.004185e4
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4116c9
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4116ad
movzx eax, word [eax]
jmp 0x4116ba
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 0x4116c9
test dl, dl
jne 0x4116d3
jmp 0x4117ad
xor ecx, ecx
test dl, dl
jne 0x4117ad
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4116e7
movzx edx, word [eax]
jmp 0x4116ee
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 0x411736
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
cmp eax, dword [ebp + 0x30]
jne 0x411723
lea eax, [ebp + 0x30]
push eax
push ecx
push dword [ebp + 0x28]
call fcn.0041249e
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 0x41178b
movzx eax, byte [esi + 0x83]
test al, al
jns 0x411744
mov eax, dword [esi + 0x7c]
movzx ecx, word [esi + 0x10]
cmp cx, word [esi + 0x74]
mov ecx, dword [esi]
jne 0x4117ad
cmp dword [esi + 4], 0
je 0x4117ad
test eax, eax
je 0x4117ad
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x54]
jne 0x411779
lea eax, [esi + 0x54]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.0041107c
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 0x4117a3
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x411690
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x411690
cmp dword [esi + 4], 0
je 0x4117e6
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x48], eax
je 0x4117e6
cmp eax, dword [esi + 0x54]
jne 0x4117db
mov dword [esi], ecx
lea eax, [esi + 0x54]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.0041107c
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 0x411b2d
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
call fcn.004185e4
mov ebx, eax
mov edx, dword [esi]
test edx, edx
je 0x4118cc
mov eax, dword [edx + 0xc]
cmp eax, dword [edx + 0x10]
je 0x4119dc
movzx eax, word [eax]
jmp 0x4119eb
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4118db
movzx eax, word [eax]
jmp 0x4118e0
mov cl, byte [esi + 0x23]
test cl, cl
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x18]
cmovs ebx, eax
test edi, edi
je 0x411be5
lea edx, [esi + 0x70]
cmp byte [edi + edx - 1], 1
ja 0x411be5
test cl, cl
jns 0x411862
mov edx, dword [esi + 0x1c]
mov edi, eax
jmp 0x411868
movzx edx, cl
lea edi, [esi + 0x18]
lea edx, [edi + edx*2]
cmp edx, ebx
mov dword [esi + 4], ebx
je 0x411b4e
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 0x411b48
add ebx, 2
mov cl, byte [esi + 0x23]
mov eax, dword [esi + 0x18]
jmp 0x411857
test eax, eax
je 0x41190e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
test edi, edi
je 0x411cd2
cmp eax, ebx
je 0x411ce2
movzx eax, word [eax]
mov word [esi + 0x10], ax
jmp 0x411cee
xor eax, eax
jmp 0x411e3c
xor edx, edx
test bl, bl
je 0x411a02
jmp 0x411f72
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 0x411f72
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411927
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x41192c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411d34
movzx eax, word [eax]
jmp 0x411d3c
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x58]
push eax
call fcn.0041a2c2
mov ecx, dword [ebp + 8]
call fcn.004185e4
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x41196e
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411955
movzx eax, word [eax]
jmp 0x411962
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 0x41196e
test dl, dl
jne 0x411974
jmp 0x4119d1
xor ecx, ecx
test dl, dl
jne 0x4119d1
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411988
movzx eax, word [eax]
jmp 0x41198d
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 0x41167f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4119bb
lea edx, [eax + 2]
mov dword [ecx + 0xc], edx
movzx eax, word [eax]
jmp 0x4119c0
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx eax, ax
lea ecx, [esi + 0x58]
push eax
call fcn.0041a2c2
jmp 0x411938
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
jmp 0x411e65
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 0x411f72
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
mov dword [esi], edx
je 0x411a16
movzx eax, word [eax]
jmp 0x411a1b
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp ax, word [esi + 0x76]
jne 0x411f72
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411b21
add eax, 2
mov dword [ecx + 0xc], eax
cmp dword [esi + 0x6c], 0
jle 0x411b2b
mov ecx, dword [ebp + 8]
call fcn.004185e4
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x411a63
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411a72
movzx eax, word [eax]
jmp 0x411a7f
mov dword [esi], 0
test bl, bl
je 0x411a96
jmp 0x411f72
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 0x411a8c
mov edx, ecx
mov dword [esi], edx
cmp bl, al
je 0x411f72
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411aa8
movzx eax, word [eax]
jmp 0x411aad
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 0x411f72
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x30]
jne 0x411adf
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
call fcn.0041249e
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411af1
movzx eax, word [eax]
jmp 0x411af6
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 0x411a36
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x411a3c
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x411a3c
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 0x411e65
jmp 0x411f72
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 0x411b80
mov ebx, dword [esi + 0x68]
jmp 0x411be5
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 0x411be2
mov ebx, dword [esi + 0x68]
movzx edi, word [edx]
cmp di, word [ebx]
jne 0x411b7b
add edx, 2
add ebx, 2
cmp edx, dword [esi + 0x10]
jne 0x411bcf
mov ebx, dword [esi + 4]
test cl, cl
jns 0x411bee
mov ecx, dword [esi + 0x1c]
jmp 0x411bf4
movzx ecx, cl
lea eax, [esi + 0x18]
lea eax, [eax + ecx*2]
cmp ebx, eax
je 0x411c9a
mov dword [esi + 0x238], 1
mov ecx, dword [ebp + 8]
mov dword [esi + 4], ebx
call fcn.004185e4
mov ebx, dword [esi + 4]
mov edx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x411c48
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411c2c
movzx eax, word [eax]
jmp 0x411c3c
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 0x411c48
test dl, dl
jne 0x411c4e
jmp 0x411c9c
xor ecx, ecx
test dl, dl
jne 0x411c9c
mov dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411c62
movzx eax, word [eax]
jmp 0x411c6a
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, dword [esi + 4]
cmp ax, word [ebx]
jne 0x411c9a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411c84
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x411c8c
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 0x411be5
mov ecx, dword [esi]
bt dword [ebp + 0x18], 9
mov edi, dword [esi + 0xc]
jb 0x411cae
mov eax, dword [esi + 8]
jmp 0x411e65
movzx eax, byte [esi + 0x23]
lea edx, [esi + 0x18]
test al, al
jns 0x411cbf
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
lea eax, [edx + eax*2]
cmp ebx, eax
mov eax, dword [esi + 8]
je 0x411e65
jmp 0x411f72
cmp eax, ebx
je 0x411d6e
movzx eax, word [eax]
jmp 0x411d76
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 0x411cf8
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 0x411d23
cmp edi, dword [esi + 4]
je 0x411daf
add edi, 2
mov dword [ecx + 0xc], edi
jmp 0x411e48
cmp edi, dword [esi + 4]
je 0x411db9
movzx eax, word [edi]
jmp 0x411dbe
mov eax, dword [ecx]
call dword [eax + 0x20]
mov bl, byte [esi + 0x33]
lea ecx, [esi + 0x28]
test bl, bl
jns 0x411d46
mov ecx, dword [esi + 0x28]
cmp ax, word [ecx]
mov edi, dword [esi + 0xc]
jne 0x41160f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411e13
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x411e1b
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x43]
lea ecx, [esi + 0x38]
test dl, dl
jns 0x411d80
mov ecx, dword [esi + 0x38]
cmp ax, word [ecx]
mov edi, dword [esi + 0xc]
jne 0x411da4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411e40
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x411e48
mov eax, dword [ebp + 0x20]
mov byte [eax], 1
jmp 0x41160f
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x411e45
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dl, byte [esi + 0x33]
lea ecx, [esi + 0x28]
test dl, dl
jns 0x411dcb
mov ecx, dword [esi + 0x28]
cmp ax, word [ecx]
jne 0x411f72
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411de9
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x411df1
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 0x411e00
mov eax, dword [esi + 0x2c]
jmp 0x411e03
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 0x411e62
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 0x411e2a
mov eax, dword [esi + 0x2c]
jmp 0x411e2d
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 0x411e65
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dl, byte [esi + 0x43]
test dl, dl
jns 0x411e51
mov eax, dword [esi + 0x3c]
jmp 0x411e54
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 0x411580
mov dword [esi], ecx
cmp dword [esi + 8], 0
je 0x411f46
xor edi, edi
inc edi
mov ecx, dword [esi + 8]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x411e88
mov eax, dword [ecx + 4]
cmp edi, eax
jae 0x411f46
mov dword [esi + 0x238], 1
mov ecx, dword [ebp + 8]
mov dword [esi + 4], edi
call fcn.004185e4
mov edi, dword [esi + 4]
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x411ebd
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411ec8
movzx eax, word [eax]
jmp 0x411ed8
xor edx, edx
test bl, bl
je 0x411eed
jmp 0x411f72
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 0x411ee5
mov edx, ecx
cmp bl, al
je 0x411f72
mov dword [esi], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411f01
movzx eax, word [eax]
jmp 0x411f09
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xb], 0
jns 0x411f17
mov ecx, dword [esi + 8]
mov ecx, dword [ecx]
cmp ax, word [ecx + edi*2]
jne 0x411f72
inc edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x411f36
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x411e7a
mov eax, dword [ecx]
mov dword [esi + 4], edi
call dword [eax + 0x24]
mov edi, dword [esi + 4]
jmp 0x411e7a
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x14]
mov bl, 1
cmp eax, ecx
je 0x411f7a
lea edi, [esi + 0x94]
mov dword [edi], 0
push edi
push ecx
push eax
lea eax, [esi + 0x78]
push eax
call fcn.004110f6
add esp, 0x10
cmp dword [edi], 0
je 0x411f7a
mov eax, dword [ebp + 0x1c]
or byte [eax], 4
xor ebx, ebx
cmp byte [esi + 0x63], 0
jns 0x411f8b
push dword [esi + 0x58]
call fcn.00468d46
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x411f9c
push dword [esi + 0x28]
call fcn.00468d46
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x411fad
push dword [esi + 0x38]
call fcn.00468d46
add esp, 4
cmp byte [esi + 0x23], 0
jns 0x411fbe
push dword [esi + 0x18]
call fcn.00468d46
add esp, 4
cmp byte [esi + 0x83], 0
jns 0x411fd2
push dword [esi + 0x78]
call fcn.00468d46
add esp, 4
mov eax, dword [esi + 0x48]
mov dword [esi + 0x48], 0
test eax, eax
je 0x411ff5
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