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

Disassembly:
push 0xffffffffffffffff
push 0x419280
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x420988]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x420988]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
call fcn.00401140
push eax
mov dword [esp + 0x64], 0
call fcn.00403ad0
mov esi, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], 0xffffffff
test esi, esi
je 0x40480a
push 0
lea ecx, [esp + 0x18]
call fcn.00405b3f
mov eax, dword [esi + 4]
test eax, eax
je 0x4047ea
cmp eax, 0xffffffff
jae 0x4047ea
dec eax
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
neg edi
sbb edi, edi
lea ecx, [esp + 0x14]
not edi
call fcn.00405b67
and edi, esi
je 0x40480a
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
call fcn.00402ff0
mov al, byte [ebp]
mov ecx, 1
mov dword [esp + 0x60], ecx
cmp al, 0x2b
je 0x40484f
cmp al, 0x2d
je 0x40484f
cmp al, 0x30
jne 0x404845
mov al, byte [ebp + 1]
cmp al, 0x78
je 0x40483b
cmp al, 0x58
jne 0x404845
mov dword [esp + 0x14], 2
jmp 0x404853
mov dword [esp + 0x14], 0
jmp 0x404853
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov eax, edx
cmp ecx, 0x10
jae 0x404866
lea eax, [esp + 0x38]
cmp byte [eax], 0x7f
je 0x4048de
mov eax, edx
cmp ecx, 0x10
jae 0x404876
lea eax, [esp + 0x38]
cmp byte [eax], 0
jle 0x4048de
cmp ecx, 0x10
jb 0x404886
mov dword [esp + 0x24], edx
jmp 0x40488e
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x24]
mov al, byte [edx]
mov esi, ebx
cmp al, 0x7f
je 0x4048de
test al, al
jle 0x4048de
mov ecx, esi
sub ecx, dword [esp + 0x14]
movsx eax, al
cmp eax, ecx
jae 0x4048de
sub esi, eax
mov eax, ebx
sub eax, esi
inc eax
push eax
lea edi, [esi + ebp]
push edi
push eax
lea eax, [esi + ebp + 1]
push eax
call fcn.00407476
mov eax, dword [esp + 0x34]
add esp, 0x10
mov byte [edi], 0
inc ebx
cmp byte [eax + 1], 0
jle 0x4048d8
inc eax
mov dword [esp + 0x24], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x40489a
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 0x20]
mov eax, ecx
cmp dword [eax + 0x24], 0
jl 0x4048fb
jg 0x4048f3
test edi, edi
je 0x4048fb
cmp edi, ebx
jbe 0x4048fb
sub edi, ebx
jmp 0x4048fd
xor edi, edi
mov eax, dword [eax + 0x14]
mov esi, dword [esp + 0x68]
and eax, 0x1c0
cmp eax, 0x40
je 0x4049af
cmp eax, 0x100
je 0x404949
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push edi
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push edx
push esi
call fcn.00402910
mov ecx, dword [eax]
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 4]
add esp, 0x18
mov dword [esp + 0x74], edx
jmp 0x4049ad
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push eax
push ebp
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push esi
call fcn.00402980
mov ecx, dword [eax]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + 4]
push edi
add ebp, ecx
sub ebx, ecx
mov ecx, dword [esp + 0x98]
push ecx
mov dword [esp + 0x94], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.00402910
mov edx, dword [eax]
mov dword [esp + 0xa0], edx
mov eax, dword [eax + 4]
add esp, 0x30
mov dword [esp + 0x74], eax
xor edi, edi
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov edx, dword [esp + 0x74]
mov byte [esp + 0x20], al
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x70]
push ecx
push ebx
push ebp
push edx
push eax
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.004029f0
mov ecx, dword [eax]
mov edx, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x90], ecx
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [edx + 0x20], ebx
mov dword [edx + 0x24], ebx
mov edx, dword [esp + 0x9c]
push edx
push eax
push ecx
push edi
push esi
mov dword [esp + 0xa8], eax
call fcn.00402910
add esp, 0x34
cmp dword [esp + 0x4c], 0x10
jb 0x404a26
mov eax, dword [esp + 0x38]
push eax
call fcn.0040666b
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00406e86
add esp, 0x50
ret