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

Disassembly:
push 0xffffffffffffffff
push 0x4a691b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [esp + 0x88]
push ebx
mov dword [esp + 0x40], eax
xor ebx, ebx
mov ecx, dword [eax]
push ebp
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ebx
je 0x482e11
mov eax, dword [eax]
jmp 0x482e13
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x54], eax
je 0x482e1f
mov eax, dword [eax]
jmp 0x482e21
xor eax, eax
movsx ecx, word [esp + 0x9c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], ebx
movsx eax, word [esp + 0xa0]
sub eax, ecx
mov ecx, dword [esp + 0x84]
movsx esi, cx
cdq
idiv esi
cmp cx, 3
mov byte [esp + 0x64], 0
mov byte [esp + 0x5c], 0
mov byte [esp + 0x5d], 0
mov dword [esp + 0xa0], edx
jge 0x482e70
mov ecx, 3
mov dword [esp + 0x84], ecx
movsx eax, cx
mov dword [esp + 0x24], eax
add eax, 0xfffffffd
cdq
sub eax, edx
movsx edx, word [esp + 0x88]
sar eax, 1
cmp eax, edx
jge 0x482e92
mov dword [esp + 0x88], eax
fild dword [esp + 0x24]
fmul qword [0x4dca30]
call sub.MSVCRT.dll__ftol
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov edx, dword [edi]
movsx eax, si
cmp eax, edx
jle 0x482ed9
mov ecx, dword [edi + 4]
cmp eax, ecx
jge 0x482ece
mov ecx, dword [edi + 0xc]
sub eax, edx
mov eax, dword [ecx + eax*4]
jmp 0x482ede
mov eax, dword [edi + 0xc]
sub ecx, edx
mov eax, dword [eax + ecx*4 - 4]
jmp 0x482ede
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
cmp eax, ebx
jne 0x482eea
cmp si, bp
jge 0x482eea
inc esi
jmp 0x482eb6
mov dword [esp + 0x10], ebp
movsx eax, bp
cmp eax, edx
jle 0x482f11
mov ecx, dword [edi + 4]
cmp eax, ecx
jge 0x482f06
mov ecx, dword [edi + 0xc]
sub eax, edx
mov eax, dword [ecx + eax*4]
jmp 0x482f16
mov eax, dword [edi + 0xc]
sub ecx, edx
mov eax, dword [eax + ecx*4 - 4]
jmp 0x482f16
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
cmp eax, ebx
jne 0x482f22
cmp bp, si
jle 0x482f22
dec ebp
jmp 0x482eee
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x84]
mov ebx, esi
mov dword [esp + 0x10], ebp
lea ecx, [edx + edx]
sub ebx, eax
movsx edx, si
movsx eax, bp
sub ecx, edx
mov dword [esp + 0x18], ebx
lea eax, [ecx + eax + 1]
lea eax, [eax + eax*2]
shl eax, 4
push eax
call fcn.00442a90
mov dword [esp + 0x80], eax
movsx eax, word [esp + 0x8c]
add eax, eax
mov dword [esp + 0x40], eax
inc eax
push eax
call fcn.00442a90
add esp, 8
mov ebp, ebx
cmp bx, si
mov dword [esp + 0x1c], eax
mov dword [esp + 0x8c], ebp
jge 0x482fee
movsx eax, bx
lea eax, [eax + eax*2]
shl eax, 4
mov dword [esp + 0x8c], eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x80]
sub eax, ecx
mov ecx, dword [esp + 0x84]
push 0
push ebp
push ecx
mov ecx, dword [esp + 0x88]
push edx
push edi
push ebx
push ecx
add ecx, eax
call fcn.00481d60
mov ecx, dword [esp + 0x98]
inc ebp
add ecx, 0x30
cmp bp, si
mov dword [esp + 0x98], ecx
jl 0x482f9c
mov dword [esp + 0x8c], ebp
mov ecx, dword [esp + 0x88]
dec esi
mov dword [esp + 0x38], esi
xor esi, esi
test cx, cx
jl 0x48304c
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push esi
push ebp
push eax
push ecx
movsx eax, bp
movsx ecx, bx
mov edx, dword [esp + 0x8c]
sub eax, ecx
push edi
push ebx
lea ecx, [eax + eax*2]
push edx
shl ecx, 4
add ecx, edx
call fcn.00481d60
inc esi
inc ebp
cmp si, word [esp + 0x88]
jle 0x483001
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x8c], ebp
mov eax, ecx
xor ebx, ebx
neg eax
cmp ax, cx
jge 0x48308d
movsx edx, ax
movsx esi, bp
movsx eax, cx
add esi, edx
sub eax, edx
mov dword [esp + 0x98], eax
push esi
mov ecx, edi
call fcn.0043a9e0
mov edx, dword [esp + 0x1c]
inc esi
mov byte [ebx + edx], al
mov eax, dword [esp + 0x98]
inc ebx
dec eax
mov dword [esp + 0x98], eax
jne 0x48306b
mov eax, dword [esp + 0x20]
lea eax, [eax + ebp + 1]
mov dword [esp + 0x14], eax
lea esi, [eax - 1]
cmp si, bp
jl 0x4830e3
mov edx, dword [edi]
movsx eax, si
cmp eax, edx
jle 0x4830c6
mov ecx, dword [edi + 4]
cmp eax, ecx
jge 0x4830bb
mov ecx, dword [edi + 0xc]
sub eax, edx
mov eax, dword [ecx + eax*4]
jmp 0x4830cb
mov eax, dword [edi + 0xc]
sub ecx, edx
mov eax, dword [eax + ecx*4 - 4]
jmp 0x4830cb
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
movsx ecx, word [esp + 0x80]
cmp eax, ecx
jle 0x4830df
dec esi
cmp si, bp
jge 0x4830a3
jmp 0x4830e3
mov dword [esp + 0x14], esi
movsx eax, word [esp + 0x10]
movsx ecx, word [esp + 0x88]
movsx esi, bp
sub eax, ecx
cmp esi, eax
mov dword [esp + 0x44], eax
jge 0x483537
jmp 0x48310a
mov ebx, dword [esp + 0x8c]
movsx eax, word [esp + 0x88]
mov ecx, edi
lea edx, [esi + eax]
push edx
call fcn.0043a9e0
mov ecx, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x8c], ebx
mov byte [ebx + ecx - 1], al
mov eax, dword [esp + 0x3c]
cmp ebx, eax
jle 0x483140
mov dword [esp + 0x8c], 0
mov edx, dword [edi]
mov byte [esp + 0x34], 0
cmp esi, edx
mov byte [esp + 0x30], 0
mov dword [esp + 0x98], 0
jle 0x483176
mov eax, dword [edi + 4]
mov ebx, dword [edi + 0xc]
cmp esi, eax
jge 0x48316e
mov eax, esi
sub eax, edx
mov eax, dword [ebx + eax*4]
jmp 0x48317b
sub eax, edx
mov eax, dword [ebx + eax*4 - 4]
jmp 0x48317b
mov ebx, dword [edi + 0xc]
mov eax, dword [ebx]
movsx ecx, word [esp + 0x80]
cmp eax, ecx
jg 0x483269
mov dword [esp + 0x38], ebp
mov cx, word [esp + 0x88]
cmp word [esp + 0x98], cx
jle 0x4833d2
movsx edx, word [esp + 0x38]
movsx eax, word [esp + 0x20]
mov ecx, esi
sub ecx, edx
cmp ecx, eax
jle 0x483313
movsx edx, word [esp + 0x14]
sub edx, esi
cmp edx, eax
jle 0x483313
cmp word [esp + 0x88], 0
mov dword [esp + 0x98], 0
jl 0x483325
mov ebx, dword [esp + 0x88]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x98]
movsx eax, cx
movsx ecx, bx
mov ebx, dword [esp + 0x8c]
add eax, ecx
add eax, ebx
cmp eax, edx
jle 0x483212
or ebx, 0xffffffff
sub ebx, edx
add eax, ebx
mov ebx, dword [esp + 0x1c]
cmp byte [eax + ebx], 0
jne 0x483313
mov eax, ecx
mov ecx, dword [esp + 0x98]
movsx ebx, cx
sub eax, ebx
mov ebx, dword [esp + 0x8c]
add eax, ebx
cmp eax, edx
jle 0x483242
or ebx, 0xffffffff
sub ebx, edx
add eax, ebx
mov ebx, dword [esp + 0x1c]
cmp byte [eax + ebx], 0
jne 0x483313
mov ebx, dword [esp + 0x88]
inc ecx
cmp cx, bx
mov dword [esp + 0x98], ecx
jle 0x4831f6
jmp 0x483325
mov eax, 1
cmp word [esp + 0x88], ax
mov dword [esp + 0x98], eax
jl 0x4831a5
movsx eax, word [esp + 0x98]
add eax, esi
cmp eax, edx
jle 0x4832a7
mov ecx, dword [edi + 4]
cmp eax, ecx
jge 0x48329f
sub eax, edx
mov eax, dword [ebx + eax*4]
jmp 0x4832a9
sub ecx, edx
mov eax, dword [ebx + ecx*4 - 4]
jmp 0x4832a9
mov eax, dword [ebx]
movsx ecx, word [esp + 0x80]
cmp eax, ecx
jle 0x48318f
movsx ecx, word [esp + 0x98]
mov eax, esi
sub eax, ecx
cmp eax, edx
jle 0x4832df
mov ecx, dword [edi + 4]
cmp eax, ecx
jge 0x4832d7
sub eax, edx
mov eax, dword [ebx + eax*4]
jmp 0x4832e1
sub ecx, edx
mov eax, dword [ebx + ecx*4 - 4]
jmp 0x4832e1
mov eax, dword [ebx]
movsx ecx, word [esp + 0x80]
cmp eax, ecx
jle 0x48318f
mov eax, dword [esp + 0x98]
inc eax
cmp ax, word [esp + 0x88]
mov dword [esp + 0x98], eax
jle 0x483283
jmp 0x4831a5
mov ax, word [esp + 0x88]
cmp word [esp + 0x98], ax
jle 0x483377
mov ecx, dword [edi]
cmp esi, ecx
jle 0x483364
mov eax, dword [edi + 4]
cmp esi, eax
jge 0x48334d
mov eax, dword [edi + 0xc]
mov edx, esi
sub edx, ecx
mov byte [esp + 0x34], 1
mov eax, dword [eax + edx*4]
mov dword [esp + 0x98], eax
jmp 0x4833d2
sub eax, ecx
mov ecx, dword [edi + 0xc]
mov byte [esp + 0x34], 1
mov ecx, dword [ecx + eax*4 - 4]
mov dword [esp + 0x98], ecx
jmp 0x4833d2
mov eax, dword [edi + 0xc]
mov byte [esp + 0x34], 1
mov edx, dword [eax]
mov dword [esp + 0x98], edx
jmp 0x4833d2
mov ecx, dword [edi]
cmp esi, ecx
jle 0x4833a3
mov eax, dword [edi + 4]
cmp esi, eax
jge 0x483394
mov eax, dword [edi + 0xc]
mov edx, esi
sub edx, ecx
mov eax, dword [eax + edx*4]
mov dword [esp + 0x2c], eax
jmp 0x4833ac
sub eax, ecx
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + eax*4 - 4]
mov dword [esp + 0x2c], ecx
jmp 0x4833ac
mov eax, dword [edi + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
fdiv dword [esp + 0x90]
call sub.MSVCRT.dll__ftol
cmp ax, word [esp + 0x98]
jle 0x4833cd
mov dword [esp + 0x98], eax
mov byte [esp + 0x30], 1
mov cx, word [esp + 0x9c]
test cx, cx
jne 0x4833e9
cmp word [esp + 0xa0], cx
je 0x483466
mov al, byte [0x4dcb80]
test al, al
je 0x483466
movsx edx, word [esp + 0x78]
mov eax, esi
movsx ecx, cx
sub eax, edx
sub eax, ecx
cdq
idiv dword [esp + 0x24]
movsx eax, word [esp + 0xa0]
cmp edx, eax
jle 0x483466
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edi
push edx
push eax
mov eax, dword [esp + 0x34]
push ecx
push ebp
push eax
movsx eax, ax
mov edx, dword [esp + 0xa4]
sub esi, eax
push edx
lea ecx, [esi + esi*2]
shl ecx, 4
add ecx, edx
call fcn.004822d0
jmp 0x4834b9
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edi
push edx
push eax
mov eax, dword [esp + 0x34]
push ecx
push ebp
push eax
movsx eax, ax
mov edx, dword [esp + 0xa4]
sub esi, eax
push edx
lea ecx, [esi + esi*2]
shl ecx, 4
add ecx, edx
call fcn.00481ef0
mov eax, dword [esp + 0x14]
inc ebp
cmp ax, bp
jl 0x4834d8
mov ebx, dword [esp + 0x20]
movsx ecx, bp
movsx edx, bx
movsx eax, ax
add ecx, edx
cmp eax, ecx
jne 0x4834e4
jmp 0x4834dc
mov ebx, dword [esp + 0x20]
lea ecx, [ebx + ebp + 1]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi]
movsx esi, bp
movsx eax, bx
add eax, esi
cmp eax, ecx
jle 0x48350e
mov edx, dword [edi + 4]
cmp eax, edx
jge 0x483503
mov edx, dword [edi + 0xc]
sub eax, ecx
mov eax, dword [edx + eax*4]
jmp 0x483513
mov eax, dword [edi + 0xc]
sub edx, ecx
mov eax, dword [eax + edx*4 - 4]
jmp 0x483513
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
movsx ecx, word [esp + 0x80]
cmp eax, ecx
jg 0x483526
lea edx, [ebx + ebp]
mov dword [esp + 0x14], edx
cmp esi, dword [esp + 0x44]
jl 0x483103
mov dword [esp + 0x8c], ebp
mov ecx, dword [esp + 0x24]
mov eax, 0x7fff
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
movsx eax, word [esp + 0x10]
add ecx, eax
mov dword [esp + 0x44], 0xffc00000
movsx eax, bp
cmp eax, ecx
mov dword [esp + 0x48], 0x41dfffff
mov dword [esp + 0x78], ecx
jge 0x4836bb
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
jmp 0x48358e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x7c]
cmp bp, cx
jge 0x4835a1
movsx ecx, cx
sub ecx, eax
mov dword [esp + 0x98], ecx
jmp 0x4835ac
mov dword [esp + 0x98], 0
movsx ecx, dx
sub eax, ecx
mov ecx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x84]
lea eax, [eax + eax*2]
shl eax, 4
lea esi, [eax + ebx]
mov eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0xa4]
push eax
push edi
push ecx
push 0
push 0
push ebp
push edx
push ebx
mov ecx, esi
call fcn.00481ef0
mov byte [esi + 1], 1
mov dx, word [esi + 4]
mov cx, word [esi + 2]
movsx ebp, word [esp + 0x9c]
movsx eax, cx
movsx ebx, dx
add eax, ebx
movsx ebx, word [esp + 0xa0]
add ebx, ebp
cmp eax, ebx
jg 0x483691
mov ebx, dword [esp + 0x9c]
cmp cx, bx
jl 0x483664
jne 0x483637
fld qword [esi + 0x28]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 1
jne 0x483664
cmp cx, bx
jne 0x483691
movsx ecx, word [esp + 0x28]
mov ebp, dword [esp + 0x8c]
inc ecx
movsx eax, bp
cmp eax, ecx
jne 0x483698
fld qword [esi + 0x28]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 0x40
je 0x483698
mov dword [esp + 0x28], ebp
jmp 0x483698
mov eax, dword [esi + 0x28]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0xa0], edx
jmp 0x483698
mov ebp, dword [esp + 0x8c]
mov ecx, dword [esp + 0x78]
inc ebp
movsx eax, bp
cmp eax, ecx
mov dword [esp + 0x8c], ebp
jl 0x483582
cmp word [esp + 0x9c], 0x7fff
jl 0x4836de
push 0x297
push 0x4c5c14
push 0x4b1640
push 0
push 0x4c5be4
push 0x4dca08
call fcn.00441210
add esp, 0x18
movsx eax, word [esp + 0x28]
movsx edx, word [esp + 0x40]
movsx ecx, word [esp + 0x18]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x94]
sar eax, 1
sub eax, ecx
mov ecx, dword [esp + 0x7c]
mov word [edx], 0xffff
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x9c]
mov ebp, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov esi, dword [eax + 8]
mov ecx, esi
mov ebx, esi
sub ecx, ebp
add ecx, edx
movsx ebp, dx
movsx eax, cx
sub ebx, ebp
cmp eax, ebx
jge 0x483778
mov ebx, dword [edi]
cmp eax, ebx
jle 0x483763
mov edx, dword [edi + 4]
cmp eax, edx
jge 0x483758
mov edx, dword [edi + 0xc]
sub eax, ebx
mov eax, dword [edx + eax*4]
jmp 0x483768
mov eax, dword [edi + 0xc]
sub edx, ebx
mov eax, dword [eax + edx*4 - 4]
jmp 0x483768
mov edx, dword [edi + 0xc]
mov eax, dword [edx]
test eax, eax
jne 0x483778
inc ecx
mov edx, esi
movsx eax, cx
sub edx, ebp
cmp eax, edx
jl 0x483743
movsx eax, cx
sub esi, ebp
cmp eax, esi
jge 0x48378b
mov eax, dword [esp + 0x94]
inc word [eax]
push 0x30
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x80], eax
test eax, eax
mov dword [esp + 0x70], 0
je 0x4837b9
mov ecx, dword [esp + 0x9c]
push ecx
mov ecx, eax
call fcn.00483c10
jmp 0x4837bb
xor eax, eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x70], 0xffffffff
cmp dword [edx], 0
jne 0x4837de
mov dword [eax], eax
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], eax
jmp 0x483818
mov edx, dword [esp + 0x50]
mov dword [edx], eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4837f8
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x58], ecx
jmp 0x483818
mov edx, dword [esp + 0x58]
mov dword [eax], edx
mov cl, byte [esp + 0x5c]
test cl, cl
je 0x48380c
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov cl, byte [esp + 0x5d]
test cl, cl
je 0x483818
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x14]
test eax, eax
mov dword [esp + 0x9c], eax
jne 0x483715
lea ecx, [esp + 0x4c]
call fcn.00440460
mov ecx, dword [esp + 0x54]
pop edi
movsx edx, word [esp + 0x9c]
fld qword [ecx + 0x18]
fld st(0)
fmulp st(1)
mov dword [esp + 0x98], edx
pop esi
pop ebp
pop ebx
fidiv dword [esp + 0x8c]
fst qword [esp + 0x34]
fld qword [ecx + 0x20]
fsub st(1)
fcomp qword [0x4a8228]
fnstsw ax
test ah, 1
fstp st(0)
je 0x48389b
fld qword [ecx + 0x18]
push edx
sub esp, 8
fstp qword [esp]
fld qword [ecx + 0x20]
sub esp, 8
fstp qword [esp]
push 0x4c5b98
call fcn.00443600
add esp, 0x18
mov eax, dword [esp + 0xc]
push eax
call fcn.00442aa0
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00442aa0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
fld qword [edx + 0x20]
fsub qword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x6c
ret