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

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.004a8430
mov dword [esi], 0x4f9a80
xor ebx, ebx
push 2
mov dword [esi + 0x90], ebx
call fcn.00449130
add esp, 4
cmp eax, ebx
mov dword [esi + 0x90], eax
je 0x45985b
mov word [eax], bx
push 2
mov dword [esi + 0x94], ebx
call fcn.00449130
add esp, 4
cmp eax, ebx
mov dword [esi + 0x94], eax
je 0x459878
mov word [eax], bx
push 2
mov dword [esi + 0x98], ebx
call fcn.00449130
add esp, 4
cmp eax, ebx
mov dword [esi + 0x98], eax
je 0x459895
mov word [eax], bx
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
lea eax, [esi + 0xa4]
mov dword [esi + 0xac], eax
lea eax, [esi + 0xb0]
mov dword [esi + 0xb8], eax
lea eax, [esi + 0xb4]
mov dword [esi + 0xbc], eax
push ebp
lea eax, [esi + 0xd4]
lea ebp, [esi + 0xa0]
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
je 0x4598ea
mov eax, ecx
mov dword [esi + 0xe0], eax
push 2
mov dword [esi + 0xf4], ebx
call fcn.00449130
add esp, 4
cmp eax, ebx
mov dword [esi + 0xf4], eax
je 0x45990d
mov word [eax], bx
mov dword [esi + 0x114], ebx
push 2
mov dword [esi + 0x118], ebx
call fcn.00449130
add esp, 4
cmp eax, ebx
mov dword [esi + 0x118], eax
je 0x459930
mov word [eax], bx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x144], 0x4efd50
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], ebx
mov byte [esi + 0x14c], bl
lea edx, [esi + 0x158]
mov edi, edx
xor eax, eax
mov ecx, 0xea
rep stosd dword es:[edi], eax
mov dword [edx], 0x3a8
mov dword [esi + 0x504], ebx
mov dword [esi + 0x508], ebx
mov byte [esi + 0x500], bl
lea edx, [esi + 0x50c]
mov edi, edx
mov ecx, 0xea
rep stosd dword es:[edi], eax
mov dword [edx], 0x3a8
mov word [esi + 0xf0], 0xc000
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov edx, dword [0x51d1cc]
push 1
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esi + 0x8c0], eax
mov eax, 0xff800000
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xe8], ebx
mov byte [esi + 0x6b], 1
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], eax
mov byte [esi + 0x8e], bl
mov byte [esi + 0x8d], bl
mov dword [esi + 0x9c], 0xffffff9c
mov dword [esi + 0x148], SysReAllocStringLen
mov dword [ebp], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x69], bl
mov byte [esi + 0x6a], bl
mov dword [esi + 0x138], ebx
mov dword [esi + 0x8bc], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov byte [esi + 0x110], bl
movzx eax, word [0x522010]
push 0x4f004f
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebp, [eax + 2]
mov dword [esp + 0x14], eax
lea eax, [ebp + ebp + 4]
push ebx
call fcn.00449190
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x459ab4
mov word [edi + ebp*2 + 2], bx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebp
push edi
push ecx
push 0x4f004f
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebp, eax
cmp ebp, ebx
jge 0x459ad4
xor ebp, ebp
lea eax, [ebp + ebp + 4]
push edi
mov word [edi + ebp*2], bx
call fcn.00449190
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x459af4
mov word [edi + ebp*2 + 2], bx
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x118]
call fcn.00456690
cmp edi, ebx
pop ebp
je 0x459b1b
mov ecx, dword [0x51d3c8]
add edi, 0xfffffff8
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
or eax, 0xffffffff
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], eax
pop edi
mov byte [esi + 0x11c], bl
mov byte [esi + 0xd0], bl
mov byte [esi + 0x140], bl
mov dword [esi + 0x48], ebx
mov dword [esi + 0x8b4], ebx
mov dword [esi + 0x8b8], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov eax, esi
pop esi
pop ebx
ret 0x1c