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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
fild dword [0x6f355c]
push 0x69ad9e
push eax
fmul dword [0x6a84d0]
mov dword fs:[0], esp
sub esp, 0x414
push ebx
fsub dword [0x6ace84]
push ebp
push esi
push edi
mov esi, ecx
call fcn.005b8b18
mov dword [esi + 0xb8], eax
fild dword [0x6f3560]
fmul dword [0x6a84d0]
fsub dword [0x6ace80]
call fcn.005b8b18
xor ebx, ebx
mov dword [esi + 0xbc], eax
xor edi, edi
lea ebp, [esi + 0x158]
push edi
lea eax, [esp + 0x28]
push str.data_interface_gamecard_game_card_d.tga
push eax
call dword [sym.imp.user32.dll_wsprintfA]
mov edx, dword [0x21f1c70]
push ebp
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.0040ba50
add esp, 0x18
test eax, eax
jl 0x4883af
inc edi
add ebp, 4
cmp edi, 0x17
jl 0x4878c5
push edi
lea eax, [esp + 0x28]
push str.data_interface_tarocard_tarocard22.tga
push eax
call dword [sym.imp.user32.dll_wsprintfA]
mov eax, dword [0x21f1c70]
lea ecx, [esi + 0x1bc]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
call fcn.0040ba50
add esp, 0x18
test eax, eax
jl 0x4883af
mov dword [esi + 0xc4], ebx
mov byte [esi + 0xc8], bl
mov byte [esi + 0xca], bl
mov byte [esi + 0xc9], bl
mov dword [esi + 0xd0], ebx
mov eax, 0x40490fdb
mov dword [esi + 0xcc], eax
mov byte [esi + 0xd8], bl
mov byte [esi + 0xda], bl
mov byte [esi + 0xd9], bl
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], ebx
mov byte [esi + 0xe8], bl
mov byte [esi + 0xea], bl
mov byte [esi + 0xe9], bl
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xec], eax
mov dword [esi + 0xf0], ebx
mov byte [esi + 0xf8], bl
mov byte [esi + 0xfa], bl
mov byte [esi + 0xf9], bl
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], ebx
mov byte [esi + 0x108], bl
mov byte [esi + 0x10a], bl
mov byte [esi + 0x109], bl
mov dword [esi + 0x104], ebx
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], ebx
mov byte [esi + 0x118], bl
mov byte [esi + 0x11a], bl
mov byte [esi + 0x119], bl
mov dword [esi + 0x114], ebx
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], ebx
mov byte [esi + 0x128], bl
mov byte [esi + 0x12a], bl
mov byte [esi + 0x129], bl
mov dword [esi + 0x124], ebx
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], ebx
mov byte [esi + 0x138], bl
mov byte [esi + 0x13a], bl
mov byte [esi + 0x139], bl
mov dword [esi + 0x134], ebx
mov dword [esi + 0x13c], eax
push ebx
mov dword [esi + 0x140], ebx
mov byte [esi + 0x148], bl
mov byte [esi + 0x14a], bl
lea edi, [esi + 0x154]
push edi
push 1
mov byte [esi + 0x149], bl
mov dword [esi + 0x144], ebx
push 0x112
mov dword [esi + 0x14c], eax
push 8
mov dword [esi + 0x150], ebx
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 0x80
push eax
call dword [ecx + 0x68]
test eax, eax
jl 0x4883af
mov eax, dword [edi]
mov edx, dword [eax]
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push eax
call dword [edx + 0x2c]
mov edx, dword [esp + 0x10]
mov ecx, 0xbf000000
mov dword [edx], ecx
mov eax, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x18], ebx
mov eax, dword [esp + 0x10]
mov edx, 0x3f700000
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov ebp, dword [esp + 0x10]
mov eax, 0x3f000000
mov dword [ebp + 0x24], eax
mov ebp, dword [esp + 0x10]
mov dword [ebp + 0x38], ebx
mov ebp, dword [esp + 0x10]
mov dword [ebp + 0x3c], ebx
mov ebp, dword [esp + 0x10]
mov dword [ebp + 0x40], eax
mov ebp, dword [esp + 0x10]
mov dword [ebp + 0x44], ecx
mov ebp, dword [esp + 0x10]
mov ecx, 0x3f200000
mov dword [ebp + 0x58], ecx
mov ebp, dword [esp + 0x10]
mov dword [ebp + 0x5c], edx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x60], eax
mov edx, dword [esp + 0x10]
mov dword [edx + 0x64], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x78], ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x7c], ebx
mov edx, dword [esp + 0x10]
mov dword [edx + 0x68], ebx
mov eax, dword [esp + 0x10]
mov dword [eax + 0x48], ebx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x28], ebx
mov edx, dword [esp + 0x10]
mov dword [edx + 8], ebx
mov eax, dword [esp + 0x10]
add eax, 0x6c
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov dword [esp + 0x20], 0xbf800000
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x10]
lea edx, [eax + 0x6c]
mov ecx, dword [edx]
add eax, 0x4c
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0x4c]
mov edx, dword [ecx]
add eax, 0x2c
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x10]
lea edx, [eax + 0x2c]
mov ecx, dword [edx]
add eax, 0xc
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
push ebx
mov edx, dword [esi + 0xbc]
push 4
mov eax, dword [esi + 0xb8]
push pe_nt_image_headers32
push 0x400
push str.slotbutton.tga
push ebx
push 0x24
push 0x53
push 0x40
push 0x80
push 0x212
push 0xe4
push edx
push eax
lea ecx, [esi + 0x1c0]
call fcn.00517d00
push 0x3f800000
mov ecx, dword [esi + 0xbc]
push 4
mov edx, dword [esi + 0xb8]
push pe_nt_image_headers32
push 0x400
push str.slotbutton.tga
push ebx
push 0x24
push 0x53
push 0x40
push 0x80
push 0x212
push 0x137
push ecx
lea ebp, [esi + 0x694]
push edx
mov ecx, ebp
call fcn.00517d00
push 0x40000000
mov eax, dword [esi + 0xbc]
push 4
mov edx, dword [esi + 0xb8]
push pe_nt_image_headers32
push 0x400
push str.slotbutton.tga
push ebx
push 0x24
push 0x53
push 0x40
push 0x80
push 0x212
push 0x18a
push eax
lea ecx, [esi + 0xb68]
push edx
call fcn.00517d00
push 0x40400000
push 4
push pe_nt_image_headers32
push 0x400
push str.slotbutton.tga
push ebx
push 0x24
push 0x53
push 0x40
push 0x80
lea ecx, [esi + 0x103c]
push 0x212
mov eax, dword [esi + 0xbc]
mov edx, dword [esi + 0xb8]
push 0x206
push eax
push edx
call fcn.00517d00
push 0x40800000
mov eax, dword [esi + 0xbc]
push 4
mov ecx, dword [esi + 0xb8]
push pe_nt_image_headers32
push 0x400
push str.slotbutton.tga
push ebx
push 0x24
push 0x53
push 0x40
push 0x80
push 0x212
push 0x260
push eax
push ecx
lea ecx, [esi + 0x1510]
call fcn.00517d00
lea edi, [esi + 0x258]
mov dword [esp + 0x14], 5
mov edi, edi
push 1
push ebx
lea ecx, [edi - 0x98]
call fcn.00516a10
mov eax, dword [esp + 0x14]
mov dword [edi], 0x3f800000
add edi, 0x4d4
dec eax
mov dword [esp + 0x14], eax
jne 0x487d40
push ebx
mov edx, dword [esi + 0xbc]
push 4
mov eax, dword [esi + 0xb8]
push pe_nt_image_headers32
push 0x200
push str.cardbutton.tga
push ebx
push 0x24
push 0x53
push 0x40
push 0x80
push 0x212
push 0xe4
push edx
push eax
lea ecx, [esi + 0x19e4]
call fcn.00517d00
push 0x3f800000
mov ecx, dword [esi + 0xbc]
push 4
mov edx, dword [esi + 0xb8]
push pe_nt_image_headers32
push 0x200
push str.cardbutton.tga
push ebx
push 0x24
push 0x53
push 0x40
push 0x80
push 0x212
push 0x137
push ecx
push edx
lea ecx, [esi + 0x1eb8]
call fcn.00517d00
push 0x40000000
mov eax, dword [esi + 0xbc]
push 4
mov ecx, dword [esi + 0xb8]
push pe_nt_image_headers32
push 0x200
push str.cardbutton.tga
push ebx
push 0x24
push 0x53
push 0x40
push 0x80
push 0x212
push 0x206
push eax
push ecx
lea ecx, [esi + 0x238c]
call fcn.00517d00
push 0x40400000
mov edx, dword [esi + 0xbc]
push 4
mov eax, dword [esi + 0xb8]
push pe_nt_image_headers32
push 0x200
push str.cardbutton.tga
push ebx
push 0x24
push 0x53
push 0x40
push 0x80
push 0x212
push 0x260
push edx
push eax
lea ecx, [esi + 0x2860]
call fcn.00517d00
lea edi, [esi + 0x1a7c]
mov dword [esp + 0x14], 4
push 1
push ebx
lea ecx, [edi - 0x98]
call fcn.00516a10
mov eax, dword [esp + 0x14]
mov dword [edi], 0x3f800000
add edi, 0x4d4
dec eax
mov dword [esp + 0x14], eax
jne 0x487e83
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi + 0xb8]
push 0xff
push 0xff
push 0xff
push 0xffffffffffffffff
push 0xa9
push 0x68
push 0x26
push ecx
lea edi, [esi + 0x2d34]
push edx
mov ecx, edi
call fcn.0051c4c0
push 0x2336
call fcn.0041b230
add esp, 4
push eax
mov ecx, edi
call fcn.0051d080
mov dword [esi], ebx
mov eax, dword [0x84eff0]
mov dword [esi + 8], eax
mov ecx, dword [0x84f770]
mov dword [esi + 0x50], ecx
mov dword [esi + 0x58], ebx
or edi, 0xffffffff
mov dword [esi + 0x4c], edi
push ebx
mov ecx, ebp
mov byte [0x84effc], 1
mov byte [0x84effd], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x48], ebx
call fcn.00516a50
push ebx
lea ecx, [esi + 0xb68]
call fcn.00516a50
push ebx
lea ecx, [esi + 0x103c]
call fcn.00516a50
push 0x400
push 0x400
push str.slotmain.tga
push str.data_interface
lea ecx, [esi + 0x2da4]
call fcn.00538940
push 0x400
push 0x400
push str.cardmain.tga
push str.data_interface
lea ecx, [esi + 0x2db4]
call fcn.00538940
push pe_nt_image_headers32
push pe_nt_image_headers32
push str.batno.tga
push str.data_interface
lea ecx, [esi + 0x2dc4]
call fcn.00538940
push 0x80
push pe_nt_image_headers32
push str.batline.tga
push str.data_interface
lea ecx, [esi + 0x2dd4]
call fcn.00538940
push 0x80
push pe_nt_image_headers32
push str.batline2.tga
push str.data_interface
lea ecx, [esi + 0x2de4]
call fcn.00538940
push str.Strip_npc.EFT
push str.data_Effect
mov ecx, 0x21f9238
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov byte [esi + 0x64], bl
call fcn.00549130
test eax, eax
je 0x4883af
cmp byte [0x21e6a42], bl
mov eax, dword [0x84efec]
mov byte [0x6f6088], 2
mov dword [0x84eff8], 0
jne 0x4880be
cmp eax, 6
ja case.default.0x4880c3
jmp dword [eax*4 + 0x4883cc]
mov eax, str.Strip_L_01.MON
mov dword [0x84eff8], 0
jmp 0x488123
mov eax, str.Strip_L_02.MON
mov dword [0x84eff8], 0xbc23d70a
jmp 0x488123
mov eax, str.Strip_L_03.MON
mov dword [0x84eff8], 0x3d23d70a
jmp 0x488123
mov eax, str.Strip_L_04.MON
mov dword [0x84eff8], 0xbc23d70a
jmp 0x488123
mov eax, str.Strip_L_05.MON
mov dword [0x84eff8], 0x3ca3d70a
jmp 0x488123
cmp eax, 6
ja case.default.0x4880c3
jmp dword [eax*4 + 0x4883e8]
mov eax, str.Strip_F_01.MON
mov dword [0x84eff8], 0x3da3d70a
jmp 0x488123
mov eax, str.Strip_F_02.MON
mov dword [0x84eff8], 0x3e3851ec
jmp 0x488123
mov eax, str.Strip_F_03.MON
mov dword [0x84eff8], 0
jmp 0x488123
mov eax, str.Strip_F_04.MON
mov dword [0x84eff8], 0x3b449ba6
jmp 0x488123
mov eax, str.Strip_F_05.MON
mov dword [0x84eff8], 0x3c23d70a
jmp 0x488123
mov eax, dword [esp + 0x14]
push eax
push str.Data_Strip
mov ecx, 0x6f6080
call fcn.00543ed0
test eax, eax
je 0x4883af
push 0x12c
call fcn.005b8072
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x42c], ebx
je 0x488160
mov ecx, eax
call fcn.004872f0
jmp 0x488162
xor eax, eax
mov dword [esi + 0x2dfc], eax
add eax, 0x8c
mov dword [esp + 0x18], 0x4165999a
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [esp + 0x1c], 0x3ee66666
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov dword [esp + 0x20], 0x41566666
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x2dfc]
lea ecx, [eax + 0x8c]
mov edx, dword [ecx]
add eax, 0x38
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x2dfc]
add edx, 0x44
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov dword [edx], eax
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
mov dword [edx + 4], ecx
mov dword [esp + 0x20], 0xbf800000
mov eax, dword [esp + 0x20]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x2dfc]
lea ecx, [eax + 0x44]
mov edx, dword [ecx]
add eax, 0x98
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x2dfc]
mov dword [edx + 0x5c], 0xddf22
mov ecx, dword [esi + 0x2dfc]
push ebx
mov dword [esp + 0x430], edi
call fcn.00432440
mov eax, dword [esi + 0x2dfc]
mov edi, 2
mov dword [eax + 0x80], edi
mov ecx, dword [esi + 0x2dfc]
mov dword [ecx + 0x74], edi
mov edx, dword [esi + 0x2dfc]
mov dword [edx + 0x78], 1
mov eax, dword [esi + 0x2dfc]
add eax, 0x38
mov ecx, eax
mov eax, dword [ecx]
mov dword [0x21f1d44], eax
mov edx, dword [ecx + 4]
mov dword [0x21f1d48], edx
fld dword [0x21f1d48]
fadd dword [0x84eff8]
mov ecx, dword [ecx + 8]
mov dword [0x21f1d40], ecx
mov dword [0x21f1d4c], ecx
fadd dword [0x6a8210]
mov dword [0x21f1d38], eax
mov dword [0x84f000], eax
fstp dword [0x21f1d48]
mov edx, dword [0x21f1d48]
mov dword [0x21f1d3c], edx
fld dword [0x21f1d3c]
fadd dword [0x6a8524]
fstp dword [0x21f1d3c]
mov ecx, dword [0x21f1d3c]
fld dword [0x21f1d40]
mov dword [0x84f004], ecx
fsub dword [0x6a8690]
fstp dword [0x21f1d40]
mov edx, dword [0x21f1d40]
mov dword [0x84f008], edx
push 1
push 3
push str.cd_betting01.wav
mov dword [0x84f010], ecx
mov dword [0x84f00c], eax
mov dword [0x84f014], edx
push ebx
push 0x32
mov ecx, 0x21efa50
mov byte [esi + 0x2e08], bl
mov dword [esi + 0x2e00], 0x3f800000
mov dword [esi + 0x2df4], ebx
call fcn.0052ae60
push 1
push 3
push str.cd_turn01.wav
push 1
push 0x32
mov ecx, 0x21efa50
call fcn.0052ae60
push 1
push edi
push str.cd_success01.wav
push edi
push 0x32
mov ecx, 0x21efa50
call fcn.0052ae60
push 1
push edi
push str.cd_unsuccess01.wav
push 3
push 0x32
mov ecx, 0x21efa50
call fcn.0052ae60
push 1
push edi
push str.cd_success02.wav
push 4
push 0x32
mov ecx, 0x21efa50
call fcn.0052ae60
push 1
push 0xa
push str.cd_moneyup01.wav
push 5
push 0x32
mov ecx, 0x21efa50
call fcn.0052ae60
push 1
push edi
push str.cd_open01.wav
push 6
push 0x32
mov ecx, 0x21efa50
call fcn.0052ae60
mov eax, 1
jmp 0x4883b1
xor eax, eax
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x420
ret