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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, ecx
xor edx, edx
push ebx
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], eax
mov cl, bl
mov eax, ebx
mov byte [esp + 0xb], cl
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], eax
mov eax, esi
div dword [0x44b978]
push edi
mov byte [esp + 0x4c], cl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
test edx, edx
jne 0x43d7f5
mov ecx, dword [0x44b960]
mov edi, dword [ebp + 0xc]
dec edi
add edi, ecx
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x1c]
not eax
and edi, eax
mov eax, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
cmp dword [ecx + 8], ebx
ja 0x43d7ff
push 4
push 0x2000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x43daca
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x60], esi
lea ecx, [ecx + 4]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], ebx
call fcn.0042a9e8
mov al, 1
test al, al
je 0x42a9d1
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
cmp esi, edi
jne 0x43dae6
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x43db10
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x10001a9a
jmp 0x43da63
add ecx, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov edx, ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x14
cmp eax, dword [ecx + 4]
jae 0x43db06
mov ecx, dword [ecx]
push ebx
add ecx, edx
push esi
mov dword [esp + 0x40], ecx
call fcn.0042cb49
test al, al
je 0x43d852
test edi, edi
je 0x43da3e
lea eax, [edi - 1]
push eax
push esi
call fcn.0042cb49
test al, al
jne 0x43da3e
mov ecx, dword [ecx]
mov dword [esp + 0x3c], ecx
cmp ecx, esi
ja 0x43d87f
sub ecx, esi
push ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x3c]
push esi
call fcn.0042cb49
mov ecx, dword [esp + 0x3c]
test al, al
je 0x43da07
mov edx, dword [esp + 0x30]
jmp 0x43d88f
mov edx, ecx
sub edx, esi
mov dword [esp + 0x30], edx
cmp edx, edi
jae 0x43da07
cmp esi, ecx
jae 0x43d976
mov eax, dword [esp + 0x18]
push 4
push 0x2000
push edx
push esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x43da6f
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x1c]
call fcn.004449a9
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
cmp edx, dword [eax + 4]
jae 0x43db06
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
add ecx, eax
inc dword [esp + 0x14]
add eax, 0x14
add dword [esp + 0x28], 0x14
inc edx
mov dword [esp + 0x24], eax
lea eax, [edi - 1]
push eax
push esi
mov dword [esp + 0x28], edx
call fcn.0042cb49
test al, al
jne 0x42a9bb
mov eax, dword [ecx + 8]
mov esi, dword [ecx]
add esi, eax
add eax, dword [esp + 0x30]
sub edi, eax
jmp 0x43d93f
lea eax, [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x58]
call fcn.004445a7
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
mov edx, dword [esp + 0x28]
inc dword [esp + 0x20]
add edx, 0x14
add dword [esp + 0x24], 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], edx
cmp eax, dword [ecx + 8]
jae 0x43da8d
mov ecx, dword [esp + 0x2c]
jmp 0x43d81c
jbe 0x43d9cc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push esi
push dword [esp + 0x1c]
call fcn.00444b04
test eax, eax
jne 0x43da33
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
inc ecx
mov edx, dword [esp + 0x28]
inc dword [esp + 0x20]
add edx, 0x14
add dword [esp + 0x24], 0x14
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edx
cmp ecx, dword [eax + 4]
jae 0x43db06
mov eax, dword [eax]
mov esi, dword [eax + edx]
add esi, dword [eax + edx + 8]
sub edi, dword [eax + edx + 8]
jmp 0x43d9dc
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 8]
sub edi, eax
lea esi, [ecx + eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
cmp edx, dword [esp + 0x34]
je 0x43d928
mov dword [edx], ecx
mov dword [edx + 4], eax
add edx, 8
mov dword [esp + 0x54], edx
jmp 0x43d93f
cmp ecx, esi
jb 0x43d943
push 4
push 0x2000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x43da9a
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov al, byte [esp + 0x4c]
jmp 0x42a9bd
cmp esi, dword [ecx]
je 0x43da69
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push esi
push dword [esp + 0x1c]
call fcn.00444b04
mov ecx, eax
test ecx, ecx
je 0x43da69
mov al, byte [esp + 0x4c]
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
jmp 0x43da86
mov al, 1
mov ecx, ebx
jmp 0x43da86
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov al, byte [esp + 0x4c]
mov ebx, ecx
jmp 0x42a9bd
mov al, byte [esp + 0x4c]
mov byte [esp + 0x13], al
jmp 0x42a97b
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], ebx
call fcn.004449a9
jmp 0x42a9bb
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov al, byte [esp + 0x13]
jmp 0x42a9bd
mov ecx, dword [esp + 0x48]
mov eax, dword [esi]
cmp eax, dword [ecx + 8]
jae 0x43db06
mov ecx, dword [ecx + 4]
imul edx, eax, 0x14
mov eax, dword [esi + 4]
add esi, 8
mov dword [edx + ecx + 0xc], eax
jmp 0x42a9c9
push 0x80070057
call fcn.004447dd
mov edx, dword [esp + 0x34]
sub edx, ecx
and edx, 0xfffffff8
call fcn.0042b89f
jmp 0x42a9dd