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

Disassembly:
push 0xffffffffffffffff
push 0x4a3fb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push ebp
mov ebp, dword [esp + 0xc0]
push esi
push edi
push ebp
lea ecx, [esp + 0x7c]
call fcn.0040f9a0
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x18], 0x461c3c00
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc0], ebx
cmp eax, ebx
je 0x4171a2
mov dword [esp + 0x8c], eax
jmp 0x4171aa
mov byte [esp + 0x89], 1
mov byte [esp + 0x90], bl
mov ecx, dword [esp + 0x78]
cmp dword [ecx], ebx
je 0x417224
cmp eax, dword [esp + 0x8c]
jne 0x4171cb
cmp byte [esp + 0x90], bl
jne 0x417224
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00417670
movsx ecx, ax
add esp, 8
cmp ecx, 0xffffffff
jle 0x41720e
fld dword [esp + 0x18]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x41720e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, 7
lea esi, [esp + 0x78]
lea edi, [esp + 0x9c]
mov dword [esp + 0x18], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x78]
call fcn.004403e0
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x10]
jmp 0x4171b1
cmp dword [esp + 0x14], ebx
jge 0x41723b
push 0x431450
mov ecx, ebp
call fcn.0043fe20
jmp 0x4175b5
mov ecx, dword [esp + 0xa4]
cmp esi, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x60], esi
je 0x417252
mov esi, dword [esi]
jmp 0x417254
xor esi, esi
cmp esi, ebx
je 0x41725c
mov eax, dword [esi]
jmp 0x41725e
xor eax, eax
mov edi, dword [ecx + 4]
add ecx, 4
mov ebp, eax
mov dword [esp + 0x18], ecx
mov ax, word [edi + 6]
mov cl, al
shr cl, 6
test cl, 1
jne 0x41727f
shr al, 7
test al, 1
je 0x417294
push ebx
push 2
push 0x4b4838
push 0x4c9de4
call fcn.00441210
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esp + 0x24], eax
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov eax, dword [eax]
cmp eax, ebx
je 0x4172ab
mov eax, dword [eax]
jmp 0x4172ad
xor eax, eax
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x2c], ecx
je 0x4172bb
mov eax, dword [ecx]
jmp 0x4172bd
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
jle 0x417333
lea ecx, [esp + 0x24]
call fcn.00402070
cmp dword [esp + 0x10], ebx
jne 0x4172f8
mov dword [eax], eax
mov dword [esp + 0x10], eax
mov ebp, eax
mov dword [esp + 0x60], eax
jmp 0x417318
cmp esi, ebx
mov dword [eax], ebp
je 0x417312
mov dword [esi], eax
mov ecx, dword [esp + 0x10]
cmp esi, ecx
mov dword [esp + 0x60], esi
jne 0x417318
mov dword [esp + 0x10], eax
jmp 0x417318
mov ecx, dword [esp + 0x60]
mov dword [ecx], eax
lea ecx, [esp + 0x24]
mov esi, eax
inc edi
call fcn.004403e0
mov eax, dword [esp + 0x14]
movsx edx, di
cmp edx, eax
jl 0x4172db
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x94]
push eax
call fcn.0043b8f0
mov cx, word [eax]
mov word [esp + 0x14], cx
lea ecx, [esp + 0x24]
call fcn.00402070
mov esi, eax
cmp esi, ebx
je 0x41736d
push 0x42be60
lea ecx, [esi + 4]
call fcn.0043fe20
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0x18
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x94], eax
cmp eax, ebx
mov byte [esp + 0xc0], 1
je 0x4173a1
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, eax
call fcn.0043cda0
mov ebp, eax
jmp 0x4173a3
xor ebp, ebp
lea esi, [ebp + 6]
push ebx
push 4
mov ecx, esi
mov byte [esp + 0xc8], bl
call fcn.00416620
mov edi, dword [esp + 0x18]
push ebx
push 3
mov eax, dword [edi]
lea ecx, [eax + 6]
call fcn.00416620
mov eax, dword [edi]
mov byte [eax + 4], 1
mov al, byte [esi]
shr al, 6
test al, 1
je 0x4173ec
push ebx
push 2
push 0x4b4800
push 0x4c9de4
call fcn.00441210
add esp, 0x10
mov eax, dword [ebp + 0x14]
cmp eax, ebx
mov dword [esp + 0x60], eax
je 0x4173fb
mov eax, dword [eax]
jmp 0x4173fd
xor eax, eax
mov esi, eax
cmp esi, ebx
je 0x417407
mov eax, dword [esi]
jmp 0x417409
xor eax, eax
mov edi, dword [edi]
mov dword [esp + 0x68], eax
mov cl, byte [edi + 6]
shr cl, 6
test cl, 1
je 0x41742f
push ebx
push 2
push 0x4b4800
push 0x4c9de4
call fcn.00441210
add esp, 0x10
lea edx, [edi + 0x14]
mov dword [esp + 0x40], edx
mov eax, dword [edx]
mov dword [esp + 0x44], eax
mov eax, dword [edx]
cmp eax, ebx
je 0x417446
mov eax, dword [eax]
jmp 0x417448
xor eax, eax
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x48], ecx
je 0x417456
mov eax, dword [ecx]
jmp 0x417458
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ebx
mov byte [esp + 0x58], bl
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], bl
mov eax, dword [edx]
cmp eax, ebx
je 0x4174e6
jmp 0x417478
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x94]
push edx
call fcn.0043b8f0
mov cx, word [esp + 0x14]
cmp word [eax], cx
setl al
cmp al, bl
je 0x4174e6
lea ecx, [esp + 0x40]
call fcn.00402070
cmp dword [ebp + 0x14], ebx
jne 0x4174b1
mov dword [eax], eax
mov dword [ebp + 0x14], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], eax
jmp 0x4174d3
mov edx, dword [esp + 0x68]
cmp esi, ebx
mov dword [eax], edx
je 0x4174cd
mov dword [esi], eax
mov ecx, dword [ebp + 0x14]
cmp esi, ecx
mov dword [esp + 0x60], esi
jne 0x4174d3
mov dword [ebp + 0x14], eax
jmp 0x4174d3
mov ecx, dword [esp + 0x60]
mov dword [ecx], eax
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.004403e0
mov edx, dword [esp + 0x40]
cmp dword [edx], ebx
jne 0x417474
push 0x70
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x417552
lea ecx, [esi + 0x10]
mov dword [esi], ebx
call fcn.0040f040
mov dword [esi + 0x44], ebx
mov word [esi + 0x48], bx
mov dword [esi + 4], ebp
mov dword [esi + 8], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x4c], bl
mov byte [esi + 0x4d], bl
mov byte [esi + 0x4e], bl
mov byte [esi + 0x4f], bl
mov dword [esi + 0x58], ebx
mov byte [esi + 0x50], bl
mov byte [esi + 0x51], bl
mov byte [esi + 0x52], 0xff
mov byte [esi + 0x53], bl
mov byte [esi + 0x54], 0xff
mov byte [esi + 0x55], bl
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov byte [esi + 0x64], 1
mov byte [esi + 0x65], 1
mov byte [esi + 0x66], bl
mov byte [esi + 0x67], bl
mov byte [esi + 0x68], bl
jmp 0x417554
xor esi, esi
push esi
lea ecx, [esp + 0xa0]
call fcn.004175f0
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 8]
mov byte [edi + 0x4f], bl
cmp esi, ebx
je 0x4175b5
mov ecx, esi
call fcn.00402140
push esi
call sub.MFC42.DLL_operatordelete
mov esi, dword [edi + 0x38]
add esp, 4
cmp esi, ebx
je 0x41759e
mov eax, dword [esi]
cmp eax, ebx
je 0x417595
push eax
call fcn.00442aa0
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [edi + 0x3c]
cmp ecx, ebx
je 0x4175ac
push 1
call fcn.00417650
mov dword [edi + 8], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
push 0x43b350
lea ecx, [esp + 0x14]
mov dword [esp + 0xc4], 0xffffffff
call fcn.0043fe20
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb4
ret