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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
mov ebp, dword [esp + 0x78]
test esi, esi
sete byte [esp + 0x34]
cmp ebx, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], eax
jne 0x42bc30
cmp byte [esp + 0x34], 0
je 0x42bc30
test ebp, ebp
je 0x42bd50
lea eax, [ebx + ebp]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
lea edi, [ebx + esi]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0042ba50
add esi, ebp
js 0x42c020
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebx, 0xf
jle 0x42bbf2
mov eax, ebx
mov edx, esi
sar eax, 1
neg edx
lea ecx, [eax + esi]
mov dword [esp + 0x38], eax
lea edi, [eax + ebp]
shl eax, 2
mov dword [esp + 0x3c], edx
mov edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov dword [esp + 0x4c], ecx
add eax, edx
mov edx, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0042d500
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp], eax
mov dword [esp + 0x44], eax
call fcn.0042d500
mov edx, dword [esp + 0x48]
lea edx, [edx + edx*2]
lea eax, [eax + edx + 4]
cmp eax, 8
ja case.default.0x42bcbe
mov ecx, dword [esp + 0x4c]
jmp dword [eax*4 + 0x4b4f18]
mov eax, 1
mov dword [esp + 0x3c], 0
cmp byte [esp + 0x34], 0
je 0x42bdc0
cmp dword [esp + 0x38], 8
jne 0x42bdc0
test ebp, ebp
jne 0x42bdc0
test eax, eax
lea ebp, [ebx*4]
je 0x42c050
mov eax, dword [esp + 0x28]
mov edx, 0x40
lea esi, [eax + ebp]
test esi, 1
mov edi, esi
jne 0x42c0bd
test edi, 2
jne 0x42c0ac
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x42bd3c
xor ecx, ecx
add edi, 2
mov word [edi - 2], cx
and edx, 1
je 0x42bd44
mov byte [edi], 0
mov edi, esi
jmp 0x42c06d
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00434470
mov dword [esp], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], esi
call fcn.0042b620
mov edx, ebp
mov eax, dword [esp + 0x28]
neg edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
add eax, dword [esp + 0x2c]
mov dword [esp], edi
call fcn.0042b620
xor eax, eax
cmp byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
jne 0x42bcdd
lea esi, [esi]
mov edi, dword [esp + 0x28]
test eax, eax
lea eax, [ebx*4]
mov dword [esp + 0x48], eax
lea edi, [edi + ebx*8]
mov dword [esp + 0x34], edi
jne 0x42c000
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, edx
add edi, eax
mov eax, dword [esp + 0x34]
add ecx, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, edi
call fcn.0042bbb0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 4], 0
call fcn.0042bbb0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp + 0x24], eax
call fcn.0042bbb0
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00434210
mov dword [esp + 0xc], ebx
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42bfe0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00434340
sub esi, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.00434210
add esi, eax
je 0x42bc24
add ebx, dword [esp + 0x38]
lea edx, [ebp + ebx*4]
mov eax, dword [edx]
add eax, esi
cmp esi, eax
mov dword [edx], eax
jbe 0x42bc24
add edx, 4
add dword [edx], 1
je 0x42bef6
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x3c]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
call fcn.0042b620
mov edx, ebp
mov eax, dword [esp + 0x28]
neg edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
add eax, dword [esp + 0x2c]
mov dword [esp], edi
call fcn.0042b620
xor eax, eax
mov dword [esp + 0x3c], 1
jmp 0x42bcd2
mov eax, dword [esp + 0x3c]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
call fcn.0042b620
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
add eax, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.0042b620
xor eax, eax
mov dword [esp + 0x3c], 0
jmp 0x42bcd2
mov dword [esp], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], esi
call fcn.0042b620
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
add eax, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.0042b620
xor eax, eax
mov dword [esp + 0x3c], 1
jmp 0x42bcd2
mov eax, dword [esp + 0x28]
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00434210
add esi, eax
jmp 0x42beba
mov edi, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
add edi, eax
mov dword [esp], edi
call sub.msvcrt.dll_memset
jmp 0x42be12
mov eax, dword [esp + 0x20]
add ebx, edi
neg esi
add ebx, ebp
shl esi, 2
mov dword [esp + 0x78], esi
lea eax, [eax + ebx*4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp sub.msvcrt.dll_memset
mov esi, dword [esp + 0x28]
mov eax, esi
add eax, dword [esp + 0x2c]
lea edi, [esi + ebp]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.00434470
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp], esi
add ebp, esi
mov dword [esp + 4], eax
call fcn.00434470
mov eax, dword [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.00434470
jmp 0x42be72
xor eax, eax
add edi, 2
mov word [edi - 2], ax
sub edx, 2
jmp 0x42bd25
mov byte [esi], 0
lea edi, [esi + 1]
mov dl, 0x3f
jmp 0x42bd19