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

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
cmp esi, edi
jne 0x42aa36
pop edi
mov eax, 0xffffff9a
pop esi
ret 0xc
cmp dword [esi + 0x2c], edi
jne 0x42aa45
pop edi
mov eax, 0xffffff9a
pop esi
ret 0xc
mov eax, dword [esi + 0x80]
push ebx
cmp eax, 8
push ebp
mov dword [esi + 0x34], edi
jne 0x42aaa5
cmp dword [esi + 0x84], edi
jne 0x42aaa5
lea ebp, [esi + 0x30]
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x42aa80
push esi
call fcn.0042a970
lea eax, [esi + 0x88]
add esp, 4
mov dword [esi + 0x40], 0x4000
mov dword [esi + 0x3c], eax
mov ebx, dword [esi + 0x44]
push 4
push ebp
call fcn.0042b3f0
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x6c]
sub ecx, ebx
mov edi, eax
add edx, ecx
test edi, edi
mov dword [esi + 0x6c], edx
je 0x42aa60
cmp edi, 1
jne 0x42aaa5
xor edi, edi
mov eax, dword [esi + 0x6c]
test eax, eax
jbe 0x42aac0
test edi, edi
jne 0x42aac0
push esi
call fcn.0042a970
add esp, 4
cmp eax, 0xffffffff
jne 0x42aac0
or edi, eax
cmp dword [esi + 0x80], 8
jne 0x42aae5
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x42aafe
lea edx, [esi + 0x30]
push edx
call fcn.0042b770
mov edi, eax
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x42aafe
mov eax, dword [esi + 0x38]
mov ebp, dword [esi + 0x408c]
mov dword [esp + 0x18], eax
jmp 0x42ab02
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
mov ebx, dword [esi + 0x40a4]
mov eax, dword [esi + 0x44]
push 4
add ecx, 0x10
push ebp
push ecx
add ebx, eax
call fcn.0042a750
mov edx, dword [esi + 0x74]
push 4
add edx, 0x14
push ebx
push edx
call fcn.0042a750
mov eax, dword [esi + 0x5c]
add esp, 0x18
cmp eax, 1
jne 0x42ab49
mov eax, dword [esi + 0x74]
push 2
add eax, 0x24
push 1
push eax
call fcn.0042a750
add esp, 0xc
mov edx, dword [esi + 0x74]
mov ecx, dword [esp + 0x18]
push 4
add edx, 0x18
push ecx
push edx
call fcn.0042a750
add esp, 0xc
test edi, edi
jne 0x42ab79
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
push eax
lea edx, [esi + 0x24]
push ecx
push edx
call fcn.00429c10
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 0x74]
push eax
call fcn.00438969
add esp, 4
test edi, edi
jne 0x42ac19
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
push ecx
push edx
call dword [esi + 0xc]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x70]
add eax, 0xe
push edi
push eax
push ecx
push edx
call dword [esi + 0x10]
add esp, 0x18
test eax, eax
je 0x42abbb
or edi, 0xffffffff
jmp 0x42abfd
mov eax, dword [esi + 0x20]
push 4
push ebp
push eax
push esi
call fcn.0042a710
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42abfd
mov ecx, dword [esi + 0x20]
push 4
push ebx
push ecx
push esi
call fcn.0042a710
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42abfd
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x20]
push 4
push edx
push eax
push esi
call fcn.0042a710
add esp, 0x10
mov edi, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
push 0
push ecx
push edx
push eax
call dword [esi + 0x10]
add esp, 0x10
test eax, eax
je 0x42ac19
or edi, 0xffffffff
mov eax, dword [esi + 0x40b0]
pop ebp
inc eax
pop ebx
mov dword [esi + 0x40b0], eax
mov eax, edi
mov dword [esi + 0x2c], 0
pop edi
pop esi
ret 0xc