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

Disassembly:
push 0xffffffffffffffff
push 0x4d2c0b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517490]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00429869
test eax, eax
jne 0x42b48f
xor al, al
jmp 0x42b97b
cmp dword [ebx + 0x70], 0x17
jne 0x42b49c
and dword [ebx + 0x1c8], 0xfffffffb
mov eax, dword [ebx + 0x1f0]
cmp eax, 0xffffffff
je 0x42b4ae
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [ebx + 0x6a]
push 0
push eax
call fcn.0042768b
mov dword [ebx + 0x1f0], eax
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x42b50d
push dword [ebx + 0x74]
push 0xf4542bfb
push 0x88f449b2
push 0x58e8c711
call fcn.00401bb2
add esp, 0xc
push eax
push 3
push dword [ebx + 0x60]
call fcn.0041ffc2
mov dword [ebx + 0x74], 0xa
add esp, 0x10
mov al, byte [ebx + 0x26]
mov byte [ebx + 0x78], al
mov al, byte [ebx + 0x30]
mov byte [ebx + 0x79], al
mov al, byte [ebx + 0x31]
mov byte [ebx + 0x7a], al
jmp 0x42b488
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebx + 0x5c]
mov esi, eax
and dword [esp + 0x18], 0
push 0
push 0
call fcn.0044545d
mov ebp, dword [eax + 0x30]
test ebp, ebp
je 0x42b588
mov eax, dword [eax + 0x28]
mov ecx, ebx
push esi
mov edi, dword [eax + 8]
add edi, 0x7ff
shr edi, 0xb
push edi
push ebp
call fcn.00427637
cmp eax, edi
jne 0x42b588
lea eax, [ebx + 0x1d0]
push eax
lea eax, [ebx + 0x1cc]
push eax
mov eax, edi
shl eax, 0xb
push eax
push esi
call fcn.004348cb
add esp, 0x10
test eax, eax
jle 0x42b588
push esi
lea eax, [ebp - 1]
mov ecx, ebx
add eax, edi
push eax
push ebp
call fcn.00424d0c
test byte [ebx + 0x1c8], 4
je 0x42b67c
push 0
push 0x11d741da
push 0x6d772380
push 0xbd6bad41
call fcn.00401bb2
mov ecx, dword [ebx + 0x5c]
add esp, 0xc
push eax
call fcn.0044545d
mov ebp, eax
test ebp, ebp
je 0x42b67c
cmp byte [ebp + 0xc], 0
je 0x42b67c
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x42b67c
mov eax, dword [ebp + 0x28]
push esi
mov edi, dword [eax + 8]
add edi, 0x7ff
shr edi, 0xb
push edi
push ecx
mov ecx, ebx
call fcn.00427637
cmp eax, edi
jne 0x42b67c
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
mov eax, edi
shl eax, 0xb
push eax
push esi
call fcn.0043462f
add esp, 0xc
test eax, eax
jle 0x42b67c
mov ecx, dword [esp + 0x1c]
neg eax
mov dword [esp + 0x18], eax
push esi
lea eax, [ecx - 1]
add eax, edi
push eax
push ecx
mov ecx, ebx
call fcn.00424d0c
mov edi, dword [ebp + 0x14]
mov ecx, ebx
push esi
push 1
push edi
call fcn.00427637
cmp eax, 1
jne 0x42b65a
push dword [esp + 0x14]
push esi
call fcn.00434bcd
pop ecx
pop ecx
push esi
push edi
push edi
mov ecx, ebx
call fcn.00424d0c
push 0x9c48ae85
push 0xe0e8ccc5
push 0x30f44216
call fcn.00401bb2
push eax
push 1
push dword [ebx + 0x60]
call fcn.0041ffc2
add esp, 0x18
cmp dword [ebx + 0x70], 0x17
je 0x42b87d
lea ecx, [esp + 0x38]
call fcn.0044a189
mov ecx, dword [ebx + 0x1c8]
xor edx, edx
mov eax, ecx
and dword [esp + 0xc4], 0
shr eax, 9
inc edx
and al, 3
mov dword [esp + 0x60], ebx
mov byte [esp + 0x42], al
mov eax, dword [0x529a98]
mov ax, word [eax + 0x10]
mov word [esp + 0x44], ax
mov eax, ecx
shr eax, 3
and al, dl
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3b], al
mov al, cl
and al, dl
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], al
mov eax, ecx
shr ecx, 1
and cl, dl
shr eax, 2
and al, dl
mov byte [esp + 0x40], cl
lea ecx, [esp + 0x38]
mov byte [esp + 0x3f], al
call fcn.0044cd76
cmp dword [esp + 0x94], 0
je 0x42b72e
push dword [esp + 0x94]
push 0x11e7139d
push 0x6d4771e8
push 0xbd5bff13
call fcn.00401bb2
add esp, 0xc
xor ebp, ebp
inc ebp
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0041ffc2
add esp, 0x10
jmp 0x42b752
push 0x6fab0468
push 0x130b661f
push 0xc317e902
call fcn.00401bb2
push eax
xor ebp, ebp
inc ebp
push ebp
push dword [ebx + 0x60]
call fcn.0041ffc2
add esp, 0x18
cmp dword [esp + 0x98], 0
je 0x42b789
push dword [esp + 0x98]
push 0x9e4a2e6d
push 0xe2ea4c1f
push 0x32f6c32e
call fcn.00401bb2
add esp, 0xc
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0041ffc2
add esp, 0x10
jmp 0x42b7aa
push 0x3e02014
push 0x7f404260
push 0xaf5ccd0b
call fcn.00401bb2
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0041ffc2
add esp, 0x18
cmp dword [esp + 0x9c], 0
je 0x42b7e1
push dword [esp + 0x9c]
push 0x764bb2d9
push 0xaebd093
push 0xdaf75f1c
call fcn.00401bb2
add esp, 0xc
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0041ffc2
add esp, 0x10
jmp 0x42b802
push 0xa0666cd9
push 0xdcc60e95
push 0xcda813c
call fcn.00401bb2
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0041ffc2
add esp, 0x18
cmp dword [esp + 0xa0], 0
je 0x42b837
push dword [esp + 0xa0]
push 0x9e7bb4da
push 0xe2dbd693
push 0x32c75926
call fcn.00401bb2
add esp, 0xc
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0041ffc2
add esp, 0x10
cmp dword [esp + 0xa4], 0
je 0x42b86c
push dword [esp + 0xa4]
push 0x8bac6dbb
push 0xf70c0fc0
push 0x2710802b
call fcn.00401bb2
add esp, 0xc
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0041ffc2
add esp, 0x10
or dword [esp + 0xc4], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.0044a467
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x42b8b2
mov ecx, dword [ebx + 0x5c]
push esi
call fcn.00446d28
mov edi, eax
test edi, edi
je 0x42b8b2
mov ecx, dword [esi + 0x48]
push esi
add dword [esi + ecx*8 + 0x70], ebp
call fcn.0044998c
mov dword [esp], 0x800
mov ecx, ebx
push esi
push edi
push edi
call fcn.004249bf
push esi
call fcn.00404d44
mov edx, dword [ebx + 0x1f4]
pop ecx
test edx, edx
je 0x42b8e3
mov esi, dword [edx + 8]
test esi, esi
je 0x42b8e3
mov ecx, dword [edx]
mov eax, esi
shl eax, 0xb
push eax
push dword [edx + 0xc]
lea eax, [esi - 1]
add eax, ecx
push eax
push ecx
mov ecx, ebx
call fcn.004249bf
mov ecx, dword [ebx + 0x5c]
xor edx, edx
cmp dword [ecx + 8], edx
je 0x42b979
mov esi, dword [ecx + 0xc]
lea edi, [esp + 0x24]
xor eax, eax
stosd dword es:[edi], eax
push 1
push edx
push edx
push dword [ebx + 0x1f0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x44], 4
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub edi, esi
mov dword [esp + 0x28], eax
inc edi
lea eax, [esp + 0x20]
lea ebp, [ebx + 0x230]
shl edi, 0xb
push eax
mov ecx, ebp
mov dword [esp + 0x30], edi
call fcn.00459eb1
mov eax, dword [ebx + 0x5c]
mov ecx, ebx
push dword [esp + 0x2c]
push dword [eax + 8]
call fcn.00426b46
mov esi, dword [ebx + 0x5c]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x42b979
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x20]
sub edx, dword [esi + 0xc]
add edx, edi
mov dword [esp + 0x20], edi
push ecx
mov ecx, ebp
mov dword [esp + 0x28], edx
call fcn.00459eb1
mov al, 1
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004b94b6
add esp, 0xb4
ret