Function at 0x45cbd0
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 0x45cbfb
mov esi, dword [eax]
add eax, 4
mov dword [ecx], esi
add ecx, 4
cmp eax, edx
jne 0x45cbed
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 0x45d17d
lea edi, [edx + 0x28]
cmp edi, ecx
jae 0x45d17d
cmp esi, ecx
jae 0x45d17d
cmp eax, ecx
jae 0x45d17d
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 0x45d17d
test edi, edi
jbe 0x45d17d
mov eax, dword [edx + ebp + 0x20]
cmp eax, edx
mov dword [esp + 0x1c], eax
jb 0x45d17d
shl ecx, 2
add ecx, eax
mov eax, dword [esp + 0x30]
cmp ecx, eax
jae 0x45d17d
mov ecx, dword [esp + 0x2c]
shl ecx, 2
cmp ecx, esi
jae 0x45d17d
mov esi, dword [edx + ebp + 0x24]
cmp esi, edx
jb 0x45d17d
mov ecx, dword [esp + 0x2c]
lea ecx, [esi + ecx*2]
cmp ecx, eax
jae 0x45d17d
mov ecx, dword [edx + ebp + 0x1c]
cmp ecx, edx
jb 0x45d17d
lea edx, [ecx + edi*4]
cmp edx, eax
jae 0x45d17d
mov edx, dword [esp + 0x18]
lea eax, [edi*4]
cmp eax, edx
jae 0x45d17d
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 0x45d17d
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.0045cac0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45d15d
push edi
call fcn.0045cb20
add esp, 4
cmp al, 1
jne 0x45d15d
push edi
call fcn.0045cb40
add esp, 4
test al, al
jne 0x45d15d
cmp esi, dword [esp + 0x2c4]
jae 0x45d15d
cmp esi, dword [esp + 0x28]
jb 0x45cd6c
cmp esi, dword [esp + 0x30]
jb 0x45d15d
cmp esi, dword [esp + 0x2d0]
jae 0x45d15d
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 0x45d15d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2cc]
sub eax, edx
cmp eax, ecx
jae 0x45d15d
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x45cdd9
inc edi
inc eax
inc edx
cmp edi, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
jb 0x45cd90
jmp 0x45d15d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.0045cb50
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jbe 0x45d15d
cmp eax, 0x50
jae 0x45d15d
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x14], eax
jbe 0x45ce32
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
xor ebp, ebp
mov bp, word [ecx]
cmp ebp, edx
je 0x45ce9a
mov ebp, dword [esp + 0x2c]
inc eax
add ecx, 2
cmp eax, ebp
jb 0x45ce16
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 0x45cec9
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.00430300
add esp, 0x10
cmp al, 1
jne 0x45cec5
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x60], ecx
jmp 0x45cec9
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + eax*4]
cmp eax, ecx
jb 0x45ce2b
cmp eax, dword [esp + 0x30]
jae 0x45ce2b
mov ebp, dword [esp + 0x2c0]
add eax, ebp
mov dword [esp + 0x14], eax
jmp 0x45ce32
mov ecx, dword [esp + 0x60]
test ecx, ecx
mov word [esp + 0x64], 0
je 0x45cefd
push ecx
mov ecx, dword [esp + 0x2bc]
push ecx
call fcn.0045b810
add esp, 8
test eax, eax
je 0x45cefd
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 0x45cf2b
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 0x45cf50
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 0x45d065
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x45cf8c
mov eax, esi
sub eax, ecx
sar eax, 2
cmp eax, 1
ja 0x45cf91
mov eax, 1
test ecx, ecx
jne 0x45cf99
xor esi, esi
jmp 0x45cf9e
sub esi, ecx
sar esi, 2
add eax, esi
test eax, eax
mov dword [esp + 0x44], eax
jge 0x45cfaa
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 0x45cfdb
push esi
push ebp
call fcn.0045d410
add esi, 4
add esp, 8
add ebp, 4
cmp esi, edi
jne 0x45cfc7
lea edx, [esp + 0x14]
push edx
push ebp
call fcn.0045d410
mov eax, dword [esp + 0x2c4]
add esp, 8
mov esi, edi
mov ebx, dword [eax + 8]
cmp edi, ebx
je 0x45d010
lea edi, [ebp + 4]
push esi
push edi
call fcn.0045d410
add esi, 4
add esp, 8
add edi, 4
cmp esi, ebx
jne 0x45cffc
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 0x45d040
xor eax, eax
jmp 0x45d048
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 0x45d123
mov eax, esi
sub eax, edi
sar eax, 2
cmp eax, 1
jae 0x45d0df
cmp edi, esi
mov eax, edi
je 0x45d08a
lea ebp, [eax + 4]
push eax
push ebp
call fcn.0045d410
mov eax, ebp
add esp, 8
cmp eax, esi
jne 0x45d077
mov ecx, dword [ebx + 8]
mov eax, 1
mov edx, ecx
mov esi, ecx
sub edx, edi
sar edx, 2
sub eax, edx
je 0x45d0b5
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0045d410
add esp, 8
add esi, 4
dec ebp
jne 0x45d0a1
mov ecx, dword [ebx + 8]
mov eax, edi
cmp edi, ecx
je 0x45d0cb
mov edx, dword [esp + 0x14]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x45d0be
mov ebx, dword [esp + 0x2bc]
mov ebp, dword [esp + 0x2c0]
add dword [ebx + 8], 4
jmp 0x45d123
lea eax, [esi - 4]
push esi
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x4c], eax
call fcn.0045d3e0
mov ecx, dword [ebx + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x45d109
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x45d0fa
lea ecx, [edi + 4]
mov eax, edi
cmp edi, ecx
je 0x45d11f
mov edx, dword [esp + 0x14]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x45d112
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 0x45cd0b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a4
ret