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

Disassembly:
push 0xffffffffffffffff
push 0x4a6f39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x48], ebx
lea eax, [esp + 0x44]
lea ecx, [esp + 0xd8]
push eax
call fcn.0040f9a0
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0xf8]
call fcn.0040f9a0
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, 0x7fff
mov esi, 0xffff8001
mov dword [esp + 0x24], 0x7fffffff
mov word [esp + 0x34], ax
mov word [esp + 0x36], ax
mov word [esp + 0x38], si
mov word [esp + 0x3a], si
mov dword [esp + 0xbc], ebx
mov word [esp + 0x12c], ax
mov word [esp + 0x12e], ax
mov word [esp + 0x130], si
mov word [esp + 0x132], si
mov word [esp + 0x58], ax
mov word [esp + 0x5a], ax
mov word [esp + 0x5c], si
mov word [esp + 0x5e], si
mov ebp, dword [esp + 0x164]
inc word [0x4dd1a4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], eax
lea eax, [ebp + 0x4c]
mov byte [esp + 0x15c], 5
mov dword [esp + 0x110], eax
mov dword [esp + 0x54], ebx
mov edx, dword [eax]
mov dword [esp + 0x114], edx
mov ecx, dword [eax]
cmp ecx, ebx
je 0x4915ce
mov ecx, dword [ecx]
jmp 0x4915d0
xor ecx, ecx
cmp ecx, ebx
mov dword [esp + 0x118], ecx
je 0x4915df
mov edx, dword [ecx]
jmp 0x4915e1
xor edx, edx
mov dword [esp + 0x11c], edx
mov dword [esp + 0x124], ebx
mov byte [esp + 0x128], 0
mov byte [esp + 0x120], 0
mov byte [esp + 0x121], 0
mov edx, dword [eax]
cmp edx, ebx
je 0x491623
lea eax, [esp + 0x2c]
push eax
call fcn.0043d1f0
movsx ecx, word [eax + 4]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], eax
je 0x491645
mov eax, dword [eax]
jmp 0x491647
xor eax, eax
cmp eax, ebx
mov dword [esp + 0xe0], eax
je 0x491656
mov eax, dword [eax]
jmp 0x491658
xor eax, eax
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x48]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov dword [esp + 0xec], ebx
mov byte [esp + 0xf0], 0
mov byte [esp + 0xe8], 0
mov byte [esp + 0xe9], 0
mov dword [esp + 0xf8], eax
je 0x49169c
mov eax, dword [eax]
jmp 0x49169e
xor eax, eax
cmp eax, ebx
mov dword [esp + 0xfc], eax
je 0x4916ad
mov eax, dword [eax]
jmp 0x4916af
xor eax, eax
lea ecx, [ebp + 0x70]
mov dword [esp + 0x100], eax
mov dword [esp + 0x108], ebx
mov byte [esp + 0x10c], 0
mov byte [esp + 0x104], 0
mov byte [esp + 0x105], 0
mov dword [esp + 0xbc], ecx
mov edx, dword [ecx]
mov dword [esp + 0xc0], edx
mov eax, dword [ecx]
cmp eax, ebx
je 0x4916f2
mov eax, dword [eax]
jmp 0x4916f4
xor eax, eax
mov edx, eax
cmp edx, ebx
mov dword [esp + 0xc4], edx
je 0x491705
mov eax, dword [edx]
jmp 0x491707
xor eax, eax
cmp edi, ebx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xd4], 0
mov byte [esp + 0xcc], 0
mov byte [esp + 0xcd], 0
mov dword [esp + 0x6c], edi
je 0x491739
mov edi, dword [edi]
jmp 0x49173b
xor edi, edi
cmp edi, ebx
mov dword [esp + 0x70], edi
je 0x491747
mov eax, dword [edi]
jmp 0x491749
xor eax, eax
mov ebp, eax
mov eax, dword [ecx]
cmp eax, ebx
mov dword [esp + 0x74], ebp
mov byte [esp + 0x1e], 1
mov byte [esp + 0x40], 0
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1c], 0
je 0x492633
movsx eax, word [edx + 8]
cmp eax, dword [esp + 0x24]
jle 0x4918f2
lea ecx, [esp + 0x110]
call fcn.00402070
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4917a1
mov dword [esi], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x6c], esi
jmp 0x4917c1
cmp edi, ebx
mov dword [esi], ebp
je 0x4917bb
mov dword [edi], esi
mov eax, dword [esp + 0x10]
cmp edi, eax
mov dword [esp + 0x6c], edi
jne 0x4917c1
mov dword [esp + 0x10], esi
jmp 0x4917c1
mov eax, dword [esp + 0x6c]
mov dword [eax], esi
lea edi, [esi + 6]
push 1
push 3
mov ecx, edi
mov dword [esp + 0x78], esi
call fcn.00416620
push ebx
push 0xa
mov ecx, edi
mov byte [esp + 0x26], 0
mov byte [esi + 4], 0
call fcn.00416620
push ebx
push 0xb
mov ecx, edi
call fcn.00416620
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0043d1f0
push esi
call fcn.00493990
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x28]
fstp qword [esp + 0x30]
mov ax, word [edx + 8]
add esp, 4
sub eax, ecx
movsx esi, ax
mov dword [esp + 0x20], esi
mov dword [esp + 0x4c], eax
fild dword [esp + 0x20]
fld qword [esp + 0x2c]
fmul qword [0x4dced8]
mov dword [esp + 0x3c], eax
fcompp
fnstsw ax
test ah, 1
je 0x491871
fild dword [esp + 0x20]
mov eax, dword [esp + 0x164]
sub esp, 8
fdiv dword [eax + 0x48]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
cmp al, 1
mov byte [esp + 0x40], al
jae 0x491876
mov byte [esp + 0x40], 1
jmp 0x491876
mov byte [esp + 0x40], 0
cmp dword [0x4dd028], 5
jle 0x4918ae
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x30]
push esi
push edx
mov ax, word [ecx + 0xa]
mov cx, word [ecx + 8]
mov edx, dword [esp + 0x34]
movsx eax, ax
movsx ecx, cx
push edx
push eax
push ecx
push 0x4c7bbc
call fcn.00443600
add esp, 0x18
mov edx, dword [esp + 0x110]
mov byte [esp + 0x1d], 0
mov byte [esp + 0x1c], 0
cmp dword [edx], ebx
jne 0x4918cd
mov dword [esp + 0x24], 0x7fffffff
jmp 0x4918f2
lea ecx, [esp + 0x110]
call fcn.004403e0
mov ecx, dword [esp + 0x118]
lea eax, [esp + 0x2c]
push eax
call fcn.0043d1f0
movsx ecx, word [eax + 4]
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x60]
lea eax, [esp + 0x64]
push edx
mov edx, dword [esp + 0x168]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, 7
sub esp, 0x1c
lea esi, [esp + 0xe4]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push edx
call fcn.00493640
mov eax, dword [esp + 0xf0]
add esp, 0x2c
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 4]
shr ecx, 0x1e
test cl, 1
mov dword [esp + 0x38], edx
je 0x491c11
mov ecx, dword [eax + 0x18]
lea esi, [eax + 0x18]
xor edi, edi
cmp ecx, edi
je 0x491ab6
mov edx, dword [esp + 0xe0]
lea eax, [edx + 4]
mov dword [esp + 0x84], eax
mov ecx, dword [eax]
mov dword [esp + 0x88], ecx
mov eax, dword [eax]
cmp eax, edi
je 0x49197c
mov eax, dword [eax]
jmp 0x49197e
xor eax, eax
cmp eax, edi
mov dword [esp + 0x8c], eax
je 0x49198d
mov eax, dword [eax]
jmp 0x49198f
xor eax, eax
lea ecx, [esp + 0x84]
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], edi
mov byte [esp + 0x9c], 0
mov byte [esp + 0x94], 0
mov byte [esp + 0x95], 0
call fcn.00440460
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
cmp eax, edi
je 0x491a91
mov edx, dword [esp + 0x84]
cmp dword [edx], edi
jne 0x491a0f
mov dword [edx], eax
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
mov dword [esp + 0x88], edx
mov eax, dword [eax]
cmp eax, edi
je 0x4919f5
mov eax, dword [eax]
jmp 0x4919f7
xor eax, eax
mov dword [esp + 0x90], eax
mov byte [esp + 0x94], 1
mov dword [esp + 0x8c], edi
jmp 0x491a8e
mov edx, dword [esp + 0x8c]
mov eax, dword [eax]
cmp edx, edi
je 0x491a4a
mov dword [edx], eax
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
cmp edx, dword [eax]
jne 0x491a35
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x90]
mov dword [eax], edx
mov eax, dword [esp + 0x8c]
jmp 0x491a85
mov edx, dword [esp + 0x88]
mov dword [edx], eax
mov al, byte [esp + 0x94]
test al, al
je 0x491a72
mov edx, dword [esp + 0x84]
mov eax, dword [ecx + 4]
mov dword [edx], eax
mov byte [esp + 0x94], 0
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x90]
mov dword [eax], edx
mov eax, dword [esp + 0x88]
mov edx, dword [eax]
mov dword [esp + 0x90], edx
mov dword [ecx + 4], edi
mov esi, dword [esi]
cmp esi, edi
je 0x491d69
push 0x435f80
lea ecx, [esi + 4]
call fcn.0043fe20
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x491d69
lea esi, [eax + 0x1c]
mov eax, dword [eax + 0x1c]
cmp eax, edi
je 0x491d69
mov eax, dword [esp + 0xfc]
add eax, 4
mov dword [esp + 0xa0], eax
mov ecx, dword [eax]
mov dword [esp + 0xa4], ecx
mov eax, dword [eax]
cmp eax, edi
je 0x491ae8
mov eax, dword [eax]
jmp 0x491aea
xor eax, eax
cmp eax, edi
mov dword [esp + 0xa8], eax
je 0x491af9
mov eax, dword [eax]
jmp 0x491afb
xor eax, eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], edi
mov byte [esp + 0xb8], 0
mov byte [esp + 0xb0], 0
mov byte [esp + 0xb1], 0
call fcn.00440460
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
cmp eax, edi
je 0x491bfd
mov edx, dword [esp + 0xa0]
cmp dword [edx], edi
jne 0x491b7b
mov dword [edx], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [eax]
mov dword [esp + 0xa4], edx
mov eax, dword [eax]
cmp eax, edi
je 0x491b61
mov eax, dword [eax]
jmp 0x491b63
xor eax, eax
mov dword [esp + 0xac], eax
mov byte [esp + 0xb0], 1
mov dword [esp + 0xa8], edi
jmp 0x491bfa
mov edx, dword [esp + 0xa8]
mov eax, dword [eax]
cmp edx, edi
je 0x491bb6
mov dword [edx], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
cmp edx, dword [eax]
jne 0x491ba1
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0xac]
mov dword [eax], edx
mov eax, dword [esp + 0xa8]
jmp 0x491bf1
mov edx, dword [esp + 0xa4]
mov dword [edx], eax
mov al, byte [esp + 0xb0]
test al, al
je 0x491bde
mov edx, dword [esp + 0xa0]
mov eax, dword [ecx + 4]
mov dword [edx], eax
mov byte [esp + 0xb0], 0
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0xac]
mov dword [eax], edx
mov eax, dword [esp + 0xa4]
mov edx, dword [eax]
mov dword [esp + 0xac], edx
mov dword [ecx + 4], edi
mov esi, dword [esi]
cmp esi, edi
je 0x491d69
push 0x42be60
jmp 0x491aa0
mov ecx, dword [eax + 0x18]
xor edi, edi
cmp ecx, edi
je 0x491cc6
mov eax, dword [esp + 0xd8]
cmp dword [eax], edi
jne 0x491c4e
mov dword [ecx], ecx
mov edx, dword [esp + 0xd8]
mov dword [edx], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], ecx
jmp 0x491d60
mov eax, dword [esp + 0xe4]
mov dword [ecx], eax
mov eax, dword [esp + 0xe0]
cmp eax, edi
je 0x491c8b
mov dword [eax], ecx
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xd8]
mov dword [esp + 0xdc], eax
cmp eax, dword [edx]
jne 0x491cba
mov dword [edx], ecx
mov dword [esp + 0xe0], ecx
jmp 0x491d60
mov edx, dword [esp + 0xdc]
mov dword [edx], ecx
mov al, byte [esp + 0xe8]
test al, al
je 0x491ca8
mov eax, dword [esp + 0xd8]
mov dword [eax], ecx
mov al, byte [esp + 0xe9]
test al, al
je 0x491cba
mov dword [esp + 0xec], ecx
mov dword [esp + 0xe0], ecx
jmp 0x491d60
mov eax, dword [eax + 0x1c]
cmp eax, edi
je 0x491d60
mov ecx, dword [esp + 0xf4]
cmp dword [ecx], edi
jne 0x491cf7
mov dword [eax], eax
mov edx, dword [esp + 0xf4]
mov dword [edx], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0xf8], eax
jmp 0x491d59
mov ecx, dword [esp + 0x100]
mov dword [eax], ecx
mov ecx, dword [esp + 0xfc]
cmp ecx, edi
je 0x491d2a
mov dword [ecx], eax
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xf4]
mov dword [esp + 0xf8], ecx
cmp ecx, dword [edx]
jne 0x491d59
mov dword [edx], eax
jmp 0x491d59
mov edx, dword [esp + 0xf8]
mov dword [edx], eax
mov cl, byte [esp + 0x104]
test cl, cl
je 0x491d47
mov ecx, dword [esp + 0xf4]
mov dword [ecx], eax
mov cl, byte [esp + 0x105]
test cl, cl
je 0x491d59
mov dword [esp + 0x108], eax
mov dword [esp + 0xfc], eax
movsx edx, word [esp + 0x38]
mov dword [esp + 0x50], edx
lea ecx, [esp + 0xbc]
call fcn.004403e0
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 4]
shr ecx, 0x1e
test cl, 1
mov dword [esp + 0x38], edx
jne 0x4922a2
cmp dword [eax + 0x18], edi
jne 0x491da7
cmp dword [eax + 0x1c], edi
je 0x4922a2
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], ecx
lea eax, [esp + 0x60]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x64]
push eax
mov eax, dword [esp + 0x168]
lea edx, [esp + 0x5c]
push ecx
push edx
mov ecx, 7
sub esp, 0x1c
lea esi, [esp + 0xe4]
mov edi, esp
mov dword [esp + 0x154], ebp
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [esp + 0x15c], ebx
call fcn.00493640
movsx edi, word [esp + 0x60]
mov eax, dword [esp + 0x50]
add esp, 0x2c
cmp edi, eax
jg 0x491f0e
mov al, byte [0x4dd078]
test al, al
jne 0x491e83
lea ecx, [esp + 0x1f]
lea edx, [esp + 0x1b]
push ecx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push ebx
push ebp
push eax
mov eax, dword [esp + 0x190]
push ecx
push edx
push eax
call fcn.004926a0
add esp, 0x38
test al, al
jne 0x491f0e
mov al, byte [0x4dd078]
test al, al
je 0x491ed0
lea ecx, [esp + 0x1f]
lea edx, [esp + 0x1b]
push ecx
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push ebx
push ebp
push eax
mov eax, dword [esp + 0x190]
push ecx
push edx
push eax
call fcn.004926a0
add esp, 0x38
test al, al
jne 0x491f0e
mov ecx, dword [esp + 0xbc]
mov ecx, dword [ecx]
test ecx, ecx
je 0x491f0e
mov eax, dword [esp + 0xc4]
mov edx, dword [ecx]
cmp eax, edx
je 0x491f0e
test eax, eax
jne 0x4922a2
cmp dword [esp + 0xc0], ecx
jne 0x4922a2
mov cl, byte [esp + 0xcc]
test cl, cl
jne 0x4922a2
mov edx, dword [esp + 0xd8]
push 0x18
cmp dword [edx], 0
je 0x491f49
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x15c], 6
je 0x491f76
mov ecx, dword [esp + 0x40]
push 0
lea edx, [esp + 0x48]
push ecx
push edx
mov ecx, eax
call fcn.0043cab0
jmp 0x491f78
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x15c], 7
je 0x491f76
mov ecx, dword [esp + 0x40]
push 0
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, eax
call fcn.0043c6c0
jmp 0x491f78
xor eax, eax
mov esi, eax
mov eax, dword [esp + 0x54]
inc eax
mov byte [esp + 0x15c], 5
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x491fa5
mov ebp, esi
mov dword [esi], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x6c], esi
jmp 0x491fcd
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
test eax, eax
mov dword [esi], ebp
je 0x491fc7
mov dword [eax], esi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x6c], eax
jne 0x491fcd
mov dword [esp + 0x10], esi
jmp 0x491fcd
mov eax, dword [esp + 0x6c]
mov dword [eax], esi
mov al, byte [esp + 0x1e]
mov ebx, esi
test al, al
mov dword [esp + 0x70], ebx
je 0x491fec
push 1
push 3
lea ecx, [esi + 6]
call fcn.00416620
mov byte [esp + 0x1e], 0
mov al, byte [esp + 0x1d]
test al, al
je 0x491ffa
push 1
push 0xa
jmp 0x492006
mov al, byte [esp + 0x1c]
test al, al
je 0x49200e
push 1
push 0xb
lea ecx, [esi + 6]
call fcn.00416620
cmp edi, dword [esp + 0x24]
jle 0x492237
lea ecx, [esp + 0x110]
call fcn.00402070
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x49203e
mov dword [esi], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x6c], esi
jmp 0x49205e
test ebx, ebx
mov dword [esi], ebp
je 0x492058
mov dword [ebx], esi
mov eax, dword [esp + 0x10]
cmp ebx, eax
mov dword [esp + 0x6c], ebx
jne 0x49205e
mov dword [esp + 0x10], esi
jmp 0x49205e
mov ecx, dword [esp + 0x6c]
mov dword [ecx], esi
push esi
mov dword [esp + 0x74], esi
call fcn.00493990
fstp dword [esp + 0x2c]
add esp, 4
lea edx, [esp + 0x134]
mov ecx, esi
push edx
call fcn.0043d1f0
mov ax, word [eax]
mov ecx, dword [esp + 0x50]
fld dword [esp + 0x28]
sub eax, ecx
fstp qword [esp + 0x2c]
movsx ebx, ax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], eax
fild dword [esp + 0x20]
fld qword [esp + 0x2c]
fmul qword [0x4dced8]
fcompp
fnstsw ax
test ah, 1
je 0x4920df
fild dword [esp + 0x20]
mov eax, dword [esp + 0x164]
sub esp, 8
fdiv dword [eax + 0x48]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
cmp al, 1
mov byte [esp + 0x14], al
jae 0x4920e5
mov al, 1
jmp 0x4920e1
xor al, al
mov byte [esp + 0x14], al
cmp dword [0x4dd028], 5
jle 0x49215a
lea ecx, [esp + 0x144]
push ecx
mov ecx, esi
call fcn.0043d1f0
mov di, word [eax + 2]
lea edx, [esp + 0x14c]
push edx
mov ecx, esi
mov byte [esp + 0x160], 8
call fcn.0043d1f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov ax, word [eax]
and ecx, 0xff
push ecx
mov ecx, dword [esp + 0x30]
push ebx
push edx
movsx edx, di
movsx eax, ax
push ecx
push edx
push eax
push 0x4c7b84
mov byte [esp + 0x178], 9
call fcn.00443600
mov al, byte [esp + 0x30]
add esp, 0x1c
mov byte [esp + 0x15c], 5
lea edi, [esi + 6]
push 0
push 0xa
mov ecx, edi
mov byte [esi + 4], al
call fcn.00416620
push 0
push 0xb
mov ecx, edi
call fcn.00416620
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
sub eax, ecx
movsx edi, ax
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], eax
fild dword [esp + 0x20]
fld dword [esp + 0x28]
fmul qword [0x4dced8]
fcompp
fnstsw ax
test ah, 1
je 0x4921c4
fild dword [esp + 0x20]
mov ecx, dword [esp + 0x164]
fdiv dword [ecx + 0x48]
call sub.MSVCRT.dll__ftol
cmp al, 1
mov byte [esp + 0x14], al
jae 0x4921c9
mov byte [esp + 0x14], 1
jmp 0x4921c9
mov byte [esp + 0x14], 0
cmp dword [0x4dd028], 5
jle 0x4921eb
mov edx, dword [esp + 0x14]
and edx, 0xff
push edx
push edi
push 0x4c7b6c
call fcn.00443600
add esp, 0xc
mov eax, dword [esp + 0x110]
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1f], 0
cmp dword [eax], 0
jne 0x49220b
mov dword [esp + 0x24], 0x7fffffff
jmp 0x492233
lea ecx, [esp + 0x110]
call fcn.004403e0
lea ecx, [esp + 0x13c]
push ecx
mov ecx, dword [esp + 0x11c]
call fcn.0043d1f0
movsx edx, word [eax + 4]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax]
mov eax, dword [esp + 0xc4]
test ecx, ecx
je 0x492267
cmp eax, dword [ecx]
je 0x492267
test eax, eax
jne 0x492288
cmp dword [esp + 0xc0], ecx
jne 0x492288
mov cl, byte [esp + 0xcc]
test cl, cl
jne 0x492288
mov ecx, dword [esp + 0x110]
cmp dword [ecx], 0
jne 0x492288
push 1
push 4
lea ecx, [esi + 6]
call fcn.00416620
mov eax, dword [esp + 0xc4]
jmp 0x4922a6
mov dl, byte [esp + 0x14]
mov cl, byte [esp + 0x1b]
mov byte [esp + 0x40], dl
mov dl, byte [esp + 0x1f]
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1c], dl
jmp 0x4922a6
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0xbc]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4922df
cmp eax, dword [ecx]
je 0x4922df
test eax, eax
jne 0x49192b
cmp dword [esp + 0xc0], ecx
jne 0x49192b
mov cl, byte [esp + 0xcc]
test cl, cl
jne 0x49192b
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x110]
cmp dword [edx], 0
je 0x49249f
jmp 0x4922f5
mov ebx, dword [esp + 0x70]
lea ecx, [esp + 0x110]
call fcn.00402070
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x49231b
mov dword [esi], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x6c], esi
jmp 0x49233f
mov eax, dword [esp + 0x74]
test ebx, ebx
mov dword [esi], eax
je 0x492339
mov dword [ebx], esi
mov eax, dword [esp + 0x10]
cmp ebx, eax
mov dword [esp + 0x6c], ebx
jne 0x49233f
mov dword [esp + 0x10], esi
jmp 0x49233f
mov ecx, dword [esp + 0x6c]
mov dword [ecx], esi
push esi
mov dword [esp + 0x74], esi
call fcn.00493990
fstp dword [esp + 0x2c]
add esp, 4
lea edx, [esp + 0x13c]
mov ecx, esi
push edx
call fcn.0043d1f0
mov ax, word [eax]
mov ecx, dword [esp + 0x50]
fld dword [esp + 0x28]
sub eax, ecx
fstp qword [esp + 0x2c]
movsx ebx, ax
mov dword [esp + 0x20], ebx
fild dword [esp + 0x20]
fld qword [esp + 0x2c]
fmul qword [0x4dced8]
fcompp
fnstsw ax
test ah, 1
je 0x4923bc
fild dword [esp + 0x20]
mov eax, dword [esp + 0x164]
sub esp, 8
fdiv dword [eax + 0x48]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
cmp al, 1
mov byte [esp + 0x14], al
jae 0x4923c2
mov al, 1
jmp 0x4923be
xor al, al
mov byte [esp + 0x14], al
cmp dword [0x4dd028], 5
jle 0x492437
lea ecx, [esp + 0x14c]
push ecx
mov ecx, esi
call fcn.0043d1f0
mov di, word [eax + 2]
lea edx, [esp + 0x144]
push edx
mov ecx, esi
mov byte [esp + 0x160], 0xa
call fcn.0043d1f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov ax, word [eax]
and ecx, 0xff
push ecx
mov ecx, dword [esp + 0x30]
push ebx
push edx
movsx edx, di
movsx eax, ax
push ecx
push edx
push eax
push 0x4c7b2c
mov byte [esp + 0x178], 0xb
call fcn.00443600
mov al, byte [esp + 0x30]
add esp, 0x1c
mov byte [esp + 0x15c], 5
lea edi, [esi + 6]
push 0
push 0xa
mov ecx, edi
mov byte [esi + 4], al
call fcn.00416620
push 0
push 0xb
mov ecx, edi
call fcn.00416620
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.0043d1f0
movsx edx, word [eax + 4]
mov eax, dword [esp + 0x110]
mov dword [esp + 0x50], edx
cmp dword [eax], 0
jne 0x492483
push 1
push 4
mov ecx, edi
call fcn.00416620
jmp 0x49248f
lea ecx, [esp + 0x110]
call fcn.004403e0
mov ecx, dword [esp + 0x110]
cmp dword [ecx], 0
jne 0x4922f1
push 0x30
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
test esi, esi
mov byte [esp + 0x15c], 0xc
je 0x4924e0
mov edi, dword [esp + 0x164]
fld dword [edi + 0x48]
call sub.MSVCRT.dll__ftol
fld dword [edi + 0x44]
push eax
call sub.MSVCRT.dll__ftol
push eax
push edi
mov ecx, esi
call fcn.00430610
mov esi, eax
jmp 0x4924e2
xor esi, esi
mov ecx, dword [esi + 0x20]
mov byte [esp + 0x15c], 5
test ecx, ecx
je 0x4924f5
mov eax, dword [ecx]
jmp 0x4924f7
xor eax, eax
test eax, eax
je 0x4924ff
mov edi, dword [eax]
jmp 0x492501
xor edi, edi
mov edx, dword [esp + 0x10]
test edx, edx
je 0x492540
test ecx, ecx
jne 0x492512
mov dword [esi + 0x20], edx
jmp 0x492538
mov edx, dword [edx]
test eax, eax
je 0x492530
mov dword [eax], edx
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jne 0x492528
mov eax, dword [esp + 0x10]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [ecx], edi
jmp 0x492538
mov dword [ecx], edx
mov eax, dword [esp + 0x10]
mov dword [eax], edi
mov dword [esp + 0x10], 0
mov ecx, esi
call fcn.004306b0
cmp dword [0x4dd028], 9
jle 0x4925ea
lea ecx, [esp + 0x13c]
push ecx
mov ecx, esi
call fcn.00405f40
mov di, word [eax + 6]
lea edx, [esp + 0x14c]
push edx
mov ecx, esi
mov byte [esp + 0x160], 0xd
call fcn.00405f40
mov bx, word [eax + 4]
lea eax, [esp + 0x144]
push eax
mov ecx, esi
mov byte [esp + 0x160], 0xe
call fcn.00405f40
mov bp, word [eax + 2]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
mov byte [esp + 0x160], 0xf
call fcn.00405f40
mov ax, word [eax]
mov byte [esp + 0x15c], 0x10
movsx edx, di
push edx
movsx ecx, bx
movsx edx, bp
push ecx
push edx
movsx ecx, word [esp + 0x60]
movsx edx, word [0x4dd1a4]
movsx eax, ax
push eax
push ecx
push edx
push 0x4c7afc
call fcn.00443600
add esp, 0x1c
push 0x43c510
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 1
call fcn.0043fe20
push 0x43b350
lea ecx, [esp + 0x4c]
mov byte [esp + 0x160], 0
call fcn.0043fe20
push 0x434d80
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], 0xffffffff
call fcn.0043fe20
mov eax, esi
jmp 0x49267a
push 0x43c510
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 1
call fcn.0043fe20
push 0x43b350
lea ecx, [esp + 0x4c]
mov byte [esp + 0x160], 0
call fcn.0043fe20
push 0x434d80
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], 0xffffffff
call fcn.0043fe20
xor eax, eax
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x150
ret