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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5e5a48
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
mov ebx, dword [esp + 0x134]
push esi
push edi
mov edi, dword [esp + 0x140]
xor esi, esi
mov dword [ebx + 4], esi
mov eax, edi
mov ecx, ebx
mov dword [edi + 4], esi
call fcn.00491690
fcomp dword [esp + 0x144]
fnstsw ax
test ah, 0x41
jnp 0x4924a0
mov ecx, dword [esp + 0x138]
mov eax, dword [ecx + 0x858]
inc eax
push ebp
cdq
mov ebp, 5
idiv ebp
cmp edx, esi
mov dword [ecx + 0x858], edx
je 0x491a5b
add ecx, 0x84c
mov eax, dword [ecx]
mov dword [edi], eax
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
jmp 0x49249f
call fcn.004bcec0
push esi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x2c], eax
push ebx
lea eax, [esp + 0x2c]
lea edi, [esp + 0x34]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
call fcn.00413520
add esp, 0x10
test al, al
jne 0x491af2
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x43480000
push ebx
call fcn.004b4310
mov ecx, eax
call fcn.004b4410
mov ebp, dword [esp + 0x1c]
cmp ebp, esi
je 0x49249f
mov edx, dword [ebp + 0x28]
push ebx
mov eax, ebp
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], edx
call fcn.004bd6e0
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
mov ebx, ebp
call fcn.004bd6a0
fstp dword [esp + 0x38]
add esp, 8
xor esi, esi
jmp 0x491af6
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x144]
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
lea eax, [esp + 0x24]
lea edi, [esp + 0xb4]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.00413520
add esp, 0x10
test al, al
jne 0x491bc7
mov eax, dword [esp + 0x13c]
mov eax, dword [eax + 0x848]
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x491b51
mov ebx, eax
jmp 0x491b86
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x43480000
push ebx
call fcn.004b4310
mov ecx, eax
call fcn.004b4410
mov ebx, dword [esp + 0x14]
cmp ebx, esi
je 0x49249f
mov eax, dword [esp + 0x13c]
mov dword [eax + 0x848], ebx
mov edx, dword [esp + 0x144]
mov dword [esp + 0xa4], 1
mov ecx, dword [ebx + 0x28]
push edx
mov eax, ebx
mov dword [esp + 0xac], ecx
mov dword [esp + 0x18], ebx
call fcn.004bd6e0
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
call fcn.004bd6a0
fstp dword [esp + 0x24]
add esp, 8
xor esi, esi
jmp 0x491bdc
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x491bdc
mov ecx, dword [esp + 0x13c]
mov dword [ecx + 0x848], eax
call fcn.00446190
push eax
mov eax, 1
call fcn.004456c0
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x134], esi
call fcn.004bd4b0
lea esi, [esp + 0xd4]
call fcn.00413690
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x144]
mov ebx, dword [esp + 0x140]
mov edi, dword [esp + 0x28]
lea eax, [esp + 0xd4]
push eax
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0xb0]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x100]
push edx
push 0
mov dword [esp + 0x10c], edi
call fcn.004bdef0
fstp st(0)
push sym.Simpsons_Final.exe_public:_void___thiscall_pddiColour::constructor_void_
push 2
push 0xc
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x22], 0
call fcn.00405560
mov ecx, ebx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xd8]
cmp eax, 1
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x148]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
mov byte [esp + 0x13], 0
jne 0x49209b
mov eax, dword [esp + 0xdc]
cmp dword [eax], 0
jne 0x491d14
mov edi, dword [esp + 0x144]
lea esi, [esp + 0xac]
lea eax, [esp + 0xc4]
mov ecx, edi
mov edx, ebx
call fcn.004ba940
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], eax
jmp 0x492450
mov esi, dword [esp + 0xa8]
cmp edi, esi
mov dword [esp + 0x20], esi
je 0x491d6f
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x94]
push eax
push esi
mov edi, ebx
call fcn.004bd4c0
mov edx, dword [esp + 0x50]
add esp, 0x10
mov eax, esi
call fcn.004bcba0
lea ecx, [esp + 0x8c]
push ecx
mov ebp, eax
call fcn.004bd6e0
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
push edx
mov ebx, ebp
call fcn.004bd6a0
add esp, 8
jmp 0x491d73
fld dword [esp + 0x30]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x491d83
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x2c]
mov al, byte [esp + 0x12]
test al, al
mov edi, dword [ebp + 0x2c]
jne 0x491f1a
cmp edi, ebx
ja 0x492450
mov eax, dword [esp + 0x20]
mov edx, edi
call fcn.004bcba0
mov esi, eax
lea eax, [esp + 0x68]
xor ecx, ecx
mov edx, esi
call fcn.004c05c0
lea eax, [esp + 0x74]
mov ecx, 1
mov edx, esi
call fcn.004c05c0
lea eax, [esp + 0x80]
mov ecx, 2
mov edx, esi
call fcn.004c05c0
lea eax, [esp + 0x5c]
mov ecx, 3
mov edx, esi
call fcn.004c05c0
fld dword [esp + 0x5c]
fadd dword [esp + 0x68]
lea esi, [esp + 0xac]
fld dword [esp + 0x60]
fadd dword [esp + 0x6c]
fld dword [esp + 0x64]
fadd dword [esp + 0x70]
fstp dword [esp + 0x94]
fxch st(1)
fmul dword [0x617db4]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
fmul dword [0x617db4]
fstp dword [esp + 0x28]
fld dword [esp + 0x94]
mov edx, dword [esp + 0x28]
fmul dword [0x617db4]
mov dword [esp + 0x54], edx
mov dword [esp + 0x54], 0
fstp dword [esp + 0x2c]
fld dword [esp + 0x80]
mov eax, dword [esp + 0x2c]
fadd dword [esp + 0x74]
mov dword [esp + 0x58], eax
fld dword [esp + 0x84]
fadd dword [esp + 0x78]
fld dword [esp + 0x88]
fadd dword [esp + 0x7c]
fstp dword [esp + 0xa0]
fxch st(1)
fmul dword [0x617db4]
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
fmul dword [0x617db4]
lea ecx, [esp + 0x44]
fstp dword [esp + 0x38]
fld dword [esp + 0xa0]
mov edx, dword [esp + 0x38]
fmul dword [0x617db4]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x48], 0
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xc4]
call fcn.004ba940
cmp eax, 1
je 0x491ef1
inc edi
cmp edi, ebx
jbe 0x491da1
jmp 0x492450
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0xb0]
mov dword [ecx], edx
mov edx, dword [esp + 0xb4]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jmp 0x492450
cmp edi, ebx
jl 0x492450
mov eax, dword [esp + 0x20]
mov edx, edi
call fcn.004bcba0
mov esi, eax
lea eax, [esp + 0x80]
xor ecx, ecx
mov edx, esi
call fcn.004c05c0
lea eax, [esp + 0x68]
mov ecx, 1
mov edx, esi
call fcn.004c05c0
lea eax, [esp + 0x5c]
mov ecx, 2
mov edx, esi
call fcn.004c05c0
lea eax, [esp + 0x74]
mov ecx, 3
mov edx, esi
call fcn.004c05c0
fld dword [esp + 0x74]
fadd dword [esp + 0x80]
lea esi, [esp + 0xac]
fld dword [esp + 0x78]
fadd dword [esp + 0x84]
fld dword [esp + 0x7c]
fadd dword [esp + 0x88]
fstp dword [esp + 0x94]
fxch st(1)
fmul dword [0x617db4]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], eax
fmul dword [0x617db4]
fstp dword [esp + 0x38]
fld dword [esp + 0x94]
mov ecx, dword [esp + 0x38]
fmul dword [0x617db4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x48], 0
fstp dword [esp + 0x3c]
fld dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
fadd dword [esp + 0x68]
mov dword [esp + 0x4c], edx
fld dword [esp + 0x60]
fadd dword [esp + 0x6c]
fld dword [esp + 0x64]
fadd dword [esp + 0x70]
fstp dword [esp + 0xa0]
fxch st(1)
fmul dword [0x617db4]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], eax
fmul dword [0x617db4]
lea eax, [esp + 0xc4]
fstp dword [esp + 0x28]
fld dword [esp + 0xa0]
mov ecx, dword [esp + 0x28]
fmul dword [0x617db4]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], 0
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
lea edx, [esp + 0x44]
call fcn.004ba940
cmp eax, 1
je 0x492072
dec edi
cmp edi, ebx
jge 0x491f22
jmp 0x492450
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x144]
mov edx, dword [esp + 0xb0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
jmp 0x492450
xor ecx, ecx
test eax, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ecx
jle 0x492450
mov al, byte [esp + 0x13]
test al, al
jne 0x492450
mov esi, dword [esp + 0xdc]
mov eax, dword [esi + ecx*8]
sub eax, 0
je 0x49238b
dec eax
jne 0x492438
test ecx, ecx
mov edi, dword [esi + ecx*8 + 4]
mov ebp, dword [edi + 0x18]
mov dword [esp + 0x20], edi
mov dword [esp + 0x40], ebp
mov byte [esp + 0x12], 0
jne 0x492129
mov edx, dword [esp + 0xd8]
mov ecx, 1
cmp edx, ecx
jle 0x49210f
lea eax, [esi + 8]
cmp dword [eax], 0
je 0x49211d
inc ecx
add eax, 8
cmp ecx, edx
jl 0x492102
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
jmp 0x492153
mov edx, dword [edi]
cmp edx, dword [eax + 4]
sete byte [esp + 0x12]
jmp 0x492134
mov eax, dword [esp + 0x18]
cmp dword [edi], eax
setne byte [esp + 0x12]
mov al, byte [esp + 0x12]
test al, al
je 0x49210f
lea eax, [ebp - 1]
test eax, eax
mov dword [esp + 0x14], eax
jl 0x492438
mov edx, eax
jmp 0x492153
mov ebp, dword [esp + 0x40]
cmp edx, ebp
jge 0x492438
mov eax, edi
call fcn.004bcba0
mov ebx, eax
lea eax, [esp + 0x80]
xor ecx, ecx
mov edx, ebx
call fcn.004c05c0
lea eax, [esp + 0x98]
mov ecx, 1
mov edx, ebx
call fcn.004c05c0
lea eax, [esp + 0xf0]
mov ecx, 2
mov edx, ebx
call fcn.004c05c0
lea eax, [esp + 0x74]
mov ecx, 3
mov edx, ebx
call fcn.004c05c0
fld dword [esp + 0x74]
fadd dword [esp + 0x80]
lea esi, [esp + 0x114]
fld dword [esp + 0x78]
fadd dword [esp + 0x84]
fld dword [esp + 0x7c]
fadd dword [esp + 0x88]
fstp dword [esp + 0x110]
fxch st(1)
fmul dword [0x617db4]
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x68], ecx
fmul dword [0x617db4]
fstp dword [esp + 0x38]
fld dword [esp + 0x110]
mov edx, dword [esp + 0x38]
fmul dword [0x617db4]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x6c], 0
fstp dword [esp + 0x3c]
fld dword [esp + 0xf0]
mov eax, dword [esp + 0x3c]
fadd dword [esp + 0x98]
mov dword [esp + 0x70], eax
fld dword [esp + 0xf4]
fadd dword [esp + 0x9c]
fld dword [esp + 0xf8]
fadd dword [esp + 0xa0]
fstp dword [esp + 0x104]
fxch st(1)
fmul dword [0x617db4]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
fmul dword [0x617db4]
lea ecx, [esp + 0x50]
fstp dword [esp + 0x28]
fld dword [esp + 0x104]
mov edx, dword [esp + 0x28]
fmul dword [0x617db4]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x68]
mov dword [esp + 0x54], 0
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0xc4]
call fcn.004ba940
test eax, eax
jle 0x492340
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, dword [esp + 0x114]
mov edi, dword [esp + 0x118]
mov ebp, dword [esp + 0x11c]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], ebp
jne 0x49236b
lea ecx, [esp + 0x8c]
push ecx
mov eax, ebx
call fcn.004bd6e0
fstp dword [esp]
call fcn.004bd6a0
fcomp dword [esp + 0x34]
mov al, byte [esp + 0x16]
add esp, 4
test al, al
fnstsw ax
je 0x492337
test ah, 5
jp 0x49233c
mov ecx, dword [esp + 0x144]
mov ebx, dword [esp + 0x140]
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], ebp
mov byte [esp + 0x13], 1
jmp 0x492438
test ah, 0x41
je 0x492317
mov edi, dword [esp + 0x20]
mov dl, byte [esp + 0x12]
mov ebx, dword [esp + 0x140]
xor eax, eax
test dl, dl
mov edx, dword [esp + 0x14]
sete al
lea eax, [eax + eax - 1]
add edx, eax
mov dword [esp + 0x14], edx
jns 0x49214f
jmp 0x492438
mov edx, dword [esp + 0x144]
mov ebx, dword [esp + 0x140]
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ebp
mov byte [esp + 0x13], 1
jmp 0x492438
mov esi, dword [esi + ecx*8 + 4]
lea eax, [esp + 0x5c]
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.004bb510
lea eax, [esp + 0x5c]
mov ecx, ebx
mov dword [esp + 0x60], 0
call fcn.00491690
fld dword [esp + 0x148]
fsubr st(1)
fcom dword [0x617db0]
fnstsw ax
test ah, 1
je 0x4923c9
fchs
fld dword [esi + 0xf0]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x492436
fld dword [esp + 0x5c]
mov ecx, dword [esp + 0x144]
fsub dword [ebx]
lea eax, [esp + 0x44]
fld dword [ebx + 4]
push eax
fchs
push ebx
fld dword [esp + 0x6c]
fsub dword [ebx + 8]
fstp dword [esp + 0x54]
fld dword [esp + 0x150]
fdiv st(3)
fstp dword [esp + 0x1c]
fxch st(1)
fmul dword [esp + 0x1c]
fstp dword [esp + 0x4c]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x50]
fstp st(0)
fld dword [esp + 0x54]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x54]
call fcn.0040f1d0
mov byte [esp + 0x13], 1
jmp 0x492438
fstp st(0)
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xd8]
inc ecx
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jl 0x4920b1
call fcn.00446190
push eax
mov eax, 1
call fcn.004456d0
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x13c]
mov dword [eax + 4], 0
mov edx, dword [eax]
add ecx, 0x84c
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x49249f
push eax
call fcn.004452b0
add esp, 4
pop ebp
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 0x10