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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa0]
test eax, eax
je 0x42c889
mov eax, dword [esp + 0xa8]
mov dword [eax], 0
movzx eax, byte [ebx + 0x28]
test al, 8
je 0x42cc80
and eax, 7
cmp al, 3
ja 0x42cc80
test al, al
jne 0x42cde0
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x42ce0b
mov eax, dword [0x4b9930]
shl eax, 3
mov dword [esp], eax
call fcn.00431630
test eax, eax
mov ebp, eax
je 0x42cd73
movzx eax, byte [ebx + 0x28]
movzx edx, byte [esp + 0xa4]
mov dword [esp + 0x48], 0
and eax, 0xfffffff8
and edx, 7
or eax, edx
mov byte [ebx + 0x28], al
mov eax, dword [ebx + 4]
test byte [ebx + 0x2b], 1
mov dword [esp + 0x1c], eax
je 0x42cc99
mov eax, dword [0x4b9930]
mov edi, dword [0x49a38c]
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
test eax, eax
je 0x42cff8
xor esi, esi
mov ecx, 0x100
lea edx, [ebx + 0x48]
mov dword [esp + 0x2c], esi
mov esi, ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], ebp
jmp 0x42c961
add edi, 4
mov eax, dword [edi]
test eax, eax
je 0x42cb0f
cmp eax, 0x4b9a00
je 0x42c954
test byte [ebx + 0x2b], 1
jne 0x42c974
cmp dword [esp + 0x1c], eax
je 0x42c954
movzx eax, byte [eax + 0x1b]
cmp eax, esi
jg 0x42c954
and dword [ebx + 0x28], 0xfff9001f
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0x84], 0x4b79a0
mov dword [esp], ebx
call fcn.004289d0
mov eax, dword [edi]
mov dword [ebx + 4], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.00442e50
test eax, eax
jne 0x42cdd1
mov dword [esp], 3
call fcn.00429650
movzx eax, byte [ebx + 0x28]
mov ecx, dword [ebx + 4]
and eax, 7
mov eax, dword [ecx + eax*4 + 0x64]
mov dword [esp], ebx
call eax
test eax, eax
mov ebp, eax
je 0x42cdc3
mov eax, dword [esp + 0x48]
test eax, eax
je 0x42ca11
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.0042a9e0
mov dword [esp + 0x48], 0
movzx eax, byte [ebx + 0x28]
and eax, 7
cmp al, 2
je 0x42cd90
cmp dword [0x49a384], ebp
je 0x42cfd5
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42ca3b
mov ecx, dword [esp + 0x20]
mov dword [eax + ecx*4], ebp
movzx eax, byte [ebp + 0x1b]
add dword [esp + 0x20], 1
cmp eax, esi
jl 0x42cd80
add dword [esp + 0x28], 1
mov dword [esp + 0x2c], ebp
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x28]
shr eax, 5
and eax, 0x3ffff
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x68]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x60]
mov dword [esp + 4], 1
mov dword [esp], ebx
mov dword [esp + 0x7c], eax
call fcn.0042c1c0
test eax, eax
mov dword [esp + 0x48], eax
je 0x42cdd1
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 0xb8
mov dword [esp + 4], fcn.004288c0
mov dword [esp], eax
call fcn.0042a9b0
test eax, eax
je 0x42cdd1
add edi, 4
mov eax, dword [edi]
mov dword [esp + 0x30], ebp
test eax, eax
jne 0x42c961
cmp dword [esp + 0x28], 1
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x2c]
je 0x42ce59
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x42cf90
mov eax, dword [esp + 0x38]
cmp eax, dword [0x49a384]
je 0x42cfe7
mov eax, dword [esp + 0x3c]
sub eax, dword [0x4b9930]
cmp eax, 1
mov dword [esp + 0x20], eax
jg 0x42ce66
cmp dword [esp + 0x20], 1
jle 0x42d036
mov dword [esp + 0xa0], ebx
mov ecx, dword [0x49a380]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea esi, [esi]
add ecx, 4
mov esi, dword [ecx - 4]
test esi, esi
je 0x42ce21
mov eax, edi
sub eax, 1
js 0x42cb80
cmp dword [ebp + eax*4], esi
jne 0x42cb90
movzx edx, byte [esi + 0x1b]
cmp ebx, edx
jl 0x42cb90
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x20], 1
mov edi, dword [esp + 0x48]
test edi, edi
je 0x42cc55
lea eax, [ebx + 0x48]
mov dword [esp], eax
call fcn.0042a9e0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [ebx + 0xa0], eax
mov eax, dword [esp + 0x54]
and edx, 0x3ffff
shl edx, 5
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x28]
and eax, 0xff80001f
or eax, edx
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x4c], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x54], eax
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x58], eax
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x5c], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x60], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x64], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x68], eax
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042c410
mov dword [esp + 0x48], 0
cmp dword [esp + 0x20], 1
je 0x42ce93
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x42cf33
mov dword [esp], 0xc
call fcn.00429650
jmp 0x42ccc1
mov dword [esp], 5
call fcn.00429650
xor eax, eax
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.00442e50
test eax, eax
je 0x42cf99
mov eax, dword [esp + 0x1c]
and byte [ebx + 0x28], 0xf8
test ebp, ebp
mov dword [ebx + 4], eax
je 0x42ccd8
mov dword [esp], ebp
call sub.msvcrt.dll_free
mov edx, dword [esp + 0x48]
test edx, edx
je 0x42cd73
lea eax, [ebx + 0x48]
mov dword [esp], eax
call fcn.0042a9e0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [ebx + 0xa0], eax
mov eax, dword [esp + 0x54]
and edx, 0x3ffff
shl edx, 5
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x28]
and eax, 0xff80001f
or eax, edx
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x4c], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x54], eax
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x58], eax
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x5c], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x60], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x64], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x68], eax
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0042c410
xor eax, eax
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, eax
mov dword [esp + 0x28], 1
jmp 0x42ca51
test byte [ebx + 0x2b], 0x20
jne 0x42cdfb
mov eax, dword [esp + 0x38]
cmp dword [0x49a384], eax
je 0x42cda8
mov eax, dword [edi]
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x24]
test edx, edx
je 0x42cdb9
mov eax, dword [edi]
mov ecx, dword [esp + 0x3c]
mov dword [edx + ecx*4], eax
add dword [esp + 0x3c], 1
jmp 0x42ca55
call fcn.00429400
cmp eax, 3
je 0x42c954
mov ebp, dword [esp + 0x24]
jmp 0x42ccc1
movzx eax, al
cmp eax, dword [esp + 0xa4]
sete al
add esp, 0x8c
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
call fcn.00429400
cmp eax, 4
jne 0x42ca20
jmp 0x42cd96
mov eax, dword [0x49a380]
mov eax, dword [eax]
test eax, eax
jne 0x42c8b7
xor ebp, ebp
jmp 0x42c8d1
test ebp, ebp
mov ebx, dword [esp + 0xa0]
je 0x42cbb2
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
cmp edi, eax
je 0x42cbb2
mov ecx, dword [esp + 0x24]
xor eax, eax
mov esi, dword [ebp + eax*4]
movzx edx, byte [esi + 0x1b]
cmp ecx, edx
jge 0x42ce59
add eax, 1
cmp eax, edi
jl 0x42ce46
mov dword [esp + 0x20], 1
jmp 0x42cbb2
test ebp, ebp
je 0x42cb59
lea edx, [eax*4]
mov eax, dword [0x4b9930]
mov dword [esp + 8], edx
mov dword [esp], ebp
lea eax, [ebp + eax*4]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
jmp 0x42cb64
cmp dword [esp + 0x30], esi
mov dword [ebx + 4], esi
je 0x42cf02
and dword [ebx + 0x28], 0xfff9001f
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0x84], 0x4b79a0
mov dword [esp], ebx
call fcn.004289d0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], ebx
call fcn.00442e50
test eax, eax
jne 0x42ccc1
movzx edx, byte [ebx + 0x28]
mov eax, dword [ebx + 4]
and edx, 7
mov eax, dword [eax + edx*4 + 0x64]
mov dword [esp], ebx
call eax
test eax, eax
je 0x42d01d
movzx eax, byte [ebx + 0x28]
and eax, 0x18
cmp al, 0x18
je 0x42cfde
test ebp, ebp
mov eax, 1
je 0x42cc8e
mov dword [esp], ebp
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x1c]
jmp 0x42cc8e
mov eax, dword [esp + 0x1c]
and byte [ebx + 0x28], 0xf8
mov dword [ebx + 4], eax
mov dword [esp], 0xd
call fcn.00429650
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x42cd73
mov eax, dword [esp + 0xa8]
mov dword [eax], ebp
mov eax, dword [esp + 0x20]
mov dword [ebp + eax*4], 0
sub eax, 1
js 0x42cd73
mov edx, dword [ebp + eax*4]
mov edx, dword [edx]
mov dword [ebp + eax*4], edx
sub eax, 1
cmp eax, 0xffffffff
jne 0x42cf77
xor eax, eax
jmp 0x42cd75
mov dword [esp + 0x38], esi
jmp 0x42cb59
movzx edx, byte [ebx + 0x28]
mov eax, dword [ebx + 4]
and edx, 7
mov eax, dword [eax + edx*4 + 0x64]
mov dword [esp], ebx
call eax
test eax, eax
jne 0x42cf02
cmp dword [esp + 0xa4], 2
jne 0x42c901
cmp dword [esp + 0x1c], 0x4b9a00
jne 0x42c901
jmp 0x42cc6c
mov ebp, dword [esp + 0x24]
jmp 0x42cf02
or byte [ebx + 0x2b], 0x10
jmp 0x42cf11
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], 1
jmp 0x42cbb2
mov dword [esp + 0x24], 0x100
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
jmp 0x42cb32
mov dword [esp + 4], 0x1b5
mov dword [esp], str..._.._binutils_bfd_format.c
call fcn.004295a0
jmp 0x42cf02
mov esi, dword [esp + 0x38]
jmp 0x42cbb2