Function at 0x4dd8a0
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0605
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x52a098]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf8], eax
mov dl, 0x49
mov dword [ebp - 4], 0
mov cl, 0x1c
mov byte [ebp - 0xc8], dl
xor al, al
mov byte [ebp - 0xc5], 0
xor cl, dl
xor al, dl
mov byte [ebp - 0xc7], cl
mov byte [ebp - 0xc6], al
test cl, cl
jne 0x4dd90f
xor edx, edx
jmp 0x4dd921
lea edx, [ebp - 0xc7]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dd918
sub edx, ecx
mov esi, dword [ebp + 0x20]
lea eax, [ebp - 0xc7]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
cmp esi, 0x10
push edx
mov edx, dword [ebp + 0x1c]
cmovae ecx, edi
push eax
call fcn.00449420
add esp, 8
test eax, eax
je 0x4dda80
mov dh, 0x31
mov byte [ebp - 0x15], 0
mov ch, 0x7e
mov byte [ebp - 0x1c], dh
mov al, 0x73
mov byte [ebp - 0x15], 0
mov cl, 0x7b
mov dl, 0x74
mov bl, 0x72
mov ah, 0x65
xor ch, dh
xor al, dh
xor cl, dh
mov byte [ebp - 0x1b], ch
xor dl, dh
mov byte [ebp - 0x1a], al
xor bl, dh
mov byte [ebp - 0x19], cl
xor ah, dh
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], ah
test ch, ch
jne 0x4dd98a
xor edx, edx
jmp 0x4dd999
lea edx, [ebp - 0x1b]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dd990
sub edx, ecx
cmp esi, 0x10
lea eax, [ebp - 0x1b]
push edx
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp + 0xc]
cmovae ecx, edi
push eax
call fcn.00449420
add esp, 8
test eax, eax
je 0x4dda80
mov ah, 0x24
mov byte [ebp - 0x17], 0
mov bl, 0x6d
mov byte [ebp - 0x1c], ah
mov al, 0x70
mov byte [ebp - 0x17], 0
mov cl, 0x61
mov dl, 0x69
xor bl, ah
xor al, ah
xor cl, ah
mov byte [ebp - 0x1b], bl
xor dl, ah
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], cl
mov byte [ebp - 0x18], dl
test bl, bl
jne 0x4dd9eb
xor edx, edx
jmp 0x4dd9fa
lea edx, [ebp - 0x1b]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dd9f1
sub edx, ecx
mov ebx, dword [ebp + 0x1c]
lea eax, [ebp - 0x1b]
cmp esi, 0x10
lea ecx, [ebp + 0xc]
push edx
cmovae ecx, edi
mov edx, ebx
push eax
call fcn.00449420
add esp, 8
test eax, eax
je 0x4dda80
mov dl, 0x4a
mov byte [ebp - 0xc5], 0
mov cl, 0xc
mov byte [ebp - 0xc8], dl
mov al, 0x12
mov byte [ebp - 0xc5], 0
xor cl, dl
xor al, dl
mov byte [ebp - 0xc7], cl
mov byte [ebp - 0xc6], al
test cl, cl
jne 0x4dda4b
xor edx, edx
jmp 0x4dda5d
lea edx, [ebp - 0xc7]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dda54
sub edx, ecx
cmp esi, 0x10
lea eax, [ebp - 0xc7]
push edx
lea ecx, [ebp + 0xc]
mov edx, ebx
cmovae ecx, edi
push eax
call fcn.00449420
add esp, 8
test eax, eax
jne 0x4de438
mov cl, 0x21
mov byte [ebp - 0xca], 0
mov al, 0x7d
mov byte [ebp - 0xcc], cl
xor al, cl
mov byte [ebp - 0xca], 0
mov byte [ebp - 0xcb], al
lea edx, [ebp + 0xc]
lea eax, [ebp - 0xcb]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0044b7b0
add esp, 4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.0044d750
add esp, 4
mov dh, 0x2a
mov byte [ebp - 4], 2
mov cl, 4
mov byte [ebp - 0x1c], dh
xor cl, dh
mov byte [ebp - 0x17], 0
mov ch, 0x58
mov byte [ebp - 0x1b], cl
xor ch, dh
mov byte [ebp - 0x17], 0
mov dl, 0x42
mov byte [ebp - 0x18], ch
xor dl, dh
lea ecx, [ebp - 0x1b]
mov bl, 0x4e
mov byte [ebp - 0x1a], dl
xor bl, dh
mov edx, eax
push ecx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x19], bl
call fcn.00445c20
add esp, 4
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x4ddb20
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00445690
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x4ddb4b
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445690
mov cl, 0x40
mov byte [ebp - 0xc6], 0
mov al, 0x1c
mov byte [ebp - 0xc8], cl
xor al, cl
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0xc7], al
lea edx, [ebp + 0xc]
lea eax, [ebp - 0xc7]
mov dword [ebp - 0x2c], 0
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0xc6], 0
call fcn.0044b7b0
add esp, 4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0xc4]
call fcn.0044d750
add esp, 4
mov dh, 0x1a
mov byte [ebp - 4], 7
mov cl, 0x34
mov byte [ebp - 0x24], dh
xor cl, dh
mov byte [ebp - 0x1f], 0
mov ch, 0x79
mov byte [ebp - 0x23], cl
xor ch, dh
mov byte [ebp - 0x1f], 0
mov dl, 0x69
mov byte [ebp - 0x20], ch
xor dl, dh
lea ecx, [ebp - 0x23]
mov bl, 0x68
mov byte [ebp - 0x22], dl
xor bl, dh
mov edx, eax
push ecx
lea ecx, [ebp - 0xac]
mov byte [ebp - 0x21], bl
call fcn.00445c20
add esp, 4
mov eax, dword [ebp - 0xb0]
cmp eax, 0x10
jb 0x4ddc09
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00445690
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x4ddc3d
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00445690
xor eax, eax
mov dword [ebp - 0x5c], 0xf
push 0x2800
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x108], eax
call fcn.0049ccf0
add esp, 4
xor esi, esi
mov edi, eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd8], esi
call fcn.0044d560
mov dword [ebp - 0xdc], eax
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
xor ebx, ebx
mov dword [ebp - 0xf4], ebx
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], ebx
jb 0x4ddcd8
mov eax, dword [ecx]
jmp 0x4ddcda
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], bl
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004450f0
call fcn.004de530
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0xd4]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.004de680
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4de310
cmp dword [ebp - 0x98], 0x10
lea eax, [ebp - 0xac]
push 0
cmovae eax, dword [ebp - 0xac]
push 0x2000000
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10c], eax
cmp eax, 0xffffffff
je 0x4de310
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x20], 0x10
movaps xmm0, xmmword [0x5203b0]
mov dword [ebp - 0xec], eax
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
movups xmmword [ebp - 0x7c], xmm0
push eax
movaps xmm0, xmmword [0x520220]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x4b4b110c
mov word [ebp - 0x58], 0x4b
nop dword [eax]
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x24
jb 0x4dddb0
sub esp, 0x18
mov byte [ebp - 0x57], bl
lea eax, [ebp - 0x7b]
mov ecx, esp
push eax
call fcn.00444cc0
lea eax, [ebp - 0x12c]
push eax
call fcn.004e9770
mov ecx, dword [0x53b260]
add esp, 0x20
add ecx, 0x280
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x12c]
cmp ecx, eax
je 0x4dde01
push 0xffffffffffffffff
push 0
push eax
call fcn.004450f0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x4dde23
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.00445690
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
push 0
cmovae eax, dword [ebp - 0x94]
push 0x2000000
push 4
push 0
push 3
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0xc8], esi
cmp esi, 0xffffffff
je 0x4de310
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0xe8]
push 0
push eax
push 4
lea eax, [ebp - 0xd0]
push eax
push esi
call ebx
cmp dword [ebp - 0xd0], 0
jbe 0x4de021
mov byte [ebp - 0xdd], 0
xor edi, edi
nop
push 0
lea eax, [ebp - 0xe8]
push eax
push 4
lea eax, [ebp - 0xe4]
push eax
push esi
call ebx
mov eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0xdd]
push ecx
inc eax
mov dword [ebp - 0x30], 0
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.0044ce30
push 0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x30]
push eax
push dword [ebp - 0xe4]
push esi
push dword [ebp - 0xc8]
call ebx
push 1
push 0
push 0
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xe8]
push eax
push 4
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0xc8]
call ebx
push 0
lea eax, [ebp - 0xe8]
push eax
push 4
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0xc8]
call ebx
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp byte [esi], 0
jne 0x4ddf57
xor ecx, ecx
jmp 0x4ddf69
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ddf60
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x54]
call fcn.00445910
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044d780
add esp, 4
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
call fcn.0044d930
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0044d970
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x4ddfd5
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00445690
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x4ddfea
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00445690
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 0xb
call fcn.00444e80
mov esi, dword [ebp - 0xc8]
inc edi
cmp edi, dword [ebp - 0xd0]
jb 0x4dde90
mov edi, dword [ebp - 0xcc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 0x59
mov byte [ebp - 0x18], 0
mov al, 0x2b
mov dword [ebp - 0xc8], 0
xor al, bl
mov byte [ebp - 0x1c], bl
mov cl, 0x72
mov byte [ebp - 0x1b], al
xor cl, bl
mov byte [ebp - 0x18], 0
mov dl, 0x3b
mov byte [ebp - 0x1a], cl
xor dl, bl
lea ecx, [ebp - 0x1b]
cmp dword [ebp - 0x80], 0x10
lea eax, [ebp - 0x94]
push ecx
cmovae eax, dword [ebp - 0x94]
push eax
mov byte [ebp - 0x19], dl
call fcn.004bd880
add esp, 8
mov ebx, eax
cmp dword [ebp - 0xd0], 0
mov dword [ebp - 0xf0], ebx
jne 0x4de0a4
push 0
push 0
push ebx
call fcn.004bd799
add esp, 0xc
lea eax, [ebp - 0xd0]
push ebx
push 1
push 4
push eax
call fcn.004bcee1
add esp, 0x10
mov edx, dword [ebp - 0xf8]
mov esi, dword [edx]
mov dword [ebp - 0xd4], esi
cmp esi, dword [edx + 4]
je 0x4de30a
mov dword [ebp - 0xe4], 0x64
mov ecx, dword [edx + 4]
mov eax, 0x92492493
sub ecx, dword [edx]
sub esp, 8
imul ecx
mov eax, dword [ebp - 0xe4]
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
div ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x520570]
movsd qword [esp], xmm0
call fcn.004bd8de
mov eax, dword [0x53b260]
add esp, 8
fstp qword [ebp - 0x104]
cvttsd2si ecx, qword [ebp - 0x104]
push esi
mov byte [eax + 0x298], cl
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004deee0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0044d7d0
mov edi, eax
mov eax, dword [ebp - 0xdc]
cmp edi, eax
je 0x4de188
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
lea edx, [eax + 0x10]
jb 0x4de160
mov eax, dword [eax]
push dword [edx]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
push eax
call fcn.00449420
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [ebp - 0xdc]
je 0x4de18d
jmp 0x4de18b
mov edx, dword [ebp - 0x2c]
mov edi, eax
cmp edi, eax
je 0x4de1db
push 0
push dword [edi + 0x28]
push ebx
call fcn.004bd799
add esp, 0xc
lea eax, [ebp - 0xec]
push ebx
push 1
push 4
push eax
call fcn.004bcee1
mov eax, dword [edi + 0x28]
push 0
add eax, 4
push eax
push ebx
call fcn.004bd799
add esp, 0x1c
lea eax, [ebp - 0xf4]
push ebx
push 1
push 4
push eax
call fcn.004bcee1
add esp, 0x10
jmp 0x4de26b
cmp dword [ebp - 0x28], 0x10
lea edi, [ebp - 0x3c]
push 2
cmovae edi, dword [ebp - 0x3c]
push 0
push ebx
mov dword [ebp - 0x100], edx
call fcn.004bd799
add esp, 0xc
lea eax, [ebp - 0x100]
push ebx
push 1
push 4
push eax
call fcn.004bcee1
push 2
push 0
push ebx
call fcn.004bd799
add esp, 0x1c
push ebx
push dword [ebp - 0x100]
push 1
push edi
call fcn.004bcee1
push 2
push 0
push ebx
call fcn.004bd799
add esp, 0x1c
lea eax, [ebp - 0xec]
push ebx
push 1
push 4
push eax
call fcn.004bcee1
push 2
push 0
push ebx
call fcn.004bd799
add esp, 0x1c
lea eax, [ebp - 0xf4]
push ebx
push 1
push 4
push eax
call fcn.004bcee1
add esp, 0x10
inc dword [ebp - 0x108]
cmp dword [esi + 0x14], 0x10
jb 0x4de275
mov eax, dword [esi]
jmp 0x4de277
mov eax, esi
push 0
push 0x2000000
push 3
push 0
push 3
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x100], eax
cmp eax, 0xffffffff
jne 0x4de468
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x4de2bb
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445690
mov edi, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xf8]
add esi, 0x1c
mov dword [ebp - 0xd4], esi
cmp esi, dword [edx + 4]
jne 0x4de0c5
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4de30a
add dword [ebp - 0xd0], eax
push 0
push 0
push ebx
call fcn.004bd799
add esp, 0xc
lea eax, [ebp - 0xd0]
push ebx
push 1
push 4
push eax
call fcn.004bcee1
add esp, 0x10
mov esi, dword [ebp - 0xc8]
test edi, edi
je 0x4de31d
push edi
call fcn.0049ca3d
add esp, 4
test ebx, ebx
je 0x4de32a
push ebx
call fcn.004bbc11
add esp, 4
mov eax, dword [ebp - 0x10c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4de33d
push eax
call ebx
test esi, esi
je 0x4de344
push esi
call ebx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
push dword [eax + 4]
call fcn.0044ce90
mov eax, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0xf8]
push dword [ebp - 0x20]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0xdc]
push ecx
mov dword [eax], eax
mov eax, dword [ebp - 0xdc]
mov dword [eax + 8], eax
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [ebp - 0xd8], 0
call fcn.0044d8b0
mov eax, dword [ebx]
lea ecx, [ebp - 0xdc]
add esp, 8
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xdc]
push eax
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call fcn.0044d060
push 0x30
push 1
push dword [ebp - 0xdc]
call fcn.00444730
mov eax, dword [ebp - 0x98]
add esp, 0xc
cmp eax, 0x10
jb 0x4de3e4
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.00445690
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
cmp eax, 0x10
jb 0x4de41a
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.00445690
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp esi, 0x10
jb 0x4de44a
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp + 0xc]
call fcn.00445690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049ca2c
mov esp, ebp
pop ebp
ret 0x1c
mov edi, dword [ebp - 0xcc]
xor bl, bl
mov esi, dword [ebp - 0x100]
push 0x2800
push 0
push edi
call fcn.004b5640
add esp, 0xc
lea eax, [ebp - 0x110]
push 0
push eax
push 0x2800
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x110]
mov ecx, 1
cmp eax, 0x2800
movzx ebx, bl
push 0
cmovb ebx, ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
push edi
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test bl, bl
je 0x4de476
push dword [ebp - 0x100]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xd4]
cmp dword [esi + 0x14], 0x10
jb 0x4de4e6
mov eax, dword [esi]
jmp 0x4de4e8
mov eax, esi
push eax
call fcn.004bbc9c
mov eax, dword [ebp - 0xf4]
add esp, 4
add dword [ebp - 0xec], eax
add dword [ebp - 0xe4], 0x64
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x4de519
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445690
mov ebx, dword [ebp - 0xf0]
jmp 0x4de2c1