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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
xor ebp, ebp
push edi
mov ecx, esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.0042a6a0
cmp eax, ebp
jne 0x42a887
mov edx, dword [esi + 0x10]
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp edx, ebp
ja 0x42a892
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
xor ebp, ebp
mov ecx, dword [esi]
lea eax, [ebx + ebx*2]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], eax
cmp ecx, ebp
je 0x42a8b6
cmp ecx, 0x21
je 0x42a8b6
cmp ecx, 0x30101
jne 0x42aa75
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x14], ecx
cmp edx, 4
jne 0x42a970
mov eax, dword [esi + 0xc]
mov esi, dword [eax + ebx*8]
mov eax, dword [eax + ebx*8 + 4]
lea edi, [ebx*4]
mov dword [esp + 0x54], 3
mov dword [esp + 0x58], 2
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + edi + 0x54]
cmp ebx, 2
jae 0x42a942
xor ecx, ecx
mov dword [esp + 0x14], esi
cmp esi, esi
jne 0x42abc8
cmp ecx, eax
jne 0x42abc8
mov eax, dword [esp + 0x80]
mov edx, dword [eax]
push esi
push eax
call edx
add esp, 8
test eax, eax
jne 0x42a92b
test esi, esi
jne 0x42abc8
mov edx, dword [esp + 0x84]
mov ecx, edi
neg ecx
mov dword [ecx + edx + 4], eax
mov edi, eax
mov dword [esp + ecx + 0x4c], esi
jmp 0x42a970
jne 0x42abe2
xor edx, edx
cmp eax, edx
ja 0x42abd5
jb 0x42a95c
cmp esi, ecx
ja 0x42abd5
mov edi, dword [esp + 0x78]
sub edi, esi
add edi, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x68]
mov eax, dword [esi + ebp*8 + 4]
mov ebx, dword [esi + ebp*8]
push ebp
mov dword [esp + 0x30], eax
call fcn.0042a7d0
mov esi, dword [esp + 0x70]
add esp, 4
add eax, dword [esp + 0x70]
push 0
adc edx, dword [esp + 0x78]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0xc]
push esi
mov dword [esp + 0x3c], eax
call edx
add esp, 0xc
test eax, eax
jne 0x42a887
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebp, ecx
or ebp, edx
jne 0x42a9f8
xor ecx, ecx
cmp ebx, dword [esp + 0x14]
jne 0x42abef
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jne 0x42abef
push edi
push eax
push ebx
call fcn.0042a5c0
add esp, 0xc
test eax, eax
jne 0x42a887
mov ebx, dword [esp + 0x18]
jmp 0x42abaa
cmp ecx, 0x30101
jne 0x42aa35
test edx, edx
jne 0x42aa35
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ecx
push ebx
push eax
mov edx, edi
mov ecx, esi
call fcn.0042a210
add esp, 0x14
test eax, eax
jne 0x42a887
mov ebx, dword [esp + 0x18]
jmp 0x42abaa
cmp ecx, 0x21
jne 0x42abe2
test edx, edx
jne 0x42abe2
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push edx
push esi
push ecx
mov ecx, dword [esp + 0x8c]
push ebx
push eax
mov edx, edi
call fcn.0042a400
add esp, 0x14
test eax, eax
jne 0x42a887
mov ebx, dword [esp + 0x18]
jmp 0x42abaa
mov eax, dword [eax + 0xc]
cmp ecx, 0x303011b
jne 0x42ab64
cmp eax, ebp
jne 0x42ab64
mov esi, dword [esp + 0x68]
mov ebp, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov dword [esp + 0x44], ebp
cmp ebx, 3
jne 0x42abe2
push 1
call fcn.0042a7d0
mov esi, dword [esp + 0x70]
add esp, 4
add eax, dword [esp + 0x70]
push 0
adc edx, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x3c]
push edx
push esi
call eax
add esp, 0xc
test eax, eax
jne 0x42a887
cmp edi, edi
jne 0x42abc8
cmp eax, ebp
jne 0x42abc8
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
push edi
push eax
call ecx
mov ebp, dword [esp + 0x8c]
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
jne 0x42ab0f
test edi, edi
jne 0x42abc8
mov edx, dword [esp + 0x44]
push eax
push edx
push edi
call fcn.0042a5c0
add esp, 0xc
test eax, eax
jne 0x42a887
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ebp + 4]
push eax
mov eax, dword [esp + 0x4c]
push edi
push ecx
mov ecx, dword [ebp]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [ebp + 8]
push eax
call fcn.0042d6d0
add esp, 0x20
test eax, eax
jne 0x42a887
jmp 0x42abaa
cmp ebx, 1
jne 0x42abe2
cmp ecx, 0x3030103
jne 0x42ab75
cmp eax, ebp
je 0x42ab90
cmp ecx, 0x3030501
jne 0x42abe2
cmp eax, ebp
jne 0x42abe2
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
call fcn.0042d990
jmp 0x42abaa
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x2c], ebp
call fcn.0042d9f0
add esp, 8
mov esi, dword [esp + 0x64]
mov edx, dword [esi + 0x10]
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, edx
jb 0x42a890
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, 5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret