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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481eed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x496004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [eax], 0
cmp byte [edi + 0x54], 0
jne 0x42a354
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x42a2ae
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x42a5d1
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp word [eax], si
je 0x42a2c0
inc esi
cmp word [eax + esi*2], 0
jne 0x42a2b8
xor ecx, ecx
mov dword [ebp - 0x34], 0
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436c01
add esp, 4
mov dword [ebp - 0x30], esi
lea ecx, [esi*2 + 2]
mov dword [ebp - 0x2c], esi
mov ebx, eax
mov dword [ebp + 8], ebx
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x34], ebx
push ebx
call fcn.00441f60
mov byte [ebp - 4], 1
push 8
mov dword [ebp - 0x28], 0
call fcn.00436c01
xor ecx, ecx
mov dword [ebp - 0x28], eax
add esp, 0x10
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 3
mov word [eax], cx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0xc]
mov edx, ebx
push eax
call fcn.00410ce0
test al, al
jne 0x42a36d
push dword [ebp - 0x28]
call fcn.00436a97
push ebx
call fcn.00436a97
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp - 0x28]
lea eax, [edi + 0x1c]
push esi
mov ecx, eax
call fcn.0040f070
test al, al
jne 0x42a382
push esi
jmp 0x42a346
mov eax, dword [edi + 0x3c]
shr eax, 4
test al, 1
jne 0x42a37f
push 0x30
call fcn.00436c83
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xffffffff
mov byte [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx], vtable.CInFileStreamVol.3.0
mov dword [ebx + 4], vtable.CInFileStreamVol.2.0
mov dword [ebx + 8], vtable.CInFileStreamVol.1.0
mov dword [ebx + 0xc], vtable.CInFileStreamVol.0
push ebx
mov dword [ebx + 0x2c], 0
call dword [0x48c4c4]
push ecx
push 3
push 1
push SysReAllocStringLen
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x14]
push dword [ebp - 0x28]
call fcn.0040feb0
test al, al
jne 0x42a485
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x42a447
mov byte [ebp - 4], 4
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push dword [ebp - 0x28]
call fcn.00436a97
push dword [ebp + 8]
call fcn.00436a97
add esp, 8
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
jle 0x42a452
movzx esi, si
or esi, 0x80070000
mov byte [ebp - 4], 5
mov ecx, dword [ebx]
push ebx
call dword [ecx + 8]
push dword [ebp - 0x28]
call fcn.00436a97
push dword [ebp + 8]
call fcn.00436a97
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x18], eax
cmp dword [edi + 0x80], ecx
jne 0x42a4f6
mov eax, ecx
mov edx, 8
inc ecx
shr eax, 2
add eax, ecx
xor ecx, ecx
mov dword [ebp + 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436c01
mov ecx, dword [edi + 0x80]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x42a4df
shl ecx, 3
push ecx
push dword [edi + 0x7c]
push esi
call fcn.00441f60
add esp, 0xc
push dword [edi + 0x7c]
call fcn.00436a97
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [edi + 0x7c], esi
mov dword [edi + 0x84], eax
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x7c]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*8], edx
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax*8 + 4], edx
lea eax, [ebp - 0x34]
inc dword [edi + 0x80]
lea ecx, [edi + 0x64]
push eax
call fcn.00408e20
mov ecx, dword [edi + 0x78]
cmp dword [edi + 0x74], ecx
jne 0x42a564
mov eax, ecx
inc ecx
shr eax, 2
add eax, ecx
push eax
mov dword [ebp + 0xc], eax
call fcn.00436c01
mov ecx, dword [edi + 0x74]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x42a550
push ecx
push dword [edi + 0x70]
push esi
call fcn.00441f60
add esp, 0xc
push dword [edi + 0x70]
call fcn.00436a97
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [edi + 0x70], esi
mov dword [edi + 0x78], eax
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x70]
mov byte [ecx + eax], 1
mov ecx, dword [edi + 0x74]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
add edi, 0xfffffffc
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edi
je 0x42a588
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x42a595
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x2c], edi
mov dword [eax], ebx
push dword [ebp - 0x28]
call fcn.00436a97
push dword [ebp + 8]
call fcn.00436a97
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc