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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ad88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x56858c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ecx], vtable.ModeCGdispScene::CModeCGdisp.0
mov dword [ebp - 4], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], eax
lea edi, [ecx + 0x80]
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x64], eax
mov dword [ecx + 0x68], 0xffffffff
mov dword [ecx + 0x6c], eax
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], 0xff
mov dword [ecx + 0x78], eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ecx + 0x8c], eax
mov dword [ecx + 0x90], eax
mov dword [ecx + 0x94], eax
lea esi, [ecx + 0x98]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ecx + 0xa4], eax
mov dword [ecx + 0xa8], eax
mov dword [ecx + 0xac], eax
mov dword [ecx + 0xb0], eax
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0xb8], eax
mov ecx, 0x56a4b4
mov byte [ebp - 4], 8
call fcn.00416a20
mov edx, dword [0x5699f0]
mov ebx, dword [edx + 0x30]
test ebx, ebx
jne 0x482a68
xor eax, eax
jmp 0x482a7e
mov eax, dword [edx + 0x38]
test eax, eax
je 0x482a74
mov ecx, dword [eax + 0xc]
jmp 0x482a76
xor ecx, ecx
mov eax, dword [edx + 0x34]
imul eax, ecx
add eax, ebx
add eax, 0x1c
push 0
push 0x52791c
mov ecx, eax
call fcn.004049b0
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov edx, dword [ecx + 0x18]
test edx, edx
jne 0x482aaa
xor ecx, ecx
jmp 0x482ac0
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x482ab6
mov eax, dword [eax + 0xc]
jmp 0x482ab8
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push str.bg_black.bgd
push edi
call fcn.004324d0
test al, al
jne 0x482ae4
push 0x5455d8
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.005036c5
push 0x24
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x482b02
mov ecx, eax
call fcn.004116f0
jmp 0x482b04
xor eax, eax
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0040ced0
mov ecx, 0x56a4bc
call fcn.00416ad0
mov ecx, dword [0x5699f4]
mov ebx, dword [ecx + 0x1c]
mov ecx, 0x56a4bc
call fcn.00416ad0
mov eax, dword [esi]
mov edx, dword [0x5699f4]
mov edi, dword [edx + 0x18]
test eax, eax
jne 0x482b40
xor ecx, ecx
jmp 0x482b56
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x482b4c
mov edx, dword [ecx + 0xc]
jmp 0x482b4e
xor edx, edx
mov ecx, dword [esi + 4]
imul ecx, edx
add ecx, eax
push 1
xor esi, esi
push esi
push ebx
push edi
call fcn.0040fc70
test al, al
jne 0x482b7b
push 0x5455d8
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.005036c5
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov edx, dword [ecx + 0x30]
cmp edx, esi
jne 0x482b96
xor ecx, ecx
jmp 0x482bac
mov eax, dword [ecx + 0x38]
cmp eax, esi
je 0x482ba2
mov eax, dword [eax + 0xc]
jmp 0x482ba4
xor eax, eax
mov ecx, dword [ecx + 0x34]
imul ecx, eax
add ecx, edx
push esi
call fcn.00466420
mov ebx, dword [ebp - 0x14]
xor edi, edi
jmp 0x482bc0
mov ecx, 0x56a4b4
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov edx, dword [ecx + 0x30]
cmp edx, esi
jne 0x482bdb
xor ecx, ecx
jmp 0x482bf1
mov eax, dword [ecx + 0x38]
cmp eax, esi
je 0x482be7
mov eax, dword [eax + 0xc]
jmp 0x482be9
xor eax, eax
mov ecx, dword [ecx + 0x34]
imul ecx, eax
add ecx, edx
call fcn.004451a0
cmp edi, eax
jge 0x482c7e
push 0x90
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xa
cmp eax, esi
je 0x482c20
push edi
mov ecx, eax
call fcn.004811a0
jmp 0x482c22
xor eax, eax
push 1
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.004744b0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebx + 0x3c]
mov byte [ebp - 4], 0xb
call fcn.0044ca40
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 8
cmp eax, esi
je 0x482c78
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], esi
jne 0x482c72
cmp byte [ecx + 8], 0
je 0x482c62
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x24]
cmp ecx, esi
je 0x482c72
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], esi
inc edi
jmp 0x482bc0
mov eax, dword [ebp - 0x14]
push 0x60
mov byte [eax + 0xc], 0
mov dword [eax + 0x10], esi
call fcn.00503a77
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 0xc
cmp ebx, esi
je 0x482da5
mov ecx, 0x56a4b4
call fcn.00416a20
mov edx, dword [0x5699f0]
mov esi, dword [edx + 0x18]
test esi, esi
jne 0x482cbe
xor eax, eax
jmp 0x482cd4
mov eax, dword [edx + 0x20]
test eax, eax
je 0x482cca
mov ecx, dword [eax + 0xc]
jmp 0x482ccc
xor ecx, ecx
mov eax, dword [edx + 0x1c]
imul eax, ecx
add eax, esi
mov edx, dword [eax + 8]
test edx, edx
jne 0x482cdf
xor edi, edi
jmp 0x482cf5
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x482ceb
mov ecx, dword [ecx + 0xc]
jmp 0x482ced
xor ecx, ecx
mov edi, dword [eax + 0xc]
imul edi, ecx
add edi, edx
mov ecx, 0x56a4b4
call fcn.00416a20
mov edx, dword [0x5699f0]
mov esi, dword [edx + 0x18]
test esi, esi
jne 0x482d10
xor eax, eax
jmp 0x482d26
mov eax, dword [edx + 0x20]
test eax, eax
je 0x482d1c
mov ecx, dword [eax + 0xc]
jmp 0x482d1e
xor ecx, ecx
mov eax, dword [edx + 0x1c]
imul eax, ecx
add eax, esi
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
test ecx, ecx
jne 0x482d33
xor eax, eax
jmp 0x482d49
mov edx, dword [eax + 8]
test edx, edx
je 0x482d3f
mov edx, dword [edx + 0xc]
jmp 0x482d41
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
test ecx, ecx
jne 0x482d56
xor eax, eax
jmp 0x482d6c
mov edx, dword [eax + 8]
test edx, edx
je 0x482d62
mov edx, dword [edx + 0xc]
jmp 0x482d64
xor edx, edx
mov eax, dword [eax + 4]
imul eax, edx
add eax, ecx
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x482d77
xor esi, esi
jmp 0x482d7a
mov esi, dword [eax + 0x10]
mov ecx, 0x56a451
call fcn.004074f0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [0x5699e4]
call fcn.00430a30
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edi
push esi
push edx
push eax
mov ecx, ebx
call fcn.004771d0
jmp 0x482da7
xor eax, eax
mov ebx, dword [ebp - 0x14]
push eax
lea ecx, [ebx + 0xa4]
mov byte [ebp - 4], 8
call fcn.00474190
push 0x30
call fcn.00503a77
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 0xd
test edi, edi
je 0x482e35
mov ecx, 0x56a4b4
call fcn.00416a20
mov edx, dword [0x5699f0]
mov esi, dword [edx + 0x18]
test esi, esi
jne 0x482dec
xor eax, eax
jmp 0x482e02
mov eax, dword [edx + 0x20]
test eax, eax
je 0x482df8
mov ecx, dword [eax + 0xc]
jmp 0x482dfa
xor ecx, ecx
mov eax, dword [edx + 0x1c]
imul eax, ecx
add eax, esi
mov edx, dword [eax + 8]
test edx, edx
jne 0x482e15
xor eax, eax
push eax
mov ecx, edi
call fcn.00474a80
jmp 0x482e37
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x482e21
mov ecx, dword [ecx + 0xc]
jmp 0x482e23
xor ecx, ecx
mov eax, dword [eax + 0xc]
imul eax, ecx
add eax, edx
push eax
mov ecx, edi
call fcn.00474a80
jmp 0x482e37
xor eax, eax
push eax
lea ecx, [ebx + 0xb0]
mov byte [ebp - 4], 8
call fcn.00474230
mov ecx, 0x56a4bc
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
jbe 0x482e9c
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x482e9c
mov edx, dword [eax + 0x20]
test edx, edx
je 0x482e90
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x482e9e
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x482e9e
xor eax, eax
mov ecx, 0x56a4bc
mov dword [eax + 4], 0
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x482efa
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x482efa
mov edx, dword [eax + 0x20]
test edx, edx
je 0x482eee
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x482efc
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x482efc
xor eax, eax
mov ecx, 0x56a4bc
mov byte [eax + 9], 0
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
jbe 0x482f55
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x482f55
mov edx, dword [eax + 0x20]
test edx, edx
je 0x482f49
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x482f57
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x482f57
xor eax, eax
mov ecx, 0x56a4bc
mov byte [eax + 0x24], 0
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x482fb0
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x482fb0
mov edx, dword [eax + 0x20]
test edx, edx
je 0x482fa4
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x482fb2
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x482fb2
xor eax, eax
mov ecx, 0x56a4bc
mov byte [eax + 0x25], 1
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
jbe 0x48300b
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x48300b
mov edx, dword [eax + 0x20]
test edx, edx
je 0x482fff
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x48300d
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x48300d
xor eax, eax
mov ecx, 0x56a4bc
mov byte [eax + 0x26], 1
call fcn.00416ad0
mov esi, dword [0x5699f4]
mov ecx, dword [esi + 0x34]
sub ecx, dword [esi + 0x30]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x483066
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x483066
mov edx, dword [eax + 0x20]
test edx, edx
je 0x48305a
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x483068
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x483068
xor eax, eax
mov byte [eax + 0x27], 1
mov ecx, 0x56a4b4
mov dword [ebx + 4], 0x10
call fcn.00416a20
mov ecx, dword [0x5699f0]
mov byte [ecx + 0x214], 1
mov ecx, 0x56a4b4
call fcn.00416a20
mov edx, dword [0x5699f0]
mov byte [edx + 0x215], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret