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

Disassembly:
push 0xffffffffffffffff
push 0x452198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
xor ebx, ebx
mov esi, ecx
cmp ebp, ebx
push edi
mov dword [esp + 0x14], esi
je 0x416d50
mov edi, dword [esp + 0x78]
cmp edi, ebx
jle 0x416d50
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x7c]
push ecx
push eax
mov ecx, esi
call fcn.00416d80
cmp edi, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
jae 0x416b92
lea ecx, [esp + 0x78]
push 0x460014
push ecx
mov byte [esp + 0x80], bl
call fcn.0042e631
mov eax, ebp
push 4
sub edi, 0xc
push 0x46c780
push eax
mov dword [esp + 0x80], eax
add ebp, 0xc
mov dword [esp + 0x84], edi
call fcn.0042d300
add esp, 0xc
test eax, eax
jne 0x416d50
mov edx, dword [esp + 0x74]
push 4
add edx, 4
push 0x46c778
push edx
call fcn.0042d300
add esp, 0xc
test eax, eax
jne 0x416d50
mov eax, dword [esp + 0x74]
mov dword [esp + 0x74], ebx
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x10], eax
jbe 0x416d3f
add ebp, 4
jmp 0x416c03
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
cmp edi, ebx
jle 0x416d3f
mov eax, dword [ebp]
mov ecx, dword [esp + 0x18]
cmp eax, ebx
lea edx, [eax + ecx]
jl 0x416d50
mov eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jg 0x416d50
mov cl, byte [esp + 0x78]
mov edi, edx
mov byte [esp + 0x30], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0040cd5e
mov dl, byte [esp + 0x78]
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x44], dl
call fcn.0040a870
mov eax, dword [ebp - 4]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 1
mov dword [esp + 0x54], eax
call fcn.0040ca75
lea edx, [esp + 0x50]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x74], 2
call fcn.004121d0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00410620
mov esi, dword [esp + 0x28]
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 1
call fcn.0040a870
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], bl
call fcn.0040a870
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push ebx
lea ecx, [esi + 0x10]
push eax
call fcn.0040cbb9
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], 0xffffffff
cmp eax, ebx
je 0x416d10
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x416d07
cmp cl, 0xff
je 0x416d07
dec cl
mov byte [eax], cl
jmp 0x416d10
push eax
call fcn.00443dd4
add esp, 4
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
inc eax
add ebp, 8
sub edx, 8
cmp eax, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
jb 0x416bfb
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
xor eax, eax
cmp edx, ecx
sete al
jmp 0x416d52
xor al, al
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8