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

Disassembly:
sub esp, 0x488
mov eax, dword [0x6516c6d0]
xor eax, esp
mov dword [esp + 0x484], eax
mov eax, dword [esp + 0x494]
push ebx
mov ebx, dword [esp + 0x494]
push ebp
push esi
mov esi, dword [esp + 0x498]
push edi
xor ebp, ebp
push 0x2c
mov dword [esp + 0x30], eax
xor eax, eax
lea ecx, [esp + 0x4c]
push ebp
push ecx
mov dword [esp + 0x34], 0x80004005
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebp
call sub.MSVCR80.dll_memset
push 0x40e
mov al, 0xc2
lea edx, [esp + 0x96]
push ebp
push edx
mov dword [esp + 0x8c], 0xaac56b
mov word [esp + 0x90], 0xcd44
mov word [esp + 0x92], 0x11d0
mov byte [esp + 0x94], 0x8c
mov byte [esp + 0x95], al
mov byte [esp + 0x96], 0
mov byte [esp + 0x97], 0xc0
mov byte [esp + 0x98], 0x4f
mov byte [esp + 0x99], al
mov byte [esp + 0x9a], 0x95
mov byte [esp + 0x9b], 0xee
mov word [esp + 0x9c], bp
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0x18
xor edi, edi
cmp dword [esi + 8], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ebp
je 0x65148f99
cmp ebx, ebp
je 0x65148f99
cmp dword [esp + 0x2c], ebp
je 0x65148f99
cmp dword [esp + 0x4b0], ebp
je 0x65148bd0
push ebx
call fcn.651488e0
add esp, 4
test eax, eax
je 0x65148f8b
xor eax, eax
push 0x208
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x88]
push eax
push 0xffffffffffffffff
push ebx
push ebp
push ebp
mov dword [esp + 0x4c], 0x10
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x65148f99
push 0x30
lea edx, [esp + 0x48]
lea ecx, [esp + 0x88]
push ebp
push edx
mov dword [esp + 0x44], ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x78]
lea eax, [esp + 0x38]
push edx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x14]
mov edi, 1
push ebp
mov dword [esp + 0x50], 0x30
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], 2
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], pe_nt_image_headers32
mov dword [esp + 0x7c], ebp
call eax
cmp eax, ebp
je 0x65148c89
cmp eax, 0x800b0101
jne 0x65148f73
cmp dword [esp + 0x4a8], ebp
je 0x65148f8b
cmp dword [esp + 0x4ac], ebp
je 0x65148f8b
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x14]
xor eax, eax
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push ebx
push esi
call ecx
test eax, eax
jl 0x65148f99
mov edx, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edx
push 0x40
call ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
push eax
push 0x40
call ebp
mov ecx, dword [esp + 0x18]
push ecx
push 0x40
mov dword [esp + 0x1c], eax
call ebp
cmp dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
je 0x65148f97
cmp dword [esp + 0x14], 0
je 0x65148f97
test eax, eax
je 0x65148faa
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
push esi
call edx
test eax, eax
jl 0x65148f97
mov bl, byte [esp + 0x4a8]
test bl, 4
mov ebp, dword [esp + 0x4ac]
je 0x65148df8
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x65148df8
mov eax, dword [ebp + 0x10]
cmp eax, dword [esp + 0x20]
jne 0x65148f87
cmp eax, 4
mov edx, dword [esp + 0x24]
jb 0x65148d8a
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x65148d8e
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x65148d76
test eax, eax
je 0x65148deb
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x65148ddd
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x65148deb
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x65148ddd
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x65148deb
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x65148ddd
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x65148deb
movzx esi, byte [edx]
movzx eax, byte [ecx]
sub esi, eax
je 0x65148deb
test esi, esi
mov eax, 1
jg 0x65148ded
or eax, 0xffffffff
jmp 0x65148ded
xor eax, eax
test eax, eax
jne 0x65148f87
lea edi, [eax + 1]
test bl, 1
je 0x65148ea4
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x65148ea4
mov eax, dword [ebp]
cmp eax, dword [esp + 0x10]
jne 0x65148f87
cmp eax, 4
mov edx, dword [esp + 0x14]
jb 0x65148e36
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x65148e3a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x65148e22
test eax, eax
je 0x65148e97
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x65148e89
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x65148e97
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x65148e89
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x65148e97
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x65148e89
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x65148e97
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x65148e97
test esi, esi
mov eax, 1
jg 0x65148e99
or eax, 0xffffffff
jmp 0x65148e99
xor eax, eax
test eax, eax
jne 0x65148f87
lea edi, [eax + 1]
test bl, 2
je 0x65148f89
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x65148f89
mov eax, dword [ebp + 8]
cmp eax, dword [esp + 0x18]
jne 0x65148f87
cmp eax, 4
mov edx, dword [esp + 0x1c]
jb 0x65148ee4
mov edi, edi
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x65148ee8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x65148ed0
test eax, eax
je 0x65148f5a
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x65148f37
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x65148f5a
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x65148f37
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x65148f5a
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x65148f37
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x65148f5a
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x65148f5a
test esi, esi
mov eax, 1
jg 0x65148f5c
mov edx, dword [esp + 0x2c]
xor ecx, ecx
or eax, 0xffffffff
test eax, eax
sete cl
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov edi, ecx
mov dword [edx], edi
jmp 0x65148f99
xor eax, eax
mov edx, dword [esp + 0x2c]
xor ecx, ecx
test eax, eax
sete cl
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov edi, ecx
mov dword [edx], edi
jmp 0x65148f99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x2c]
xor edi, edi
mov dword [edx], edi
mov dword [esp + 0x28], ebp
jmp 0x65148f99
xor edi, edi
xor ebp, ebp
mov edx, dword [esp + 0x2c]
mov dword [edx], edi
mov dword [esp + 0x28], ebp
jmp 0x65148f99
xor ebp, ebp
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x65148fac
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x65148fac
xor ebp, ebp
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x65148fbb
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x24]
pop edi
pop esi
cmp eax, ebp
pop ebp
pop ebx
je 0x65148fce
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x484]
mov eax, dword [esp + 0x18]
xor ecx, esp
call fcn.6514af96
add esp, 0x488
ret 0x18