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

Disassembly:
push 0xffffffffffffffff
push 0x4d6d53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x1c], esi
call fcn.0045c5a0
mov eax, dword [esi + 0x5a54]
xor ebx, ebx
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x78], ebx
call fcn.0045f370
mov edi, dword [esp + 0x7c]
mov ebp, dword [sym.imp.MSVCRT.dll_wcscmp]
add esi, 0x9280
mov dword [esp + 0x2c], ebx
lea eax, [edi + 8]
push eax
push esi
mov dword [esp + 0x38], eax
call ebp
add esp, 8
test eax, eax
jne 0x459fa6
cmp dword [edi + 0x24a28], ebx
je 0x459fa6
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], 1
mov word [esi], bx
mov dword [ecx + 0x9268], ebx
jmp 0x459ff1
mov edi, dword [esp + 0x30]
push edi
push esi
call ebp
add esp, 8
test eax, eax
jne 0x459fdc
lea ecx, [esp + 0x54]
mov dword [esp + 0x74], 1
call fcn.0045f5d0
lea ecx, [esp + 0x54]
mov dword [esp + 0x74], 0xffffffff
call fcn.00408280
jmp 0x45a302
push edi
push 0x4ef254
push 0x823
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov ecx, dword [esp + 0x1c]
push 1
call fcn.00459e50
mov eax, dword [esp + 0x58]
cmp eax, ebx
jne 0x45a00a
mov dword [esp + 0x28], ebx
jmp 0x45a017
mov ecx, dword [esp + 0x5c]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x28]
xor ecx, ecx
cmp edx, ebx
mov dword [esp + 0x40], ecx
jle 0x45a2e4
mov edx, dword [esp + 0x2c]
mov edi, dword [eax + ecx*4]
cmp edx, ebx
jne 0x45a2d3
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], 0x24
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x45a2ae
push 0xc
xor ebp, ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0x74], 2
je 0x45a087
push esi
mov ecx, eax
call fcn.0045a320
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x45a08d
mov dword [esp + 0x10], ebx
mov esi, ebx
cmp esi, ebx
mov byte [esp + 0x74], bl
mov dword [esp + 0x44], esi
jne 0x45a0a3
push 0x8007000e
call fcn.004d2836
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x14], ebx
mov dword [esp + 0x7c], ebx
mov edx, dword [edi]
lea eax, [esp + 0x20]
push eax
push edi
mov byte [esp + 0x7c], 6
mov dword [esp + 0x28], ebx
call dword [edx + 0x24]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call fcn.0045beb0
cmp eax, ebx
jge 0x45a0e6
cmp eax, 0x80004002
je 0x45a0e6
push eax
call fcn.004d2836
cmp dword [esp + 0x14], ebx
je 0x45a122
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x45a0fa
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], ebx
cmp eax, ebx
jne 0x45a110
push 0x80004003
call fcn.004d2836
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x7c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x45a23d
cmp esi, ebx
je 0x45a136
mov esi, dword [esi]
jmp 0x45a138
xor esi, esi
cmp eax, ebx
jne 0x45a14a
push 0x80004003
call fcn.004d2836
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push ebx
push 1
push esi
push eax
call dword [ecx + 0x64]
test eax, eax
jne 0x45a21a
cmp word [esp + 0x34], 0xffff
jne 0x45a21a
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x38]
push ebx
push eax
mov edx, dword [ecx*4 + 0x4fd024]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x84]
push edx
push str.000000
push eax
push ecx
push edi
mov dword [esp + 0x54], ebx
call fcn.0045eb30
mov eax, dword [esp + 0x98]
add esp, 0x1c
cmp eax, ebx
jne 0x45a1b7
push 0x80004003
call fcn.004d2836
mov eax, dword [esp + 0x7c]
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], eax
lea ecx, [edx + 0x9270]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], edi
mov edx, dword [ecx + 8]
push eax
push 1
push edx
call fcn.0045bb80
mov eax, dword [esp + 0x7c]
cmp eax, ebx
jne 0x45a201
push 0x80004003
call fcn.004d2836
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x10]
mov ebp, 1
jmp 0x45a12e
cmp ebp, ebx
je 0x45a235
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4fd020]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jle 0x45a235
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x74], 5
je 0x45a24c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x74], 4
cmp eax, ebx
je 0x45a25f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x74], 3
cmp eax, ebx
je 0x45a272
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp esi, ebx
mov byte [esp + 0x74], bl
je 0x45a2ae
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45a2ae
mov eax, dword [esi]
cmp eax, ebx
je 0x45a295
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x45a2a5
push eax
call fcn.004d2909
add esp, 4
push esi
call fcn.004d2909
add esp, 4
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
add esi, 0x1048
dec eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], eax
jne 0x45a04c
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
inc ecx
cmp ecx, edx
mov dword [esp + 0x40], ecx
jl 0x45a029
lea ecx, [esp + 0x54]
mov dword [esp + 0x74], 7
call fcn.0045f5d0
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004d2909
add esp, 4
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4