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

Disassembly:
push 0xffffffffffffffff
push 0x4c0f35
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4f4524]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4524]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [esp + 0x160]
mov ebp, dword [esp + 0x150]
mov esi, ecx
push 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
call fcn.00413790
test al, al
jne 0x41e3e6
push 1
mov ecx, ebp
call fcn.00413790
test al, al
jne 0x41e3e6
xor ebx, ebx
cmp byte [esi + 0x190], bl
jne 0x41e3e6
cmp byte [ebp + 0x190], bl
jne 0x41e3e6
cmp dword [ebp + 0xb8], ebx
je 0x41e31c
xor eax, eax
cmp byte [ebp + 0xfc], al
setne al
lea eax, [eax + eax - 1]
cmp eax, ebx
jne 0x41e3e6
add esi, 0x88
mov ecx, esi
call fcn.004134a0
or edi, 0xffffffff
cmp eax, edi
je 0x41e3e6
mov ecx, esi
call fcn.004134a0
cmp eax, 1
lea ecx, [esp + 0x9c]
sete byte [esp + 0x14]
call fcn.00411e00
mov esi, dword [esp + 0x154]
push esi
lea ecx, [esp + 0xa0]
push ecx
mov ecx, ebp
mov dword [esp + 0x150], ebx
call fcn.00415dd0
test al, al
je 0x41e3d3
mov eax, dword [ebp + 0x144]
sub eax, dword [ebp + 0x140]
mov edx, dword [ebp + 0xb4]
sar eax, 2
movzx ecx, si
dec eax
cmp ecx, eax
mov dword [esp + 0x2c], edx
jge 0x41e420
lea ecx, [esp + 0xec]
call fcn.00411e00
inc esi
push esi
lea edx, [esp + 0xf0]
push edx
mov ecx, ebp
mov byte [esp + 0x150], 1
call fcn.00415dd0
mov byte [esp + 0x148], 0
lea ecx, [esp + 0xec]
test al, al
jne 0x41e412
call fcn.00411e90
mov dword [esp + 0x148], edi
lea ecx, [esp + 0x9c]
call fcn.00411e90
xor al, al
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00443ac5
add esp, 0x138
ret 0x14
mov esi, dword [esp + 0x114]
call fcn.00411e90
jmp 0x41e449
lea esi, [ebp + 0x174]
mov ecx, 7
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
cmp byte [esp + 0x60], 0
je 0x41e43e
mov esi, dword [esp + 0x5c]
jmp 0x41e449
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x14]
call edx
mov esi, eax
mov edi, dword [ebp + 0x178]
push 1
lea ecx, [esp + 0xa0]
add esi, edi
call fcn.004124f0
add eax, edi
add eax, dword [esp + 0xc4]
mov dword [esp + 0x30], ebx
sub esi, eax
mov dword [esp + 0x38], eax
mov al, byte [esp + 0xa8]
shr al, 3
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xc
add eax, dword [esp + 0xb4]
mov dword [esp + 0x18], esi
lea ecx, [eax + 4]
cmp esi, ecx
jbe 0x41e4f3
mov dword [esp + 0x18], ecx
mov eax, 0xf
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], 0
cmp byte [esp + 0x15c], 0
mov byte [esp + 0x148], 3
jne 0x41e503
movzx ecx, word [esp + 0xa4]
mov edx, dword [esp + 0x20]
shr ecx, 8
cmp ecx, dword [edx + 0x1cc]
je 0x41e503
mov bl, 1
jmp 0x41e505
cmp esi, eax
jae 0x41e49e
mov ecx, dword [esp + 0x20]
push ebx
push 0x65
call fcn.0041a6f0
xor bl, bl
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xa0]
call fcn.00412860
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x14c], 4
call fcn.0041a3f0
lea ecx, [esp + 0x48]
mov byte [esp + 0x148], 3
call fcn.0040926c
test bl, bl
je 0x41e577
lea ecx, [esp + 0x9c]
call fcn.004128d0
mov ebx, dword [esp + 0x20]
movzx edx, byte [esp + 0xa4]
mov ecx, dword [ebx + 0x1cc]
shl ecx, 8
or edx, ecx
push eax
lea ecx, [esp + 0xa0]
mov word [esp + 0xa8], dx
call fcn.00412560
jmp 0x41e57b
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.00421f00
add esp, 8
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0xa0]
call fcn.00412860
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x14c], 5
call fcn.0041a3f0
lea ecx, [esp + 0x48]
mov byte [esp + 0x148], 3
call fcn.0040926c
cmp byte [esp + 0x14], 0
je 0x41e65d
mov dl, byte [esp + 0xa8]
shr dl, 3
test dl, 1
jne 0x41e65d
or word [esp + 0xa8], 8
mov byte [esp + 0x17], 1
mov al, byte [ebx + 0x168]
mov esi, 0x10
test al, al
je 0x41e616
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x41e609
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xa0]
call fcn.00412540
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x41e624
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x15c]
push eax
mov ecx, ebx
call fcn.00416090
test al, al
jne 0x41e664
lea ecx, [esp + 0x80]
call fcn.0040926c
lea ecx, [esp + 0x64]
call fcn.0040926c
mov dword [esp + 0x148], 0xffffffff
jmp 0x41e3da
mov byte [esp + 0x17], 0
jmp 0x41e5ec
mov esi, dword [esp + 0x158]
mov edi, dword [esp + 0x24]
test esi, esi
setge byte [esp + 0x15]
mov dword [esp + 0x1c], 0
test edi, edi
je 0x41e689
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x1c], ecx
push esi
lea edx, [esp + 0xa0]
lea ecx, [ebx + 0x108]
push edx
mov dword [esp + 0x3c], ecx
call fcn.00426810
cmp byte [esp + 0x15], 0
mov dword [esp + 0x28], eax
je 0x41e6d7
cmp dword [esp + 0x7c], 0x10
mov eax, dword [esp + 0x68]
jae 0x41e6bb
lea eax, [esp + 0x68]
push eax
push 1
lea ecx, [esp + 0xa4]
call fcn.004124f0
add eax, dword [esp + 0x1c]
mov ecx, ebx
push eax
push esi
call fcn.0041d160
test edi, edi
je 0x41e745
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
mov dword [edi + 0x20], eax
call fcn.00419090
mov ebp, 0x10
mov byte [esp + 0x148], 6
cmp dword [eax + 0x18], ebp
jb 0x41e705
mov eax, dword [eax + 4]
jmp 0x41e708
add eax, 4
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x7c], ebp
jae 0x41e716
lea ecx, [esp + 0x68]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 4]
push ecx
mov ecx, edi
call eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x148], 3
call fcn.0040926c
mov edx, dword [edi]
mov eax, dword [esp + 0xb4]
mov edx, dword [edx + 8]
push eax
mov ecx, edi
call edx
jmp 0x41e74a
mov ebp, 0x10
cmp byte [ebx + 0x168], 0
je 0x41e778
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x98], ebp
jae 0x41e76a
lea eax, [esp + 0x84]
mov esi, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.00412540
jmp 0x41e77c
mov esi, dword [esp + 0x28]
lea eax, [ebx + 0x88]
push eax
mov ecx, esi
call fcn.00412370
mov eax, dword [ebx + 0x178]
sub dword [esi + 0x28], eax
cmp byte [ebx + 0x14c], 0
je 0x41e7b2
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], ebp
jae 0x41e7aa
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call fcn.00412540
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x10]
push 0
push 0
push edx
call eax
mov eax, dword [ebx + 0x84]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
cmp ecx, eax
ja 0x41e7dc
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx + 0x80]
mov ebp, dword [esp + 0x30]
mov byte [esp + 0x16], 0
je 0x41e856
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
push eax
push edi
call edx
mov esi, eax
test esi, esi
je 0x41e856
mov eax, dword [esp + 0x18]
lea ecx, [esi + ebp]
cmp ecx, eax
jbe 0x41e823
mov esi, eax
sub esi, ebp
je 0x41e856
mov byte [esp + 0x16], 1
push 0
push esi
push edi
lea ecx, [ebx + 0x88]
call fcn.00421650
add ebp, esi
cmp dword [esp + 0x24], 0
je 0x41e84f
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push esi
call eax
test al, al
je 0x41e8e0
cmp byte [esp + 0x16], 0
je 0x41e7f6
cmp byte [esp + 0x17], 0
mov dword [ebx + 0x128], 0
je 0x41e8c4
cmp ebp, dword [esp + 0x18]
jne 0x41e8c4
push 0
push 0x10
lea ecx, [esp + 0x44]
call fcn.00420890
mov ecx, dword [esp + 0x40]
mov edx, dword [str.PK_a_b]
mov dword [ecx], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add eax, 4
push eax
mov byte [esp + 0x14c], 7
call fcn.004124d0
mov ecx, dword [esp + 0x40]
push 1
push 0x10
push ecx
lea ecx, [ebx + 0x88]
call fcn.00421650
lea ecx, [esp + 0x3c]
mov byte [esp + 0x148], 3
call fcn.004208c0
lea ecx, [ebx + 0x88]
call fcn.00420c10
cmp ebp, dword [esp + 0x18]
jae 0x41e915
push 0
push 0x65
mov ecx, ebx
call fcn.0041a6f0
cmp dword [esp + 0x18], ebp
je 0x41e901
cmp byte [esp + 0x14], 0
jne 0x41e90e
cmp byte [esp + 0x15], 0
jne 0x41e90e
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push 0
call fcn.00415cf0
mov eax, 0x6a
push 0
push eax
call fcn.0041a4b0
mov eax, 0x69
jmp 0x41e906
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x41e924
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [esp + 0x80]
call fcn.0040926c
lea ecx, [esp + 0x64]
call fcn.0040926c
lea ecx, [esp + 0x9c]
mov dword [esp + 0x148], 0xffffffff
call fcn.00411e90
mov al, 1
jmp 0x41e3e8