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

Disassembly:
sub esp, 0x64
mov ecx, dword [esp + 0x7c]
push ebx
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x74]
push 0
push 0
mov eax, dword [esi + 0x14]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
push ebp
push ecx
push edx
push eax
push esi
call fcn.00421d60
add esp, 0x20
test eax, eax
jne 0x421b1f
lea ecx, [esp + 0x74]
push eax
push ecx
push eax
push esi
call fcn.0041b5f0
add esp, 0x10
test eax, eax
jne 0x421b1f
push edi
mov ecx, 6
lea edi, [esp + 0x5c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
push edx
push 0x100000
push eax
call fcn.00410bb0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x421aef
mov esi, dword [esi + 0x18]
mov dword [esp + 0x1c], 0x100000
cmp esi, 3
mov dword [esp + 0x28], 0x20
je 0x421943
cmp esi, 4
je 0x421943
mov dword [esp + 0x80], eax
mov dword [esp + 0x8c], 1
jmp 0x421961
lea ecx, [esp + 0x84]
mov dword [esp + 0x80], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 4
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x14]
push 0x10000012
lea eax, [esp + 0x60]
push edx
push eax
push ecx
call fcn.0045f920
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x421a91
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea esi, [ecx + edx - 4]
mov edx, dword [esp + 0x80]
mov eax, dword [esi]
test edx, edx
je 0x4219b1
test eax, eax
je 0x421a4c
mov dword [esp + 0x84], eax
jmp 0x4219c9
cmp eax, 0xffffffff
je 0x421a61
add eax, ecx
sub esi, 4
mov dword [esp + 0x44], eax
mov eax, dword [esi]
mov dword [esp + 0x48], eax
mov eax, dword [esi - 4]
sub esi, 4
add eax, ecx
sub esi, 4
mov dword [esp + 0x2c], eax
mov ecx, dword [esi]
sub esi, 4
test eax, eax
mov dword [esp + 0x30], ecx
je 0x421a6b
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x421a1b
push edx
mov edx, dword [esp + 0x8c]
push ebx
push ebp
push 0x4bac74
lea eax, [esp + 0x54]
push edx
push eax
call fcn.00421b30
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x421aef
mov ecx, dword [esp + 0x88]
push 0
push ebx
push ebp
push 0x4bac74
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00421b30
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x421aef
mov ecx, dword [esp + 0x14]
jmp 0x421993
mov dword [esp + 0x84], 0
mov dword [esp + 0x2c], 0
jmp 0x421a6b
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x14]
push 0x10000012
lea ecx, [esp + 0x60]
push eax
push ecx
push edx
call fcn.0045f920
mov edi, eax
add esp, 0x10
test edi, edi
je 0x421987
cmp edi, 0xffff86e9
jne 0x421ad1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add eax, 0x3ff
lea ecx, [esp + 0x14]
and eax, 0xfffffc00
push ecx
push eax
push edx
mov dword [esp + 0x24], eax
call fcn.00410c30
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x421aef
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
jmp 0x421961
cmp edi, 0xffff86f3
jne 0x421adb
xor edi, edi
push ebx
push ebp
call fcn.00422580
add esp, 8
test eax, eax
je 0x421aef
test edi, edi
jne 0x421aef
mov edi, eax
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0045f1b0
add esp, 4
test eax, eax
je 0x421b06
test edi, edi
jne 0x421b06
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x421b1c
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.00410cc0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret