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

Disassembly:
push 0xffffffffffffffff
push 0x4852ec
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2068]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [esp + 0x78]
mov eax, dword [ebx]
mov esi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x46505c
mov eax, esi
mov ecx, ebx
call fcn.00402222
mov eax, dword [ebx]
mov ebp, dword [sym.imp.MSVCR80.dll__wcslwr_s]
lea ecx, [esi + 1]
push ecx
push eax
call ebp
add esp, 8
test esi, esi
jl 0x465560
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x465560
mov dword [eax - 0xc], esi
mov edx, dword [ebx]
mov word [edx + esi*2], 0
mov eax, dword [edi]
mov esi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x4650ab
mov eax, esi
mov ecx, edi
call fcn.00402222
mov eax, dword [edi]
lea ecx, [esi + 1]
push ecx
push eax
call ebp
add esp, 8
test esi, esi
jl 0x465560
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x465560
mov ebp, dword [esp + 0x74]
mov dword [eax - 0xc], esi
mov edx, dword [edi]
push ebx
lea eax, [esp + 0x2c]
add ebp, 8
push eax
mov ebx, ebp
mov word [edx + esi*2], 0
call fcn.00410d0e
mov esi, dword [eax]
test esi, esi
mov ecx, dword [ebp + 4]
mov ebx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
je 0x4650fd
cmp esi, ebp
je 0x465103
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0x1c]
je 0x4652da
test esi, esi
jne 0x465117
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 4]
jne 0x465122
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
lea edx, [esp + 0x24]
lea ebp, [ebx + 0x10]
push edx
mov ebx, ebp
call fcn.0040c3e0
mov esi, dword [eax]
test esi, esi
mov ebx, dword [eax + 4]
mov eax, dword [ebp + 4]
mov dword [esp + 0x1c], eax
je 0x465146
cmp esi, ebp
je 0x46514c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esp + 0x1c]
je 0x46519c
test esi, esi
jne 0x46515c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 4]
jne 0x465167
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x7c]
test esi, esi
lea edi, [ebx + 0x10]
jne 0x465183
xor eax, eax
mov ebx, eax
push esi
mov eax, edi
call fcn.004023bb
jmp 0x465545
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 4
mov ebx, eax
push esi
mov eax, edi
call fcn.004023bb
jmp 0x465545
mov ecx, dword [esp + 0x7c]
mov eax, dword [edi]
push ecx
push ecx
sub eax, 0x10
mov dword [esp + 0x84], esp
mov esi, esp
call fcn.00402441
add eax, 0x10
mov dword [esi], eax
lea esi, [esp + 0x28]
call fcn.00411628
add esp, 8
mov esi, eax
mov dword [esp + 0x6c], 0
mov eax, dword [esi]
sub eax, 0x10
call fcn.00402441
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x6c], 1
mov eax, dword [0x4b457c]
mov esi, dword [esi + 4]
lea edx, [esp + 0x1c]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x4b457c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
test esi, esi
mov byte [esp + 0x6c], 2
je 0x465236
test esi, 0xffff0000
jne 0x46523a
movzx esi, si
push esi
call fcn.00401ee8
add esp, 4
test eax, eax
je 0x465250
push esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004020ab
jmp 0x465250
xor eax, eax
jmp 0x465244
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 4
mov ebx, eax
push esi
lea eax, [esp + 0x20]
call fcn.004023bb
lea ecx, [esp + 0x18]
push ecx
push ebp
lea ebx, [esp + 0x3c]
mov byte [esp + 0x74], 3
call fcn.004108d0
mov byte [esp + 0x6c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x465289
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4652a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465545
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x465545
call fcn.0040f74f
mov dword [esp + 0x2c], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [eax], eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 8], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x6c], 4
mov ecx, dword [esp + 0x7c]
mov eax, dword [edi]
push ecx
push ecx
sub eax, 0x10
mov dword [esp + 0x84], esp
mov esi, esp
call fcn.00402441
add eax, 0x10
mov dword [esi], eax
lea esi, [esp + 0x28]
call fcn.00411628
add esp, 8
mov esi, eax
mov byte [esp + 0x6c], 5
mov eax, dword [esi]
sub eax, 0x10
call fcn.00402441
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x6c], 6
mov eax, dword [0x4b457c]
mov esi, dword [esi + 4]
lea edx, [esp + 0x1c]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x4b457c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
test esi, esi
mov byte [esp + 0x6c], 7
je 0x4653a2
test esi, 0xffff0000
jne 0x4653a6
movzx esi, si
push esi
call fcn.00401ee8
add esp, 4
test eax, eax
je 0x4653bc
push esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004020ab
jmp 0x4653bc
xor eax, eax
jmp 0x4653b0
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 4
mov ebx, eax
push esi
lea eax, [esp + 0x20]
call fcn.004023bb
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ebx, [esp + 0x3c]
mov byte [esp + 0x74], 8
call fcn.004108d0
mov byte [esp + 0x6c], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4653f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465419
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 4
mov byte [esp + 0x6c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46543f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub esp, 0xc
mov dword [esp + 0x88], esp
mov eax, esp
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.00410892
mov edx, dword [esp + 0x84]
mov byte [esp + 0x78], 9
mov eax, dword [edx]
push ecx
sub eax, 0x10
mov dword [esp + 0x84], esp
mov esi, esp
call fcn.00402441
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x80], bl
call fcn.0041169d
add esp, 0x14
mov esi, eax
mov byte [esp + 0x6c], 0xa
mov eax, dword [esi]
sub eax, 0x10
call fcn.00402441
add eax, 0x10
mov dword [esp + 0x40], eax
add esi, 4
push esi
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x74], 0xb
call fcn.00410892
lea edx, [esp + 0x40]
push edx
push ebp
lea ebx, [esp + 0x3c]
mov byte [esp + 0x74], 0xc
call fcn.00410992
lea eax, [esp + 0x44]
mov byte [esp + 0x6c], 0xd
call fcn.0040f386
mov byte [esp + 0x6c], 0xa
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465501
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x54]
mov byte [esp + 0x6c], 0xe
call fcn.0040f386
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465534
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x28]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0040f386
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
push 0x80070057
call fcn.00402429
int3