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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
fild dword [0x70859c]
push 0x6aee6e
push eax
fmul dword [0x6bc860]
mov dword fs:[0], esp
sub esp, 0x414
push ebx
fsub dword [0x6c14f0]
push ebp
push esi
push edi
mov esi, ecx
call fcn.005cd414
mov dword [esi + 0xb8], eax
fild dword [0x7085a0]
fmul dword [0x6bc860]
fsub dword [0x6c14ec]
call fcn.005cd414
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 [0x2209400]
push ebp
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.0040d480
add esp, 0x18
test eax, eax
jl 0x48b1cf
inc edi
add ebp, 4
cmp edi, 0x17
jl 0x48a6e5
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 [0x2209400]
lea ecx, [esi + 0x1bc]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
call fcn.0040d480
add esp, 0x18
test eax, eax
jl 0x48b1cf
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 [0x2209400]
mov ecx, dword [eax]
push 0x80
push eax
call dword [ecx + 0x68]
test eax, eax
jl 0x48b1cf
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 0x100
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.005285b0
push 0x3f800000
mov ecx, dword [esi + 0xbc]
push 4
mov edx, dword [esi + 0xb8]
push 0x100
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 + 0x798]
push edx
mov ecx, ebp
call fcn.005285b0
push 0x40000000
mov eax, dword [esi + 0xbc]
push 4
mov edx, dword [esi + 0xb8]
push 0x100
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 + 0xd70]
push edx
call fcn.005285b0
push 0x40400000
push 4
push 0x100
push 0x400
push str.slotbutton.tga
push ebx
push 0x24
push 0x53
push 0x40
push 0x80
lea ecx, [esi + 0x1348]
push 0x212
mov eax, dword [esi + 0xbc]
mov edx, dword [esi + 0xb8]
push 0x206
push eax
push edx
call fcn.005285b0
push 0x40800000
mov eax, dword [esi + 0xbc]
push 4
mov ecx, dword [esi + 0xb8]
push 0x100
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 + 0x1920]
call fcn.005285b0
lea edi, [esi + 0x258]
mov dword [esp + 0x14], 5
mov edi, edi
push 1
push ebx
lea ecx, [edi - 0x98]
call fcn.00527230
mov eax, dword [esp + 0x14]
mov dword [edi], 0x3f800000
add edi, 0x5d8
dec eax
mov dword [esp + 0x14], eax
jne 0x48ab60
push ebx
mov edx, dword [esi + 0xbc]
push 4
mov eax, dword [esi + 0xb8]
push 0x100
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 + 0x1ef8]
call fcn.005285b0
push 0x3f800000
mov ecx, dword [esi + 0xbc]
push 4
mov edx, dword [esi + 0xb8]
push 0x100
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 + 0x24d0]
call fcn.005285b0
push 0x40000000
mov eax, dword [esi + 0xbc]
push 4
mov ecx, dword [esi + 0xb8]
push 0x100
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 + 0x2aa8]
call fcn.005285b0
push 0x40400000
mov edx, dword [esi + 0xbc]
push 4
mov eax, dword [esi + 0xb8]
push 0x100
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 + 0x3080]
call fcn.005285b0
lea edi, [esi + 0x1f90]
mov dword [esp + 0x14], 4
push 1
push ebx
lea ecx, [edi - 0x98]
call fcn.00527230
mov eax, dword [esp + 0x14]
mov dword [edi], 0x3f800000
add edi, 0x5d8
dec eax
mov dword [esp + 0x14], eax
jne 0x48aca3
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 + 0x3658]
push edx
mov ecx, edi
call fcn.0052cf20
push 0x2336
call fcn.0041d4a0
add esp, 4
push eax
mov ecx, edi
call fcn.0052dbd0
mov dword [esi], ebx
mov eax, dword [0x864e48]
mov dword [esi + 8], eax
mov ecx, dword [0x8655f0]
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 [0x864e54], 1
mov byte [0x864e55], 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.00527270
push ebx
lea ecx, [esi + 0xd70]
call fcn.00527270
push ebx
lea ecx, [esi + 0x1348]
call fcn.00527270
push 0x400
push 0x400
push str.slotmain.tga
push str.data_interface
lea ecx, [esi + 0x36c8]
call fcn.005497a0
push 0x400
push 0x400
push str.cardmain.tga
push str.data_interface
lea ecx, [esi + 0x36d8]
call fcn.005497a0
push 0x100
push 0x100
push str.batno.tga
push str.data_interface
lea ecx, [esi + 0x36e8]
call fcn.005497a0
push 0x80
push 0x100
push str.batline.tga
push str.data_interface
lea ecx, [esi + 0x36f8]
call fcn.005497a0
push 0x80
push 0x100
push str.batline2.tga
push str.data_interface
lea ecx, [esi + 0x3708]
call fcn.005497a0
push str.Strip_npc.EFT
push str.data_Effect
mov ecx, 0x22109c8
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.0055a180
test eax, eax
je 0x48b1cf
cmp byte [0x21fd8d6], bl
mov eax, dword [0x864e44]
mov byte [0x70bd70], 2
mov dword [0x864e50], 0
jne 0x48aede
cmp eax, 6
ja case.default.0x48aee3
jmp dword [eax*4 + 0x48b1ec]
mov eax, str.Strip_L_01.MON
mov dword [0x864e50], 0
jmp 0x48af43
mov eax, str.Strip_L_02.MON
mov dword [0x864e50], 0xbc23d70a
jmp 0x48af43
mov eax, str.Strip_L_03.MON
mov dword [0x864e50], 0x3d23d70a
jmp 0x48af43
mov eax, str.Strip_L_04.MON
mov dword [0x864e50], 0xbc23d70a
jmp 0x48af43
mov eax, str.Strip_L_05.MON
mov dword [0x864e50], 0x3ca3d70a
jmp 0x48af43
cmp eax, 6
ja case.default.0x48aee3
jmp dword [eax*4 + 0x48b208]
mov eax, str.Strip_F_01.MON
mov dword [0x864e50], 0x3da3d70a
jmp 0x48af43
mov eax, str.Strip_F_02.MON
mov dword [0x864e50], 0x3e3851ec
jmp 0x48af43
mov eax, str.Strip_F_03.MON
mov dword [0x864e50], 0
jmp 0x48af43
mov eax, str.Strip_F_04.MON
mov dword [0x864e50], 0x3b449ba6
jmp 0x48af43
mov eax, str.Strip_F_05.MON
mov dword [0x864e50], 0x3c23d70a
jmp 0x48af43
mov eax, dword [esp + 0x14]
push eax
push str.Data_Strip
mov ecx, 0x70bd68
call fcn.00554f30
test eax, eax
je 0x48b1cf
push 0x12c
call fcn.005cc96d
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x42c], ebx
je 0x48af80
mov ecx, eax
call fcn.0048a110
jmp 0x48af82
xor eax, eax
mov dword [esi + 0x3720], 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 + 0x3720]
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 + 0x3720]
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 + 0x3720]
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 + 0x3720]
mov dword [edx + 0x5c], 0xddf22
mov ecx, dword [esi + 0x3720]
push ebx
mov dword [esp + 0x430], edi
call fcn.00433e40
mov eax, dword [esi + 0x3720]
mov edi, 2
mov dword [eax + 0x80], edi
mov ecx, dword [esi + 0x3720]
mov dword [ecx + 0x74], edi
mov edx, dword [esi + 0x3720]
mov dword [edx + 0x78], 1
mov eax, dword [esi + 0x3720]
add eax, 0x38
mov ecx, eax
mov eax, dword [ecx]
mov dword [0x22094d4], eax
mov edx, dword [ecx + 4]
mov dword [0x22094d8], edx
fld dword [0x22094d8]
fadd dword [0x864e50]
mov ecx, dword [ecx + 8]
mov dword [0x22094d0], ecx
mov dword [0x22094dc], ecx
fadd dword [0x6bc4dc]
mov dword [0x22094c8], eax
mov dword [0x864e58], eax
fstp dword [0x22094d8]
mov edx, dword [0x22094d8]
mov dword [0x22094cc], edx
fld dword [0x22094cc]
fadd dword [0x6bc8b4]
fstp dword [0x22094cc]
mov ecx, dword [0x22094cc]
fld dword [0x22094d0]
mov dword [0x864e5c], ecx
fsub dword [0x6bca1c]
fstp dword [0x22094d0]
mov edx, dword [0x22094d0]
mov dword [0x864e60], edx
push 1
push 3
push str.cd_betting01.wav
mov dword [0x864e68], ecx
mov dword [0x864e64], eax
mov dword [0x864e6c], edx
push ebx
push 0x32
mov ecx, 0x22071e0
mov byte [esi + 0x372c], bl
mov dword [esi + 0x3724], 0x3f800000
mov dword [esi + 0x3718], ebx
call fcn.0053b990
push 1
push 3
push str.cd_turn01.wav
push 1
push 0x32
mov ecx, 0x22071e0
call fcn.0053b990
push 1
push edi
push str.cd_success01.wav
push edi
push 0x32
mov ecx, 0x22071e0
call fcn.0053b990
push 1
push edi
push str.cd_unsuccess01.wav
push 3
push 0x32
mov ecx, 0x22071e0
call fcn.0053b990
push 1
push edi
push str.cd_success02.wav
push 4
push 0x32
mov ecx, 0x22071e0
call fcn.0053b990
push 1
push 0xa
push str.cd_moneyup01.wav
push 5
push 0x32
mov ecx, 0x22071e0
call fcn.0053b990
push 1
push edi
push str.cd_open01.wav
push 6
push 0x32
mov ecx, 0x22071e0
call fcn.0053b990
mov eax, 1
jmp 0x48b1d1
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