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

Disassembly:
push 0xffffffffffffffff
push 0x4d3255
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518450]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00429d91
test eax, eax
jne 0x42b9b7
xor al, al
jmp 0x42be99
cmp dword [ebx + 0x70], 0x17
jne 0x42b9c4
and dword [ebx + 0x1c8], 0xfffffffb
mov eax, dword [ebx + 0x1f0]
cmp eax, 0xffffffff
je 0x42b9d6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [ebx + 0x6a]
push 0
push eax
call fcn.00427bb4
mov dword [ebx + 0x1f0], eax
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x42ba35
push dword [ebx + 0x74]
push 0x713ac9ba
push 0xb3980193
push 0xf38488bb
call fcn.00401daa
add esp, 0xc
push eax
push 3
push dword [ebx + 0x60]
call fcn.0042040f
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 0x42b9b0
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.0044572d
mov ebp, dword [eax + 0x30]
test ebp, ebp
je 0x42bab0
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.00427b60
cmp eax, edi
jne 0x42bab0
lea eax, [ebx + 0x1d0]
push eax
lea eax, [ebx + 0x1cc]
push eax
mov eax, edi
shl eax, 0xb
push eax
push esi
call fcn.00434ead
add esp, 0x10
test eax, eax
jle 0x42bab0
push esi
lea eax, [ebp - 1]
mov ecx, ebx
add eax, edi
push eax
push ebp
call fcn.004251dd
test byte [ebx + 0x1c8], 4
je 0x42bba4
push 0
push 0x38291b83
push 0xfa8bd3b9
push 0xba975af3
call fcn.00401daa
mov ecx, dword [ebx + 0x5c]
add esp, 0xc
push eax
call fcn.0044572d
mov ebp, eax
test ebp, ebp
je 0x42bba4
cmp byte [ebp + 0xc], 0
je 0x42bba4
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x42bba4
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.00427b60
cmp eax, edi
jne 0x42bba4
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
mov eax, edi
shl eax, 0xb
push eax
push esi
call fcn.00434c11
add esp, 0xc
test eax, eax
jle 0x42bba4
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.004251dd
mov edi, dword [ebp + 0x14]
mov ecx, ebx
push esi
push 1
push edi
call fcn.00427b60
cmp eax, 1
jne 0x42bb82
push dword [esp + 0x14]
push esi
call fcn.004351af
pop ecx
pop ecx
push esi
push edi
push edi
mov ecx, ebx
call fcn.004251dd
push 0x7f8910b2
push 0xbd2bd892
push 0xfd3751ca
call fcn.00401daa
push eax
push 1
push dword [ebx + 0x60]
call fcn.0042040f
add esp, 0x18
lea ecx, [esp + 0x38]
call fcn.0044a587
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 [0x52aa58]
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.0044d197
cmp dword [esp + 0x94], 0
je 0x42bc4c
push dword [esp + 0x94]
push 0x5c60f9ec
push 0x9ec231f9
push 0xdedeb889
call fcn.00401daa
add esp, 0xc
xor ebp, ebp
inc ebp
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0042040f
add esp, 0x10
jmp 0x42bc70
push 0x2a5946b
push 0xc0075c7c
push 0x801bd4ea
call fcn.00401daa
push eax
xor ebp, ebp
inc ebp
push ebp
push dword [ebx + 0x60]
call fcn.0042040f
add esp, 0x18
cmp dword [esp + 0x98], 0
je 0x42bca7
push dword [esp + 0x98]
push 0xa66890cd
push 0x64ca58df
push 0x24d6d065
call fcn.00401daa
add esp, 0xc
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0042040f
add esp, 0x10
jmp 0x42bcc8
push 0x8a6551c0
push 0x48c799d4
push 0x8db1134
call fcn.00401daa
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0042040f
add esp, 0x18
cmp dword [esp + 0x9c], 0
je 0x42bcff
push dword [esp + 0x9c]
push 0x6ea7bde3
push 0xac0575c9
push 0xec19fdcd
call fcn.00401daa
add esp, 0xc
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0042040f
add esp, 0x10
jmp 0x42bd20
push 0xefddbdcb
push 0x2d7f75e7
push 0x6d63fdc5
call fcn.00401daa
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0042040f
add esp, 0x18
cmp dword [esp + 0xa0], 0
je 0x42bd55
push dword [esp + 0xa0]
push 0xced689d7
push 0xc7441fe
push 0x4c68c9c0
call fcn.00401daa
add esp, 0xc
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0042040f
add esp, 0x10
cmp dword [esp + 0xa4], 0
je 0x42bd8a
push dword [esp + 0xa4]
push 0xd9ec02c3
push 0x1b4ecad8
push 0x5b5242b8
call fcn.00401daa
add esp, 0xc
push eax
push ebp
push dword [ebx + 0x60]
call fcn.0042040f
add esp, 0x10
or dword [esp + 0xc4], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.0044a865
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x42bdd0
mov ecx, dword [ebx + 0x5c]
push esi
call fcn.00446ff8
mov edi, eax
test edi, edi
je 0x42bdd0
mov ecx, dword [esi + 0x48]
push esi
add dword [esi + ecx*8 + 0x70], ebp
call fcn.00449d8d
mov dword [esp], 0x800
mov ecx, ebx
push esi
push edi
push edi
call fcn.00424e90
push esi
call fcn.0040507c
mov edx, dword [ebx + 0x1f4]
pop ecx
test edx, edx
je 0x42be01
mov esi, dword [edx + 8]
test esi, esi
je 0x42be01
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.00424e90
mov ecx, dword [ebx + 0x5c]
xor edx, edx
cmp dword [ecx + 8], edx
je 0x42be97
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.0045a626
mov eax, dword [ebx + 0x5c]
mov ecx, ebx
push dword [esp + 0x2c]
push dword [eax + 8]
call fcn.00427017
mov esi, dword [ebx + 0x5c]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x42be97
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.0045a626
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.004b9a6c
add esp, 0xb4
ret