Function at 0x56f4e8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2b
push 0
push 0
dec ecx
jne 0x56f4f0
push ebx
push esi
push edi
mov ebx, dword [0x578378]
xor eax, eax
push ebp
push 0x570628
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor edx, edx
push ebp
push 0x570592
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.0056eb40
test al, al
jne 0x56f536
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5705dd
mov eax, dword [0x578744]
cmp dword [eax], 1
jne 0x56f585
mov eax, dword [ebx + 0xc]
mov edx, 0x570644
call fcn.00404bfc
je 0x56f585
push 0x121
mov eax, dword [0x578688]
mov eax, dword [eax]
call fcn.00404cb0
mov edx, eax
mov ecx, 0x570650
mov eax, dword [0x5785d0]
mov eax, dword [eax]
call fcn.00489e1c
cmp eax, 2
jne 0x56f585
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5705dd
mov eax, dword [0x578528]
cmp dword [eax], 0
jle 0x56f682
mov eax, dword [0x578040]
mov eax, dword [eax]
call fcn.00404ab0
cmp eax, 0x10
jne 0x56f682
lea ecx, [ebp - 0x30]
mov eax, dword [0x578040]
mov eax, dword [eax]
mov edx, 4
call fcn.0043ab50
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
mov edx, dword [0x57896c]
mov ecx, 0x81
call fcn.00404a60
mov eax, dword [ebp - 0x38]
mov ecx, 4
mov edx, 0xb
call fcn.00404d10
mov edx, dword [ebp - 0x34]
pop eax
call fcn.00404bfc
je 0x56f62c
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
mov edx, dword [0x57896c]
mov ecx, 0x81
call fcn.00404a60
mov eax, dword [ebp - 0x40]
mov ecx, 2
mov edx, 0xd
call fcn.00404d10
mov eax, dword [ebp - 0x3c]
mov edx, 0x570660
call fcn.00404bfc
jne 0x56f682
lea eax, [ebp - 0x44]
push eax
mov eax, dword [0x578040]
mov eax, dword [eax]
mov ecx, 4
mov edx, 5
call fcn.00404d10
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov edx, dword [0x57896c]
mov ecx, 0x81
call fcn.00404a60
mov eax, dword [ebp - 0x4c]
mov ecx, 4
mov edx, 0xf
call fcn.00404d10
mov edx, dword [ebp - 0x48]
pop eax
call fcn.00404bfc
je 0x56f766
mov eax, dword [0x5787bc]
cmp dword [eax], 0
jg 0x56f6f0
push 0x10
push 0x57066c
lea edx, [ebp - 0x54]
mov eax, dword [0x578528]
mov eax, dword [eax]
call fcn.00409a38
push dword [ebp - 0x54]
push 0x570688
mov eax, dword [0x578040]
push dword [eax]
push 0x570688
lea edx, [ebp - 0x58]
mov eax, dword [0x57896c]
call fcn.0040a438
push dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov edx, 6
call fcn.00404b70
mov eax, dword [ebp - 0x50]
call fcn.00404cb0
mov edx, eax
mov ecx, 0x57068c
mov eax, dword [0x5785d0]
mov eax, dword [eax]
call fcn.00489e1c
jmp 0x56f759
push 0x30
mov eax, dword [0x578700]
push dword [eax]
push 0x570688
lea edx, [ebp - 0x60]
mov eax, dword [0x578528]
mov eax, dword [eax]
call fcn.00409a38
push dword [ebp - 0x60]
push 0x570688
mov eax, dword [0x578040]
push dword [eax]
push 0x570688
lea edx, [ebp - 0x64]
mov eax, dword [0x57896c]
call fcn.0040a438
push dword [ebp - 0x64]
lea eax, [ebp - 0x5c]
mov edx, 7
call fcn.00404b70
mov eax, dword [ebp - 0x5c]
call fcn.00404cb0
mov edx, eax
mov ecx, 0x570694
mov eax, dword [0x5785d0]
mov eax, dword [eax]
call fcn.00489e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5705dd
mov eax, dword [0x578528]
mov eax, dword [eax]
mov edx, dword [0x5787bc]
cmp eax, dword [edx]
jg 0x56f7bf
push 0x30
mov eax, dword [0x578034]
push dword [eax]
push 0x5706a4
lea edx, [ebp - 0x6c]
mov eax, dword [0x578528]
mov eax, dword [eax]
call fcn.00409a38
push dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.00404b70
mov eax, dword [ebp - 0x68]
call fcn.00404cb0
mov edx, eax
mov ecx, 0x5706a8
mov eax, dword [0x5785d0]
mov eax, dword [eax]
call fcn.00489e1c
call fcn.0048bc90
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 8]
mov eax, 0x5706b8
call fcn.0040cdec
mov eax, dword [ebp - 8]
mov edx, dword [0x57830c]
mov edx, dword [edx]
call fcn.00404bfc
je 0x56f9e5
mov eax, dword [0x5789b4]
cmp dword [eax], 0
jne 0x56f804
mov eax, dword [0x578528]
dec dword [eax]
jmp 0x56f90a
call fcn.0040c0e8
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x70]
push eax
mov eax, dword [0x57830c]
mov eax, dword [eax]
mov ecx, 2
mov edx, 3
call fcn.00404d10
mov eax, dword [ebp - 0x70]
push eax
call fcn.0048bc90
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0048bcec
movzx edx, ax
pop eax
call fcn.00409c94
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [0x57830c]
mov eax, dword [eax]
mov ecx, 2
mov edx, 5
call fcn.00404d10
mov eax, dword [ebp - 0x74]
push eax
call fcn.0048bc90
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0048bcc8
movzx edx, ax
pop eax
call fcn.00409c94
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [0x57830c]
mov eax, dword [eax]
mov ecx, 2
mov edx, 1
call fcn.00404d10
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x5706c8
call fcn.00404afc
mov eax, dword [ebp - 0x78]
push eax
call fcn.0048bc90
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0048bca4
movzx edx, ax
pop eax
call fcn.00409c94
pop edx
pop ecx
call fcn.0048c004
fstp qword [ebp - 0x18]
wait
call fcn.0048bc90
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0048bd38
mov edx, dword [0x578528]
sub dword [edx], eax
mov eax, dword [0x578528]
cmp dword [eax], 0
jge 0x56f90a
mov eax, dword [0x578528]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x57830c]
mov edx, dword [ebp - 8]
call fcn.00404844
mov ecx, dword [0x578528]
mov ecx, dword [ecx]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0056f0f0
mov eax, dword [0x578984]
mov eax, dword [eax]
call fcn.0040a034
test al, al
jne 0x56f972
mov eax, dword [0x578984]
mov eax, dword [eax]
call fcn.0040a214
test al, al
jne 0x56f972
mov ecx, dword [0x578984]
mov ecx, dword [ecx]
lea eax, [ebp - 0x80]
mov edx, 0x5706d4
call fcn.00404afc
mov ecx, dword [ebp - 0x80]
mov dl, 1
mov eax, dword [0x408570]
call fcn.0040e014
call fcn.004041f0
mov eax, dword [0x578984]
mov eax, dword [eax]
call fcn.0040a034
test al, al
je 0x56f9e5
push 0
mov eax, dword [0x578984]
push dword [eax]
push 0x5706ec
call fcn.0048bc90
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x88]
mov eax, 0x570700
call fcn.0040cdec
push dword [ebp - 0x88]
push 0x570710
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.00404b70
mov eax, dword [ebp - 0x84]
call fcn.00404cb0
push eax
mov eax, dword [0x578860]
mov eax, dword [eax]
call fcn.00404cb0
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x57890c]
cmp dword [eax], 1
jne 0x56fa4d
mov eax, dword [0x578528]
cmp dword [eax], 0xe42
jge 0x56fa4d
call fcn.0048bc90
mov eax, dword [0x578528]
fild dword [eax]
faddp st(1)
fstp qword [ebp - 0x18]
wait
fld qword [ebp - 0x18]
fcomp qword [ebx + 0x28]
fnstsw ax
sahf
jae 0x56fa4d
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0048bcec
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0048bcc8
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0048bca4
pop edx
pop ecx
call fcn.0048c004
fstp qword [ebx + 0x28]
wait
mov eax, dword [0x578480]
movzx eax, byte [eax]
inc eax
and eax, 0xf
mov edx, dword [0x578480]
mov byte [edx], al
call fcn.0040c0e8
fstp qword [ebp - 0x20]
wait
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea edx, [ebp - 0x2c]
mov eax, 0x570720
call fcn.0040cdec
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
mov edx, dword [0x57896c]
mov ecx, 0x81
call fcn.00404a60
mov eax, dword [ebp - 0x90]
mov ecx, 2
mov edx, 0xb
call fcn.00404d10
mov eax, dword [ebp - 0x8c]
mov edx, 0x570734
call fcn.00404bfc
jne 0x56fbaf
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0048bca4
cmp ax, 0x7e8
jne 0x56faf3
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0048bca4
cmp ax, 0x7e8
ja 0x56fb1d
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0048bca4
cmp ax, 0x7f8
jne 0x56fbaf
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0048bca4
cmp ax, 0x7f8
jbe 0x56fbaf
cmp dword [ebx + 0x5c], 0
jne 0x56fb49
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea edx, [ebp - 0x94]
mov eax, 0x570740
call fcn.0040cdec
mov edx, dword [ebp - 0x94]
lea eax, [ebx + 0x5c]
call fcn.00404844
jmp 0x56fb7a
push dword [ebx + 0x5c]
push 0x57075c
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea edx, [ebp - 0x98]
mov eax, 0x570740
call fcn.0040cdec
push dword [ebp - 0x98]
lea eax, [ebx + 0x5c]
mov edx, 3
call fcn.00404b70
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0048bc3c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x9c]
mov eax, 0x570768
call fcn.0040cdec
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x2c]
mov edx, 0x570778
call fcn.00404afc
mov esi, dword [ebx]
mov eax, esi
cmp eax, 0xd
ja case.0x56fbbc.9
jmp dword [eax*4 + 0x56fbc3]
mov eax, dword [0x578128]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xa0]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0xa0]
call fcn.00404cb0
push eax
mov eax, dword [0x577f70]
mov al, byte [eax]
push eax
mov eax, dword [0x578334]
mov al, byte [eax]
push eax
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_ResetCard
jmp 0x5702e5
mov eax, dword [0x578128]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xa4]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0xa4]
call fcn.00404cb0
push eax
push 2
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_RecordCard
jmp 0x5702e5
mov eax, dword [0x578128]
push eax
mov eax, dword [0x5782cc]
mov eax, dword [eax + 0x64]
call fcn.00404cb0
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xa8]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0xa8]
call fcn.00404cb0
push eax
mov eax, dword [0x5782cc]
mov eax, dword [eax + 0x34]
and eax, 0x8000000f
jns 0x56fcf3
dec eax
or eax, 0xfffffff0
inc eax
push eax
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_RoomSetCard
jmp 0x5702e5
mov eax, dword [0x578128]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xac]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0xac]
call fcn.00404cb0
push eax
push 0
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_TimeSetCard
jmp 0x5702e5
mov eax, dword [0x578128]
push eax
lea eax, [ebx + 0x38]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xb0]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0xb0]
call fcn.00404cb0
push eax
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_LimitCard
jmp 0x5702e5
mov eax, dword [0x578128]
push eax
mov al, byte [ebx + 0x58]
push eax
mov al, byte [ebx + 0x54]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xb4]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0xb4]
call fcn.00404cb0
push eax
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_GroupSetCard
jmp 0x5702e5
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xb8]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xc]
call fcn.00565994
mov esi, dword [0x578480]
movzx esi, byte [esi]
and esi, 0xf
add esi, 0x60
lea eax, [ebp - 0xc0]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404d10
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
mov edx, 0x570788
call fcn.00404afc
mov eax, dword [ebp - 0xbc]
call fcn.00409c58
mov edi, eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, 2
mov edx, 3
mov eax, dword [ebp - 0xc]
call fcn.00404d10
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc4]
mov edx, 0x570788
call fcn.00404afc
mov eax, dword [ebp - 0xc4]
call fcn.00409c58
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xd0]
push eax
mov ecx, 2
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.00404d10
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xcc]
mov edx, 0x570788
call fcn.00404afc
mov eax, dword [ebp - 0xcc]
call fcn.00409c58
xor esi, edi
xor esi, dword [ebp - 0x10]
xor eax, esi
and eax, 0x80000003
jns 0x56ff0b
dec eax
or eax, 0xfffffffc
inc eax
shl eax, 2
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
call fcn.00565d08
jmp 0x5702e5
mov eax, dword [0x578128]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xd4]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0xd4]
call fcn.00404cb0
push eax
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_CheckOutCard
jmp 0x5702e5
mov eax, dword [0x578128]
push eax
mov al, byte [ebx + 0x54]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00404cb0
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
lea edx, [ebp - 0xd8]
mov eax, 0x570768
call fcn.0040cdec
mov eax, dword [ebp - 0xd8]
call fcn.00404cb0
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xdc]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0xdc]
call fcn.00404cb0
push eax
push 0x7f
mov al, byte [ebx + 0x30]
push eax
mov al, byte [ebx + 0x34]
push eax
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_GroupCard
jmp 0x5702e5
mov eax, dword [0x578128]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00404cb0
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
lea edx, [ebp - 0xe0]
mov eax, 0x570768
call fcn.0040cdec
mov eax, dword [ebp - 0xe0]
call fcn.00404cb0
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xe4]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0xe4]
call fcn.00404cb0
push eax
push 0x7f
mov al, byte [ebx + 0x30]
push eax
mov al, byte [ebx + 0x34]
push eax
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_EmergencyCard
jmp 0x5702e5
mov eax, dword [0x578128]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00404cb0
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
lea edx, [ebp - 0xe8]
mov eax, 0x570768
call fcn.0040cdec
mov eax, dword [ebp - 0xe8]
call fcn.00404cb0
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0xec]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0xec]
call fcn.00404cb0
push eax
push 0x7f
mov al, byte [ebx + 0x30]
push eax
mov al, byte [ebx + 0x34]
push eax
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_MasterCard
jmp 0x5702e5
mov eax, dword [0x578128]
push eax
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 0xf4], 0
lea edx, [ebp - 0xf8]
xor ecx, ecx
mov eax, 0x570794
call fcn.0040a928
mov eax, dword [ebp - 0xf0]
call fcn.00404cb0
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00404cb0
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
lea edx, [ebp - 0xfc]
mov eax, 0x570768
call fcn.0040cdec
mov eax, dword [ebp - 0xfc]
call fcn.00404cb0
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0x100]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0x100]
call fcn.00404cb0
push eax
push 0x7f
mov al, byte [ebx + 0x30]
push eax
mov al, byte [ebx + 0x34]
push eax
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_BuildingCard
jmp 0x5702e5
mov eax, dword [0x578128]
push eax
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x110], 0
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0x108], 0
lea edx, [ebp - 0x114]
mov ecx, 1
mov eax, 0x5707a4
call fcn.0040a928
mov eax, dword [ebp - 0x104]
call fcn.00404cb0
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00404cb0
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
lea edx, [ebp - 0x118]
mov eax, 0x570768
call fcn.0040cdec
mov eax, dword [ebp - 0x118]
call fcn.00404cb0
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0x11c]
mov eax, 0x570720
call fcn.0040cdec
mov eax, dword [ebp - 0x11c]
call fcn.00404cb0
push eax
push 0x7f
mov al, byte [ebx + 0x30]
push eax
mov al, byte [ebx + 0x34]
push eax
mov al, byte [ebx + 8]
push eax
mov eax, dword [0x578480]
mov al, byte [eax]
push eax
mov eax, dword [0x5788f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_FloorCard
jmp 0x5702e5
push 0x10
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 0xf8], esi
mov byte [ebp - 0xf4], 0
lea edx, [ebp - 0xf8]
xor ecx, ecx
mov eax, 0x5707b8
call fcn.0040a928
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov edx, 0x5707d4
call fcn.00404afc
mov eax, dword [ebp - 0x120]
call fcn.00404cb0
mov edx, eax
mov ecx, 0x5707ec
mov eax, dword [0x5785d0]
mov eax, dword [eax]
call fcn.00489e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5705dd
test eax, eax
je 0x5702f6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5705dd
push 0x2bc
call sub.kernel32.dll_Sleep
mov eax, dword [0x578754]
cmp dword [eax], 0
jne 0x570314
push 0x12c
call sub.kernel32.dll_Sleep
call fcn.0056eb40
test al, al
jne 0x57032a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5705dd
mov eax, dword [0x578754]
cmp dword [eax], 1
jne 0x570343
push 0x14
mov eax, dword [0x578754]
mov al, byte [eax]
push eax
call sub.proRFL.DLL_Buzzer
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
mov edx, dword [0x578128]
mov ecx, 0x32
call fcn.00404a60
mov eax, dword [ebp - 0x12c]
mov ecx, 8
mov edx, 0x13
call fcn.00404d10
mov edx, dword [ebp - 0x128]
mov eax, dword [ebx + 0xc]
call fcn.00404bfc
je 0x57041e
push 0x10
mov eax, dword [0x577e5c]
push dword [eax]
push 0x570688
push 0x570688
push 0x5707fc
lea eax, [ebp - 0x134]
mov edx, dword [0x578128]
mov ecx, 0x32
call fcn.00404a60
push dword [ebp - 0x134]
push 0x570688
push 0x570808
lea eax, [ebp - 0x138]
mov edx, dword [0x5784d8]
mov ecx, 0x49
call fcn.00404a60
push dword [ebp - 0x138]
lea eax, [ebp - 0x130]
mov edx, 8
call fcn.00404b70
mov eax, dword [ebp - 0x130]
call fcn.00404cb0
mov edx, eax
mov ecx, 0x57080c
mov eax, dword [0x5785d0]
mov eax, dword [eax]
call fcn.00489e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5705dd
lea eax, [ebp - 0x13c]
push eax
mov eax, dword [ebx + 0xc]
mov ecx, 1
mov edx, 1
call fcn.00404d10
mov eax, dword [ebp - 0x13c]
push eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 0xf4], 0
lea edx, [ebp - 0xf8]
xor ecx, ecx
mov eax, 0x57081c
call fcn.0040a928
mov edx, dword [ebp - 0x140]
pop eax
call fcn.00404bfc
je 0x570542
push 0x10
push 0x570828
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 0xf4], 0
lea edx, [ebp - 0xf8]
xor ecx, ecx
mov eax, 0x570848
call fcn.0040a928
push dword [ebp - 0x148]
push 0x570688
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 0xf4], 0xb
lea edx, [ebp - 0xf8]
xor ecx, ecx
mov eax, 0x57085c
call fcn.0040a928
push dword [ebp - 0x14c]
push 0x570688
push 0x570878
lea eax, [ebp - 0x150]
mov edx, dword [0x5784d8]
mov ecx, 0x49
call fcn.00404a60
push dword [ebp - 0x150]
lea eax, [ebp - 0x144]
mov edx, 7
call fcn.00404b70
mov eax, dword [ebp - 0x144]
call fcn.00404cb0
mov edx, eax
mov ecx, 0x570884
mov eax, dword [0x5785d0]
mov eax, dword [eax]
call fcn.00489e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5705dd
lea eax, [ebx + 0x60]
push eax
lea eax, [ebp - 0x154]
mov edx, dword [0x5784d8]
mov ecx, 0x49
call fcn.00404a60
mov eax, dword [ebp - 0x154]
mov ecx, 0x20
mov edx, 7
call fcn.00404d10
call fcn.0056b5b4
test al, al
jne 0x570584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5705dd
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5705dd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57062f
lea eax, [ebp - 0x158]
mov edx, 0x11
call fcn.00404814
lea eax, [ebp - 0x104]
mov edx, 3
call fcn.00404814
lea eax, [ebp - 0xf0]
mov edx, 0x32
call fcn.00404814
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404814
ret