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

Disassembly:
push 0xffffffffffffffff
push 0x451208
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4612b0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
lea eax, [esp + 0x40]
xor ebx, ebx
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.0042af60
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x7c], bl
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x90], bl
mov esi, dword [esp + 0xbc]
mov dword [esp + 0xa4], ebx
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xcc]
push ecx
push eax
push edx
mov edx, dword [esp + 0xd4]
push edx
push ecx
push eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x4c], ecx
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
mov dword [esp + 0x38], esi
call fcn.00410770
add esp, 0x20
test al, al
je 0x42e313
and esi, 0x800
mov dword [esp + 0x20], esi
jmp 0x42e147
mov esi, dword [esp + 0x20]
cmp esi, ebx
jne 0x42e187
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x24], bl
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x3c]
push ecx
call fcn.0042f2d0
mov edx, dword [esp + 0x40]
add esp, 0x18
mov dword [esp + 0xb0], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xb0]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0xc8]
call fcn.0042ebd0
mov ecx, dword [eax]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0xb0], ecx
mov ecx, esi
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x42e1db
lea eax, [esp + 0x80]
jmp 0x42e1ee
cmp eax, ebx
ja 0x42e1ec
call fcn.004392c0
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov eax, edi
mov ebp, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
cmp ebp, 0xfffffffc
je 0x42e217
cmp ebp, ebx
je 0x42e20a
cmp ebp, dword [esp + 0xc8]
je 0x42e217
call fcn.004392c0
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0xcc]
je 0x42e319
test dword [esp + 0xbc], 0x1000
jne 0x42e319
mov ecx, esi
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x42e25d
lea ecx, [esp + 0x80]
mov dword [esp + 0x1c], ecx
jmp 0x42e272
cmp eax, ebx
ja 0x42e26e
call fcn.004392c0
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x1c], edi
sub esi, edi
mov eax, 0x66666667
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x42e290
lea edi, [esp + 0x80]
jmp 0x42e29d
cmp eax, ebx
ja 0x42e29d
call fcn.004392c0
mov edi, dword [esp + 0x4c]
mov eax, dword [edi]
cmp eax, 0xfffffffc
je 0x42e2b6
cmp eax, ebx
je 0x42e2b1
mov edx, dword [esp + 0x1c]
cmp eax, dword [edx + 8]
je 0x42e2b6
call fcn.004392c0
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx + 0xc]
jne 0x42e2c9
mov ecx, 0x2000
jmp 0x42e2d3
xor ecx, ecx
or dword [esp + 0x18], 0x100
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0xcc]
or ecx, dword [esp + 0x18]
push eax
push ebp
push edx
mov edx, dword [esp + 0xd4]
push edx
push eax
mov eax, dword [esp + 0xc8]
push ebp
push eax
lea edx, [esp + 0x54]
push edx
call fcn.00410770
add esp, 0x20
test al, al
jne 0x42e143
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0x4c]
jmp 0x42e320
mov esi, dword [esp + 0xbc]
test esi, 0x800
je 0x42e331
lea eax, [esp + 0xb0]
jmp 0x42e36d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0xd4]
push edx
push eax
mov eax, dword [esp + 0x44]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0042f2d0
mov edi, dword [esp + 0x64]
add esp, 0x18
lea eax, [esp + 0x28]
mov eax, dword [eax]
mov esi, dword [esp + 0xac]
mov dword [esi], eax
cmp edi, ebx
je 0x42e385
push edi
call fcn.004393c9
add esp, 4
mov ecx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.004393c9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret