Function at 0x4b586d
Capabilities:
Write file on windows

Disassembly:
push 0x138
push 0x51c8f8
call fcn.004d8c1c
mov ebx, ecx
mov byte [ebp - 0x128], 0
push 0x103
xor esi, esi
push esi
lea eax, [ebp - 0x127]
push eax
call fcn.004c05d0
add esp, 0xc
call fcn.0040fd96
test eax, eax
jne 0x4b58ac
xor eax, eax
jmp 0x4b5dcd
mov dword [ebp - 4], esi
cmp ebx, 0xffffffff
jne 0x4b590c
call fcn.004af84c
mov edi, eax
cmp dword [0x627d44], esi
je 0x4b58db
call fcn.004af84c
sub eax, edi
cmp eax, 0x7d0
ja 0x4b58db
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4b58bb
mov edi, 0x628ea0
push edi
call fcn.00494bcc
mov dword [esp], 0x1234
push esi
push edi
call fcn.004c05d0
add esp, 0xc
mov dword [0x628e80], esi
mov dword [0x628e7c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x4b58a5
cmp ebx, esi
je 0x4b59b7
lea esi, [ebx + 0x1c]
mov edx, 0x628e5c
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x8b8]
test eax, eax
je 0x4b5968
cmp dword [ebx + 0x1198], 0
jne 0x4b5968
push dword [eax]
call fcn.004ae9f4
pop ecx
test eax, eax
jne 0x4b5968
mov eax, dword [ebx + 0x8b8]
movzx cx, byte [eax + 2]
mov word [0x628e5e], cx
movzx cx, byte [eax + 3]
mov word [0x628e62], cx
mov ax, word [eax]
mov word [0x628e5c], ax
cmp ebx, dword [0x628e7c]
jne 0x4b598a
sub esp, 0x10
mov esi, 0x628e6c
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004aea7c
add esp, 0x10
test eax, eax
je 0x4b599b
mov esi, edx
mov edi, 0x628e6c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [0x628e7c], ebx
xor edi, edi
inc edi
push edi
push ebx
push 0x628ea0
call fcn.00491457
add esp, 0xc
mov dword [0x628e80], edi
xor esi, esi
jmp 0x4b59c6
cmp dword [0x628e80], esi
je 0x4b5903
xor edi, edi
inc edi
call fcn.0040ae33
neg eax
sbb eax, eax
neg eax
mov dword [0x629ef0], eax
cmp dword [0x627534], esi
jg 0x4b59f7
cmp dword [0x626d28], esi
jne 0x4b59f7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0x4deee2
jmp 0x4b5dcd
call fcn.004af84c
mov ebx, eax
cmp dword [0x627d44], esi
je 0x4b5a1d
call fcn.004af84c
sub eax, ebx
cmp eax, 0x7d0
ja 0x4b5a1d
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4b59fe
mov dword [0x627d44], edi
push str._ProgLog.prg
cmp dword [0x62a038], esi
je 0x4b5a93
push esi
movzx eax, byte [0x62a03c]
inc eax
push eax
push str.Cash_Box
movzx eax, word [0x628e78]
push eax
movzx eax, word [0x628e76]
push eax
movzx eax, word [0x628e74]
push eax
movzx eax, word [0x628e72]
push eax
movzx eax, word [0x628e6e]
push eax
movzx eax, word [0x628e6c]
push eax
push esi
push esi
call fcn.0045f7e3
pop ecx
pop ecx
push eax
push str._s_04d__02d__02d___02d__02d._02d__s_d__d_s
mov eax, 0x104
lea edi, [ebp - 0x128]
call fcn.00486dce
add esp, 0x30
jmp 0x4b5af0
push dword [0x628ed0]
push 0x628ed8
movzx eax, word [0x628e78]
push eax
movzx eax, word [0x628e76]
push eax
movzx eax, word [0x628e74]
push eax
movzx eax, word [0x628e72]
push eax
movzx eax, word [0x628e6e]
push eax
movzx eax, word [0x628e6c]
push eax
push esi
push esi
call fcn.0045f7e3
pop ecx
pop ecx
push eax
push str._s_04d__02d__02d___02d__02d._02d__s__d_s
mov eax, 0x104
lea edi, [ebp - 0x128]
call fcn.00486dce
add esp, 0x2c
xor edi, edi
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x134], esi
cmp dword [ebp - 0x134], 5
jge 0x4b5b42
push 0x2ac
push str..TrackProg.c
mov edx, 0x4de3b8
lea ecx, [ebp - 0x128]
call fcn.0041c35a
pop ecx
pop ecx
mov edi, eax
mov dword [ebp - 0x140], edi
cmp edi, esi
jne 0x4b5b4a
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x134]
jmp 0x4b5afe
cmp edi, esi
je 0x4b5da1
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], esi
mov esi, 0x1234
mov dword [ebp - 0x130], esi
push edi
xor ebx, ebx
inc ebx
push ebx
push 4
lea eax, [ebp - 0x130]
push eax
call fcn.004bf5f0
mov dword [ebp - 0x12c], eax
push edi
push ebx
push esi
push 0x628ea0
call fcn.004bf5f0
add esp, 0x20
add dword [ebp - 0x12c], eax
mov eax, dword [0x62a058]
xor esi, esi
cmp eax, esi
jbe 0x4b5bb4
push edi
push ebx
push eax
push dword [0x62a050]
call fcn.004bf5f0
add esp, 0x10
add dword [ebp - 0x12c], eax
jmp 0x4b5bba
inc dword [ebp - 0x12c]
mov eax, dword [0x62a060]
cmp eax, esi
jbe 0x4b5bdc
push edi
push ebx
push eax
push dword [0x62a05c]
call fcn.004bf5f0
add esp, 0x10
add dword [ebp - 0x12c], eax
jmp 0x4b5be2
inc dword [ebp - 0x12c]
mov eax, dword [0x627534]
cmp dword [eax*4 + 0x626d28], esi
je 0x4b5bf1
inc eax
mov dword [ebp - 0x130], eax
push edi
push ebx
push 4
lea eax, [ebp - 0x130]
push eax
call fcn.004bf5f0
add esp, 0x10
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x138], esi
push edi
cmp esi, dword [ebp - 0x130]
jge 0x4b5d92
push ebx
push 0x10
mov eax, esi
shl eax, 4
add eax, 0x627d48
push eax
call fcn.004bf5f0
add esp, 0x10
shl esi, 2
mov eax, dword [esi + 0x627130]
call fcn.00479cfb
test eax, eax
je 0x4b5cdb
mov eax, dword [esi + 0x627130]
call fcn.00479c9e
test eax, eax
jne 0x4b5cdb
mov eax, dword [esi + 0x627130]
call fcn.00479c6e
mov dword [ebp - 0x13c], eax
push edi
push ebx
call fcn.004c040f
push edi
mov eax, dword [ebp - 0x13c]
shr eax, 0x10
movzx eax, al
push eax
call fcn.004c040f
push edi
movzx eax, byte [ebp - 0x13c]
push eax
call fcn.004c040f
push edi
push 0
call fcn.004c040f
push edi
mov eax, dword [esi + 0x627130]
call fcn.00477303
add esp, 0x24
test eax, eax
jne 0x4b5cdb
and dword [ebp - 0x148], eax
push edi
push 4
push ebx
lea eax, [ebp - 0x148]
push eax
call fcn.004bf5f0
push edi
push 4
push ebx
lea eax, [ebp - 0x148]
push eax
call fcn.004bf5f0
add esp, 0x20
mov edx, dword [esi + 0x627538]
call fcn.00485754
test eax, eax
jne 0x4b5d07
push edi
push dword [esi + 0x627538]
call fcn.004bf880
pop ecx
push eax
push ebx
push dword [esi + 0x627538]
call fcn.004bf5f0
add esp, 0x10
push edi
push 0
call fcn.004c040f
push edi
mov eax, dword [esi + 0x626d28]
call fcn.00477303
add esp, 0xc
test eax, eax
jne 0x4b5d4b
and dword [ebp - 0x144], eax
push edi
push 4
push ebx
lea eax, [ebp - 0x144]
push eax
call fcn.004bf5f0
push edi
push 4
push ebx
lea eax, [ebp - 0x144]
push eax
call fcn.004bf5f0
add esp, 0x20
mov edx, dword [esi + 0x627940]
call fcn.00485754
test eax, eax
jne 0x4b5d77
push edi
push dword [esi + 0x627940]
call fcn.004bf880
pop ecx
push eax
push ebx
push dword [esi + 0x627940]
call fcn.004bf5f0
add esp, 0x10
push edi
push 0
call fcn.004c040f
pop ecx
pop ecx
inc dword [ebp - 0x138]
mov esi, dword [ebp - 0x138]
jmp 0x4b5c16
call fcn.0041c787
pop ecx
and dword [ebp - 0x140], 0
xor esi, esi
mov dword [0x627d44], esi
jmp 0x4b5db0
mov dword [ebp - 4], 0xfffffffe
lea eax, [ebp - 0x128]
push eax
mov esi, 0x628d58
push esi
call fcn.004bf9a0
pop ecx
pop ecx
mov eax, esi
call fcn.004d8c64
ret