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

Disassembly:
mov ecx, dword [0x50d234]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x41f820
sub esp, 0xb0
mov eax, dword [0x50d234]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x7c]
test edx, edx
jne 0x41eaa2
mov edx, dword [ecx + 0x6c]
test edx, edx
jne 0x41eaa2
cmp dword [ecx], eax
jne 0x41f809
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax]
movzx edx, byte [esp + 0xb8]
test dl, dl
jne 0x41eabd
mov dword [eax], 0
mov dword [esp + 0x30], ecx
test byte [ecx], al
lea eax, [ecx + 0x3f]
mov dword [esp + 0xac], eax
mov edx, dword [0x4f5230]
mov dword [esp + 0x28], edx
nop
mov dword [esp], eax
call fcn.00466f80
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x41f800
mov ecx, dword [esp + 0x28]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x30]
cmp dword [ebx + 0x34], edx
jne 0x41f74f
mov dword [esp + 0x64], edx
movzx eax, byte [0x4ef850]
test al, al
jne 0x41eb17
xor eax, eax
xor ebp, ebp
jmp 0x41eb33
call fcn.004536e0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x30]
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x41eb6d
mov dword [esp + 0x1c], eax
mov dword [esp + 0x7c], ebp
mov ecx, dword [ebx + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], eax
shl ecx, 0xd
mov dword [esp + 8], ecx
call fcn.00453f70
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.00453810
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x50]
mov dword [esp + 0xa8], ecx
lea edx, [0x4f5248]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.004671b0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x60], ecx
movzx edx, byte [eax + 0x3e]
mov byte [esp + 0x17], dl
mov ebx, dword [eax + 0x44]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ecx
jmp 0x41ebd0
mov eax, ebp
mov ecx, dword [esp + 0x60]
movzx edx, byte [esp + 0x17]
mov ebp, dword [esp + 0x8c]
test ebp, ebp
je 0x41ecc8
test ebx, ebx
je 0x41f74a
movzx esi, word [ebp + 4]
mov edi, eax
mov eax, esi
xor edx, edx
div ebx
mov dword [esp + 0x34], eax
mov edx, eax
imul eax, ebx
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x4c], ecx
test byte [ecx], al
shr edx, 3
mov dword [esp + 0x38], edx
movzx ecx, byte [ecx + edx]
mov byte [esp + 0x19], cl
mov edx, dword [esp + 0x34]
and edx, 7
mov ecx, edx
mov edi, 1
shl edi, cl
lea edx, [eax + esi]
nop
movzx esi, byte [esp + 0x19]
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
je 0x41ec89
cmp byte [ebp + 6], 4
je 0x41ec54
nop
mov dword [esp + 0x88], ebp
mov edx, dword [ebp]
mov dword [esp + 0x8c], edx
jmp 0x41ec80
mov eax, dword [ebp]
nop
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
mov byte [ebp + 9], 1
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00423420
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
jmp 0x41ebc5
lea edx, [eax + ebx]
jmp 0x41f665
or esi, edi
nop
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
xchg esi, eax
mov byte [edi + ebp], al
xchg esi, eax
mov eax, 1
jmp 0x41ecae
xor eax, eax
jmp 0x41ecae
xor eax, eax
mov dword [esp + 0x48], edx
test al, al
je 0x41ecbf
mov ebp, dword [esp + 0x30]
jmp 0x41f6d8
mov ebp, dword [esp + 0x30]
jmp 0x41f6bc
test ecx, ecx
je 0x41ece8
mov ebp, dword [eax + 0x50]
test ebp, ebp
jne 0x41ece8
mov dword [esp], eax
call fcn.004231b0
mov eax, dword [esp + 0x30]
movzx edx, byte [esp + 0x17]
mov ebx, dword [esp + 0x2c]
movzx ebp, byte [0x4ef851]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41ecff
mov ebp, dword [0x50d4c4]
test ebp, ebp
je 0x41ed47
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
mov dword [esp + 0x90], ebp
mov byte [esp + 0x94], 1
mov dword [esp + 0x98], 0
mov ebp, dword [eax + 0x28]
test byte [ebp], al
nop
mov dword [esp + 0x9c], ebp
mov byte [esp + 0xa0], 1
mov dword [esp + 0xa4], 0
xor ecx, ecx
jmp 0x41f4dc
movzx ebp, word [eax + 0x18]
cmp word [eax + 0x1a], bp
jbe 0x41eda7
movzx ecx, bp
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
mov esi, ecx
shr esi, 3
movzx ebp, byte [ebp + esi]
mov edi, dword [eax + 0x28]
test byte [edi], al
movzx edi, byte [edi + esi]
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebp
and ecx, 7
xchg edi, eax
shr al, cl
xchg edi, eax
xchg edi, eax
test al, al
xchg edi, eax
je 0x41ed9f
mov dword [esp + 0x3c], esi
mov dword [esp], eax
call fcn.0041fad0
mov eax, dword [esp + 0x30]
movzx edx, byte [esp + 0x17]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
lea ecx, [esi + 1]
jmp 0x41f480
mov dword [esp], eax
call fcn.0040da90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
movzx edx, word [ecx + 0x3c]
mov ebx, edx
sub edx, eax
cmp ax, bx
ja 0x41f395
mov dword [esp + 0x5c], eax
mov word [esp + 0x1a], dx
mov word [ecx + 0x3c], ax
mov word [ecx + 0x18], 0
mov word [ecx + 0x1c], 0
movzx ebx, byte [0x4ef850]
test bl, bl
je 0x41ee0a
mov ebx, dword [0x50d234]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x58]
movzx ebp, dx
imul ebp, dword [ecx + 0x44]
add dword [ebx + 0x93c], ebp
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
movzx eax, word [ecx + 0x1a]
mov dword [esp], eax
call fcn.004236b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x41ee3a
mov dword [esp], ecx
call fcn.004307c0
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov word [esp + 4], 0
call fcn.0040d210
nop
mov eax, dword [esp + 0xac]
mov dword [esp], eax
call fcn.00466f80
movzx eax, byte [esp + 4]
cmp al, 1
jne 0x41f38c
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x34]
mov ebx, dword [esp + 0x64]
cmp edx, ebx
jne 0x41f2db
mov eax, dword [esp + 0x28]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x41f2c5
lea ebx, [eax + 3]
cmp edx, ebx
je 0x41f2c5
lea edx, [ecx + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00467250
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax + 0x41]
test cl, cl
je 0x41ef71
movzx edx, byte [esp + 0xb8]
test dl, dl
jne 0x41f2af
mov edx, dword [esp + 0x5c]
test dx, dx
jbe 0x41ef17
movzx edx, byte [esp + 0x17]
movzx edx, dl
cmp edx, 0x88
jae 0x41f2a3
shl edx, 7
lea ecx, [0x4f5310]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x28]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042a3f0
mov byte [esp + 0xbc], 0
add esp, 0xb0
ret
mov ecx, dword [eax + 0x10]
neg ecx
lea edx, [0x4f5240]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004670f0
nop
nop
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.004672e0
lea eax, [0x41fa30]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
mov dword [esp], eax
call fcn.00461770
mov byte [esp + 0xbc], 0
add esp, 0xb0
ret
movzx edx, byte [esp + 0x17]
mov ebx, edx
shr dl, 1
test dl, dl
je 0x41f0f4
movzx ebp, word [esp + 0x1a]
test bp, bp
ja 0x41ef9b
movzx edx, byte [esp + 0xb8]
test dl, dl
jmp 0x41f033
mov byte [esp + 0x18], dl
mov byte [eax + 0x40], 1
lea ecx, [0x50e9c0]
mov dword [esp], ecx
call fcn.0042aca0
movzx eax, byte [esp + 0x18]
movsx eax, al
cmp eax, 0x44
jae 0x41f299
mov ecx, dword [esp + 4]
test byte [ecx], al
lea eax, [ecx + eax*8 + 0x278]
mov dword [esp], eax
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp + 0x64], eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.004671b0
lea eax, [0x50e9c0]
mov dword [esp], eax
call fcn.0042ad90
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x64]
mul ecx
lea ecx, [0x50db70]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004671b0
movzx eax, byte [esp + 0xb8]
test al, al
mov eax, dword [esp + 0x30]
movzx ebx, byte [esp + 0x17]
jne 0x41f141
mov edx, dword [esp + 0x5c]
test dx, dx
je 0x41f0c0
cmp word [eax + 0x1a], dx
jne 0x41f084
movzx edx, bl
cmp edx, 0x88
jae 0x41f28d
shl edx, 7
lea ecx, [0x4f5310]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x28]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042a3f0
jmp 0x41f141
movzx edx, bl
cmp edx, 0x88
jae 0x41f281
shl edx, 7
lea ecx, [0x4f5310]
lea ecx, [ecx + edx + 8]
mov edx, dword [esp + 0x28]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042a3f0
jmp 0x41f141
nop
lea ecx, [0x41f960]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x4f5180]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.00461770
mov byte [esp + 0xbc], 1
add esp, 0xb0
ret
movzx edx, byte [esp + 0xb8]
test dl, dl
jne 0x41f141
movzx edx, word [esp + 0x1a]
test dx, dx
jne 0x41f150
movzx edx, bl
cmp edx, 0x88
jae 0x41f275
shl edx, 7
lea ecx, [0x4f5310]
lea ecx, [edx + ecx + 0x38]
mov edx, dword [esp + 0x28]
shr edx, 1
and edx, 1
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042a3f0
mov byte [esp + 0xbc], 0
add esp, 0xb0
ret
lea eax, [0x50e9c0]
mov dword [esp], eax
call fcn.0042aca0
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
test byte [eax], al
lea ecx, [eax + 0x270]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 0
call fcn.004671b0
mov eax, dword [esp + 0x84]
add eax, 0x268
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.004671b0
lea eax, [0x50e9c0]
mov dword [esp], eax
call fcn.0042ad90
nop
lea eax, [0x50db70]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.004671b0
mov eax, dword [0x50d4d0]
test eax, eax
jle 0x41f204
mov eax, dword [esp + 0x30]
mov dword [eax + 0x48], 0
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.0040f4e0
jmp 0x41f22d
nop
lea eax, [0x41f890]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
lea ecx, [0x4f5180]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x68]
mov dword [esp], ecx
call fcn.00461770
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x41f266
movzx ecx, byte [ecx + 0xc]
test cl, 0x10
je 0x41f266
lea ecx, [0x41f830]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x74]
mov dword [esp], ecx
call fcn.00461770
mov eax, dword [esp + 0x30]
mov dword [eax + 0x5c], 0
mov byte [esp + 0xbc], 1
add esp, 0xb0
ret
mov eax, edx
mov ecx, 0x88
call fcn.00462cd0
mov eax, edx
mov ecx, 0x88
call fcn.00462cd0
mov eax, edx
mov ecx, 0x88
call fcn.00462cd0
mov ecx, 0x44
call fcn.00462cd0
mov eax, edx
mov ecx, 0x88
call fcn.00462cd0
lea eax, [0x4827dc]
mov dword [esp], eax
mov dword [esp + 4], 0x2a
call fcn.0045d710
lea eax, [0x47e818]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0045d710
movzx eax, al
mov dword [esp + 0x64], eax
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x58], ecx
call fcn.00431490
lea eax, [0x47ede3]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00431cf0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004319e0
lea eax, [0x47d38c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00431cf0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004319e0
lea eax, [0x47e500]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00431cf0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004319e0
call fcn.00431690
call fcn.004314f0
lea eax, [0x4822ad]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.0045d710
mov ecx, dword [esp + 0x30]
jmp 0x41f2db
movzx edx, dx
mov dword [esp + 0x64], edx
movzx ebx, bx
mov dword [esp + 0x58], ebx
movzx eax, ax
mov dword [esp + 0x54], eax
movzx ecx, word [ecx + 0x1a]
mov dword [esp + 0x50], ecx
call fcn.00431490
lea eax, [0x47e510]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00431cf0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004319e0
lea eax, [0x47cfd4]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00431cf0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004319e0
lea eax, [0x47f352]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00431cf0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004319e0
lea eax, [0x47cfdc]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00431cf0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004319e0
call fcn.00431690
call fcn.004314f0
lea eax, [0x4814c4]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.0045d710
inc ecx
movzx ebp, word [eax + 0x1a]
add ebp, 7
shr ebp, 3
cmp ecx, ebp
jae 0x41eda7
mov ebp, dword [eax + 0x2c]
test byte [ebp], al
movzx ebp, byte [ecx + ebp]
mov esi, dword [eax + 0x28]
test byte [esi], al
movzx esi, byte [ecx + esi]
xchg esi, ebx
not ebx
xchg esi, ebx
xchg ebp, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg ebp, eax
je 0x41f47f
mov dword [esp + 0x40], ecx
mov dword [esp], eax
call fcn.0041fad0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
movzx edx, byte [esp + 0x17]
mov ebx, dword [esp + 0x2c]
jmp 0x41f47f
inc dword [esp + 0xa4]
inc ecx
movzx ebp, word [eax + 0x1a]
cmp ecx, ebp
jae 0x41ed47
mov ebp, dword [esp + 0x90]
movzx esi, byte [esp + 0x94]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
jne 0x41f5ea
movzx ebp, word [eax + 0x18]
cmp dword [esp + 0xa4], ebp
jb 0x41f537
mov ebp, dword [esp + 0x9c]
movzx esi, byte [esp + 0xa0]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
je 0x41f5ea
mov ebp, dword [eax + 0x44]
imul ebp, ecx
movzx esi, byte [0x4ef851]
add ebp, dword [eax + 0xc]
xchg esi, eax
test al, al
xchg esi, eax
je 0x41f5dc
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], ebp
movzx esi, byte [0x4ef850]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x41f56c
xor esi, esi
xor edi, edi
jmp 0x41f591
call fcn.004536e0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
movzx edx, byte [esp + 0x17]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov esi, ecx
mov edi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
test esi, esi
je 0x41f5dc
mov dword [esp + 0x24], esi
mov dword [esp + 0x80], edi
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.0044d9b0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00453810
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
movzx edx, byte [esp + 0x17]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov esi, dword [0x50d4c4]
test esi, esi
je 0x41f5ea
xor esi, esi
jmp 0x41f65c
movzx ebp, byte [esp + 0x94]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x41f60b
inc dword [esp + 0x90]
mov byte [esp + 0x94], 1
jmp 0x41f616
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x94], al
xchg ebp, eax
inc dword [esp + 0x98]
movzx ebp, byte [esp + 0xa0]
nop
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x41f641
inc dword [esp + 0x9c]
mov byte [esp + 0xa0], 1
jmp 0x41f4d4
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0xa0], al
xchg ebp, eax
jmp 0x41f4d4
mov dword [ebp + esi], 0xdeadbeef
add esi, 4
cmp esi, ebx
jb 0x41f651
jmp 0x41f5ea
mov ebp, dword [ebp]
test ebp, ebp
je 0x41ecac
movzx eax, word [ebp + 4]
cmp eax, edx
jae 0x41eca8
cmp byte [ebp + 6], 1
jne 0x41f662
jmp 0x41ec91
mov eax, dword [ebp + 0xc]
add eax, edi
mov ecx, dword [esi]
nop
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x88]
mov dword [edx], ecx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00423420
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov ebx, eax
mov ebp, ecx
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x41ebc5
movzx edi, word [esi + 4]
cmp edi, edx
jb 0x41f684
jmp 0x41ebc5
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x41ebc5
movzx edi, word [esi + 4]
cmp edi, edx
jae 0x41ebc5
movzx eax, byte [esi + 6]
mov ecx, dword [ebp + 0xc]
add edi, ecx
cmp al, 1
je 0x41f719
cmp al, 2
je 0x41f719
nop
mov dword [esp + 0x88], esi
mov esi, dword [esi]
mov dword [esp + 0x8c], esi
jmp 0x41f6d8
mov eax, dword [esi]
nop
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
call fcn.00423420
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
jmp 0x41f6d8
call fcn.0042ed50
movzx eax, al
mov dword [esp + 0x64], eax
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x58], ecx
call fcn.00431490
lea eax, [0x47ede3]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00431cf0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004319e0
lea eax, [0x47d38c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00431cf0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004319e0
lea eax, [0x47e500]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00431cf0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004319e0
call fcn.00431690
call fcn.004314f0
lea eax, [0x4805a4]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0045d710
mov ebx, dword [esp + 0x30]
jmp 0x41f74f
lea eax, [0x48086a]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0045d710
nop
call fcn.00461860
jmp fcn.0041ea60