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

Disassembly:
push 0xffffffffffffffff
push 0x4a72ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0xc], ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x94], 1
call fcn.0040f9a0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x70]
call fcn.0040f9a0
mov eax, dword [esp + 0x9c]
cmp eax, ebx
jle 0x497276
push ebp
mov ebp, eax
mov ecx, dword [esp + 0x9c]
call fcn.00402070
mov edi, eax
mov edx, dword [edi + 4]
mov eax, dword [edi + 0x18]
shr edx, 0x1e
test dl, 1
je 0x49716a
cmp eax, ebx
je 0x49706a
mov eax, dword [esp + 0x5c]
add eax, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x496f7d
mov eax, dword [eax]
jmp 0x496f7f
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x496f8b
mov eax, dword [eax]
jmp 0x496f8d
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
call fcn.00440460
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x497044
mov edx, dword [esp + 0x1c]
cmp dword [edx], ebx
jne 0x496fe7
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov eax, dword [eax]
cmp eax, ebx
je 0x496fd6
mov eax, dword [eax]
jmp 0x496fd8
xor eax, eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], 1
mov dword [esp + 0x24], ebx
jmp 0x497041
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
cmp edx, ebx
je 0x497013
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
cmp edx, dword [eax]
jne 0x497004
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x28]
mov dword [eax], edx
mov eax, dword [esp + 0x24]
jmp 0x49703b
mov edx, dword [esp + 0x20]
mov dword [edx], eax
mov al, byte [esp + 0x2c]
cmp al, bl
je 0x49702e
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov dword [edx], eax
mov byte [esp + 0x2c], bl
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x28]
mov dword [eax], edx
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov dword [ecx + 4], ebx
mov esi, dword [edi + 0x18]
cmp esi, ebx
je 0x49724e
push 0x435f80
lea ecx, [esi + 4]
call fcn.0043fe20
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x49724e
cmp dword [edi + 0x1c], ebx
je 0x49724e
mov eax, dword [esp + 0x78]
add eax, 4
mov dword [esp + 0x38], eax
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x49708e
mov eax, dword [eax]
jmp 0x497090
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x40], eax
je 0x49709c
mov eax, dword [eax]
jmp 0x49709e
xor eax, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
call fcn.00440460
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x497155
mov edx, dword [esp + 0x38]
cmp dword [edx], ebx
jne 0x4970f8
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov edx, dword [eax]
mov dword [esp + 0x3c], edx
mov eax, dword [eax]
cmp eax, ebx
je 0x4970e7
mov eax, dword [eax]
jmp 0x4970e9
xor eax, eax
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 1
mov dword [esp + 0x40], ebx
jmp 0x497152
mov edx, dword [esp + 0x40]
mov eax, dword [eax]
cmp edx, ebx
je 0x497124
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
cmp edx, dword [eax]
jne 0x497115
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x44]
mov dword [eax], edx
mov eax, dword [esp + 0x40]
jmp 0x49714c
mov edx, dword [esp + 0x3c]
mov dword [edx], eax
mov al, byte [esp + 0x48]
cmp al, bl
je 0x49713f
mov edx, dword [esp + 0x38]
mov eax, dword [ecx + 4]
mov dword [edx], eax
mov byte [esp + 0x48], bl
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x44]
mov dword [eax], edx
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov dword [ecx + 4], ebx
mov esi, dword [edi + 0x1c]
cmp esi, ebx
je 0x49724e
push 0x42be60
jmp 0x497054
cmp eax, ebx
je 0x4971de
mov ecx, dword [esp + 0x54]
cmp dword [ecx], ebx
jne 0x49718f
mov dword [eax], eax
mov edx, dword [esp + 0x54]
mov dword [edx], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
jmp 0x49724e
mov ecx, dword [esp + 0x60]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, ebx
je 0x4971ba
mov dword [ecx], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x58], ecx
cmp ecx, dword [edx]
jne 0x4971d8
mov dword [edx], eax
mov dword [esp + 0x5c], eax
jmp 0x49724e
mov edx, dword [esp + 0x58]
mov dword [edx], eax
mov cl, byte [esp + 0x64]
cmp cl, bl
je 0x4971ce
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
cmp byte [esp + 0x65], bl
je 0x4971d8
mov dword [esp + 0x68], eax
mov dword [esp + 0x5c], eax
jmp 0x49724e
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x49724e
mov edx, dword [esp + 0x70]
cmp dword [edx], ebx
jne 0x4971ff
mov dword [eax], eax
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], eax
jmp 0x49724a
mov edx, dword [esp + 0x7c]
mov dword [eax], edx
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
je 0x497223
mov dword [ecx], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x74], ecx
cmp ecx, dword [edx]
jne 0x49724a
mov dword [edx], eax
jmp 0x49724a
mov ecx, dword [esp + 0x74]
mov dword [ecx], eax
mov cl, byte [esp + 0x80]
cmp cl, bl
je 0x49723a
mov edx, dword [esp + 0x70]
mov dword [edx], eax
cmp byte [esp + 0x81], bl
je 0x49724a
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], eax
cmp edi, ebx
je 0x497262
mov ecx, edi
call fcn.004331c0
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x9c]
call fcn.004403e0
dec ebp
jne 0x496f3a
pop ebp
cmp byte [esp + 0xac], 1
jae 0x497288
mov byte [esp + 0xac], 1
mov eax, dword [esp + 0x50]
push 0x18
cmp dword [eax], ebx
je 0x4972c1
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x90], 2
je 0x4972f0
mov ecx, dword [esp + 0xac]
push ebx
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, eax
call fcn.0043cab0
jmp 0x4972f2
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x90], 3
je 0x4972f0
mov ecx, dword [esp + 0xac]
push ebx
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, eax
call fcn.0043c6c0
jmp 0x4972f2
xor eax, eax
mov esi, eax
mov al, byte [esp + 0xa0]
cmp al, bl
mov byte [esp + 0x90], 1
je 0x497313
push 1
push 3
lea ecx, [esi + 6]
call fcn.00416620
cmp byte [esp + 0xa4], bl
je 0x497322
push 1
push 0xa
jmp 0x49732f
cmp byte [esp + 0xa8], bl
je 0x497337
push 1
push 0xb
lea ecx, [esi + 6]
call fcn.00416620
mov edi, dword [esp + 0x98]
mov eax, dword [edi]
mov edx, dword [eax]
cmp edx, ebx
je 0x497367
mov eax, edx
cmp eax, ebx
je 0x497350
mov ecx, dword [eax]
jmp 0x497352
xor ecx, ecx
mov eax, dword [edi + 8]
cmp eax, ecx
je 0x497367
cmp eax, ebx
jne 0x497373
cmp dword [edi + 4], edx
jne 0x497373
cmp byte [edi + 0x10], bl
jne 0x497373
push 1
push 4
lea ecx, [esi + 6]
call fcn.00416620
push 0x43b350
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], bl
call fcn.0043fe20
push 0x434d80
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], 0xffffffff
call fcn.0043fe20
mov ecx, dword [esp + 0x88]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret