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

Disassembly:
sub esp, 0x2a4
push ebx
mov ebx, dword [esp + 0x2b0]
push ebp
push esi
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov eax, edx
push edi
cmp eax, edx
je 0x459b0b
mov esi, dword [eax]
add eax, 4
mov dword [ecx], esi
add ecx, 4
cmp eax, edx
jne 0x459afd
mov eax, dword [ebx + 8]
mov ebp, dword [esp + 0x2c0]
mov dword [esp + 0x34], eax
mov dword [ebx + 8], ecx
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esp + 0x2c4]
add eax, ebp
mov edx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
cmp edx, ecx
mov dword [esp + 0x28], edx
lea eax, [esi + edx]
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], eax
jae 0x45a08d
lea edi, [edx + 0x28]
cmp edi, ecx
jae 0x45a08d
cmp esi, ecx
jae 0x45a08d
cmp eax, ecx
jae 0x45a08d
mov edi, dword [edx + ebp + 0x14]
mov ecx, dword [edx + ebp + 0x18]
cmp edi, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], ecx
jb 0x45a08d
test edi, edi
jbe 0x45a08d
mov eax, dword [edx + ebp + 0x20]
cmp eax, edx
mov dword [esp + 0x1c], eax
jb 0x45a08d
shl ecx, 2
add ecx, eax
mov eax, dword [esp + 0x30]
cmp ecx, eax
jae 0x45a08d
mov ecx, dword [esp + 0x2c]
shl ecx, 2
cmp ecx, esi
jae 0x45a08d
mov esi, dword [edx + ebp + 0x24]
cmp esi, edx
jb 0x45a08d
mov ecx, dword [esp + 0x2c]
lea ecx, [esi + ecx*2]
cmp ecx, eax
jae 0x45a08d
mov ecx, dword [edx + ebp + 0x1c]
cmp ecx, edx
jb 0x45a08d
lea edx, [ecx + edi*4]
cmp edx, eax
jae 0x45a08d
mov edx, dword [esp + 0x18]
lea eax, [edi*4]
cmp eax, edx
jae 0x45a08d
mov eax, dword [esp + 0x1c]
add ecx, ebp
add eax, ebp
add esi, ebp
test edi, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], 0
jbe 0x45a08d
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c4]
mov esi, dword [ecx]
push esi
push edx
push ebp
call fcn.004599d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45a06d
push edi
call fcn.00459a30
add esp, 4
cmp al, 1
jne 0x45a06d
push edi
call fcn.00459a50
add esp, 4
test al, al
jne 0x45a06d
cmp esi, dword [esp + 0x2c4]
jae 0x45a06d
cmp esi, dword [esp + 0x28]
jb 0x459c7c
cmp esi, dword [esp + 0x30]
jb 0x45a06d
cmp esi, dword [esp + 0x2d0]
jae 0x45a06d
mov ecx, dword [esp + 0x2cc]
lea eax, [esi + ebp]
mov dword [esp + 0x24], eax
xor edi, edi
lea edx, [esi + ecx]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x2c4]
sub eax, ebp
cmp eax, ecx
jae 0x45a06d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2cc]
sub eax, edx
cmp eax, ecx
jae 0x45a06d
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x459ce9
inc edi
inc eax
inc edx
cmp edi, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
jb 0x459ca0
jmp 0x45a06d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.00459a60
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jbe 0x45a06d
cmp eax, 0x50
jae 0x45a06d
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x14], eax
jbe 0x459d42
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
xor ebp, ebp
mov bp, word [ecx]
cmp ebp, edx
je 0x459daa
mov ebp, dword [esp + 0x2c]
inc eax
add ecx, 2
cmp eax, ebp
jb 0x459d26
mov ebp, dword [esp + 0x2c0]
mov edx, dword [esp + 0x2c4]
mov ecx, dword [esp + 0x2c8]
lea eax, [edi + esi]
sub edx, edi
add eax, ecx
sub edx, esi
xor ecx, ecx
cmp edx, 0x10
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
jbe 0x459dd9
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x48]
mov ecx, dword [ecx + 0xc]
push edx
push eax
lea eax, [esp + 0x54]
push 0x10
push eax
mov dword [esp + 0x68], ecx
call fcn.0042d470
add esp, 0x10
cmp al, 1
jne 0x459dd5
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x60], ecx
jmp 0x459dd9
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + eax*4]
cmp eax, ecx
jb 0x459d3b
cmp eax, dword [esp + 0x30]
jae 0x459d3b
mov ebp, dword [esp + 0x2c0]
add eax, ebp
mov dword [esp + 0x14], eax
jmp 0x459d42
mov ecx, dword [esp + 0x60]
test ecx, ecx
mov word [esp + 0x64], 0
je 0x459e0d
push ecx
mov ecx, dword [esp + 0x2bc]
push ecx
call fcn.00458720
add esp, 8
test eax, eax
je 0x459e0d
push 0x104
lea edx, [esp + 0x68]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov byte [esp + 0x26c], 0
test eax, eax
je 0x459e3b
push 0x40
push eax
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov byte [esp + 0x2ab], 0
jmp 0x459e60
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x26c]
mov edx, dword [ecx + ebp + 0x10]
add edx, edi
push edx
push str._Ordinal:_d_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, esi
mov dword [esp + 0x2ac], ecx
sar eax, 2
cmp eax, 1
mov dword [esp + 0x14], edx
mov edi, esi
jae 0x459f75
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x459e9c
mov eax, esi
sub eax, ecx
sar eax, 2
cmp eax, 1
ja 0x459ea1
mov eax, 1
test ecx, ecx
jne 0x459ea9
xor esi, esi
jmp 0x459eae
sub esi, ecx
sar esi, 2
add eax, esi
test eax, eax
mov dword [esp + 0x44], eax
jge 0x459eba
xor eax, eax
lea ecx, [eax*4]
push ecx
call sub.MFC42u.DLL_operatornew
mov esi, dword [ebx + 4]
add esp, 4
cmp esi, edi
mov dword [esp + 0x18], eax
mov ebp, eax
je 0x459eeb
push esi
push ebp
call fcn.0045a320
add esi, 4
add esp, 8
add ebp, 4
cmp esi, edi
jne 0x459ed7
lea edx, [esp + 0x14]
push edx
push ebp
call fcn.0045a320
mov eax, dword [esp + 0x2c4]
add esp, 8
mov esi, edi
mov ebx, dword [eax + 8]
cmp edi, ebx
je 0x459f20
lea edi, [ebp + 4]
push esi
push edi
call fcn.0045a320
add esi, 4
add esp, 8
add edi, 4
cmp esi, ebx
jne 0x459f0c
mov esi, dword [esp + 0x2bc]
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x44], eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
add esp, 4
lea eax, [ecx + edx*4]
mov edx, dword [esi + 4]
test edx, edx
mov dword [esi + 0xc], eax
jne 0x459f50
xor eax, eax
jmp 0x459f58
mov eax, dword [esi + 8]
sub eax, edx
sar eax, 2
mov ebp, dword [esp + 0x2c0]
mov ebx, dword [esp + 0x2bc]
lea edx, [ecx + eax*4 + 4]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
jmp 0x45a033
mov eax, esi
sub eax, edi
sar eax, 2
cmp eax, 1
jae 0x459fef
cmp edi, esi
mov eax, edi
je 0x459f9a
lea ebp, [eax + 4]
push eax
push ebp
call fcn.0045a320
mov eax, ebp
add esp, 8
cmp eax, esi
jne 0x459f87
mov ecx, dword [ebx + 8]
mov eax, 1
mov edx, ecx
mov esi, ecx
sub edx, edi
sar edx, 2
sub eax, edx
je 0x459fc5
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0045a320
add esp, 8
add esi, 4
dec ebp
jne 0x459fb1
mov ecx, dword [ebx + 8]
mov eax, edi
cmp edi, ecx
je 0x459fdb
mov edx, dword [esp + 0x14]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x459fce
mov ebx, dword [esp + 0x2bc]
mov ebp, dword [esp + 0x2c0]
add dword [ebx + 8], 4
jmp 0x45a033
lea eax, [esi - 4]
push esi
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x4c], eax
call fcn.0045a2f0
mov ecx, dword [ebx + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x45a019
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x45a00a
lea ecx, [edi + 4]
mov eax, edi
cmp edi, ecx
je 0x45a02f
mov edx, dword [esp + 0x14]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x45a022
add dword [ebx + 8], 4
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push 1
mov ecx, dword [eax + ebp + 0x10]
mov eax, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x2e4]
push edx
push eax
mov eax, dword [esp + 0x2e8]
lea edx, [esp + 0x6c]
push ecx
push edx
push eax
call dword [esp + 0x2f0]
add esp, 0x1c
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
jb 0x459c1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a4
ret