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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48264d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
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 ebx, ecx
mov dword [ebp - 0x10], ebx
xor esi, esi
mov dword [ebp - 0x2c], esi
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], edi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], edi
cmp byte [eax + 0x40], 0
je 0x42e297
push 8
call fcn.00436c23
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov dword [edi + 4], esi
push edi
mov dword [edi], vtable.CStdInFileStream.0
call dword [0x48c5ec]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], edi
mov dword [eax + 0x34], edi
jmp 0x42e3dd
cmp dword [eax + 0x30], 0
jne 0x42e3dd
push 0x24
call fcn.00436c23
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], esi
mov dword [esi + 4], vtable.IStreamGetSize.0
mov dword [esi + 8], vtable.IStreamGetProps.0
mov dword [esi + 0xc], vtable.IStreamGetProps2.0
mov dword [esi + 0x10], 0
mov dword [esi], vtable.CInFileStream.3.0
mov dword [esi + 4], vtable.CInFileStream.2.0
mov dword [esi + 8], vtable.CInFileStream.1.0
mov dword [esi + 0xc], vtable.CInFileStream.0
mov dword [esi + 0x14], 0xffffffff
push esi
mov byte [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call dword [0x48be9c]
lea ecx, [ebx + 0x70]
mov dword [ebp - 0x2c], esi
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x42e377
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
cmp eax, dword [ecx + 8]
jbe 0x42e35c
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
mov ebx, eax
add esp, 4
mov eax, dword [ebp - 0x18]
push dword [eax]
call fcn.00436a37
mov ecx, dword [ebp - 0x18]
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ecx], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
lea eax, [eax*2 + 2]
push eax
push dword [ebx + 0x7c]
push dword [ecx]
call fcn.00441fd0
add esp, 0xc
lea ecx, [ebx + 0x70]
push ecx
push 3
push 1
push SysReAllocStringLen
push dword [ecx]
lea ecx, [esi + 0x14]
call fcn.0040feb0
test al, al
jne 0x42e3d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xb
test edi, edi
je 0x42e3a9
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov dword [ebp - 4], 0xc
test esi, esi
je 0x42e3ba
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], esi
mov byte [ebx + 0xdf], 1
push eax
mov ecx, ebx
call fcn.0042dde0
mov dword [ebp - 0x24], eax
mov byte [ebx + 0xdf], 0
cmp eax, 1
jne 0x42e398
cmp dword [ebp - 0x1c], 0
je 0x42e398
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
je 0x42e398
cmp byte [ebx + 0x43], 0
je 0x42e40f
test byte [ebx + 0x44], 1
je 0x42e398
mov eax, dword [ebx + 0x80]
cmp eax, 4
jbe 0x42e7cf
mov ecx, eax
mov edx, str..exe
mov eax, dword [ebx + 0x7c]
add ecx, 0xfffffffc
lea ecx, [eax + ecx*2]
call fcn.00409730
test al, al
je 0x42e7cf
mov eax, dword [ebx + 0x80]
mov edx, 2
lea ecx, [eax - 4]
cmp ecx, eax
cmova ecx, eax
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [ebp - 0x30], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
mov ebx, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
add ebx, ebx
push ebx
push dword [ecx + 0x7c]
mov dword [ebp - 0x54], eax
push eax
call fcn.00441fd0
mov eax, dword [ebp - 0x54]
xor ecx, ecx
add esp, 0xc
mov word [eax + ebx], cx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
mov dword [ebp - 0x24], ecx
mov eax, dword [eax]
cmp dword [eax + 0xc], ecx
jbe 0x42e7c4
nop word [eax + eax]
mov eax, dword [eax + 8]
mov edx, str.Split
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebx + 0xc]
call fcn.00409730
test al, al
jne 0x42e7af
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x54]
push eax
call fcn.00441fd0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov eax, ecx
shr eax, 1
add ecx, 0x10
add eax, ecx
mov byte [ebp - 4], 7
and eax, 0xfffffff0
lea ecx, [ebp - 0x3c]
dec eax
push eax
call fcn.00409aa0
mov eax, dword [ebp - 0x38]
mov edx, 0x2e
mov ecx, dword [ebp - 0x3c]
mov word [ecx + eax*2], dx
inc eax
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], eax
mov word [ecx + eax*2], dx
cmp dword [ebx + 0x1c], edx
jne 0x42e565
push 8
call fcn.00436ba1
xor ebx, ebx
mov dword [ebp - 0x48], eax
add esp, 4
mov dword [ebp - 0x44], ebx
xor ecx, ecx
mov dword [ebp - 0x40], 3
mov word [eax], cx
jmp 0x42e5b1
mov eax, dword [ebx + 0x18]
xor ecx, ecx
mov edx, 2
mov ebx, dword [eax]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x20], eax
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x48], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebx]
push ecx
call fcn.00441fd0
mov ebx, dword [ebp - 0x20]
add esp, 0xc
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp ebx, eax
jbe 0x42e5df
add ecx, ebx
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [ebp - 0x3c]
and eax, 0xfffffff0
dec eax
push eax
call fcn.00409aa0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x3c]
lea ecx, [eax + ecx*2]
lea eax, [ebx*2 + 2]
push eax
push dword [ebp - 0x48]
push ecx
call fcn.00441fd0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov byte [ebp - 4], 7
add ecx, ebx
mov dword [ebp - 0x38], ecx
push dword [ebp - 0x48]
call fcn.00436a37
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x3c]
add ebx, 0x70
add esp, 4
cmp eax, ebx
je 0x42e678
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebx + 8]
jbe 0x42e660
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
mov ebx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
push dword [eax + 0x70]
call fcn.00436a37
mov eax, dword [ebp - 0x10]
add esp, 4
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x78], ecx
mov dword [eax + 0x70], ebx
lea ebx, [eax + 0x70]
mov eax, ecx
mov dword [ebx + 4], eax
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x3c]
push dword [ebx]
call fcn.00441fd0
add esp, 0xc
push str..001
mov ecx, ebx
call fcn.0040a490
mov eax, dword [ebp + 8]
push dword [ebx]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x20], eax
lea ecx, [eax + 0x20]
call fcn.0040f070
test al, al
je 0x42e6ac
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
shr eax, 4
test al, 1
je 0x42e730
lea eax, [ebp - 0x3c]
cmp eax, ebx
je 0x42e70c
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebx + 8]
jbe 0x42e6f4
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
mov ecx, dword [ebp - 0x10]
add esp, 4
mov ebx, eax
push dword [ecx + 0x70]
call fcn.00436a37
mov ecx, dword [ebp - 0x10]
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x70], ebx
lea ebx, [ecx + 0x70]
mov dword [ebx + 4], eax
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x3c]
push dword [ebx]
call fcn.00441fd0
add esp, 0xc
mov eax, dword [ebp + 8]
push dword [ebx]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x20], eax
lea ecx, [eax + 0x20]
call fcn.0040f070
test al, al
je 0x42e7a0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
shr eax, 4
test al, 1
jne 0x42e7a0
push ecx
mov ecx, dword [ebp - 0x1c]
push 3
push 1
push SysReAllocStringLen
push dword [ebx]
lea ecx, [ecx + 0x14]
call fcn.0040feb0
test al, al
je 0x42e7a0
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
mov edx, dword [ebp + 8]
push edx
mov dword [edx + 0x30], esi
mov eax, dword [ecx + 0x58]
mov dword [ecx + 0x4c], 0xffffffff
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x5c], 0
mov word [eax], bx
mov eax, dword [ecx + 0x64]
mov dword [ecx + 0x68], ebx
mov word [eax], bx
call fcn.0042dde0
test eax, eax
je 0x42e7d9
mov byte [ebp - 4], 6
push dword [ebp - 0x3c]
call fcn.00436a37
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [eax]
cmp ecx, dword [eax + 0xc]
jb 0x42e4b0
push dword [ebp - 0x54]
call fcn.00436a37
add esp, 4
mov ebx, 1
jmp 0x42e39b
push dword [ebp - 0x3c]
call fcn.00436a37
add esp, 4
push dword [ebp - 0x54]
call fcn.00436a37
add esp, 4
xor ebx, ebx
jmp 0x42e39b