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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f04a5
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, 0x11
mov dword [ebp - 4], 0
mov cl, 0x44
mov byte [ebp - 0xc5], 0
mov al, 0x58
mov byte [ebp - 0xc8], dl
xor cl, dl
mov byte [ebp - 0xc5], 0
xor al, dl
mov byte [ebp - 0xc7], cl
mov byte [ebp - 0xc6], al
test cl, cl
jne 0x4dd8c6
xor edx, edx
jmp 0x4dd8d9
lea edx, [ebp - 0xc7]
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4dd8d0
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 0x4dda34
mov dh, 0x43
mov byte [ebp - 0x15], 0
mov ch, 0xc
mov byte [ebp - 0x1c], dh
xor bl, bl
mov al, 1
mov cl, 9
mov dl, 6
mov ah, 0x17
xor ch, dh
xor al, dh
mov byte [ebp - 0x1b], ch
xor cl, dh
mov byte [ebp - 0x1a], al
xor dl, dh
mov byte [ebp - 0x19], cl
xor bl, dh
mov byte [ebp - 0x18], dl
xor ah, dh
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], ah
test ch, ch
jne 0x4dd93e
xor edx, edx
jmp 0x4dd94d
lea edx, [ebp - 0x1b]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dd944
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 0x4dda34
mov ah, 0x48
mov byte [ebp - 0x17], 0
mov bl, 1
mov byte [ebp - 0x1c], ah
mov al, 0x1c
mov byte [ebp - 0x17], 0
mov cl, 0xd
mov dl, 5
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 0x4dd99f
xor edx, edx
jmp 0x4dd9ae
lea edx, [ebp - 0x1b]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dd9a5
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 0x4dda34
mov dl, 0x7e
mov byte [ebp - 0xc5], 0
mov cl, 0x38
mov byte [ebp - 0xc8], dl
mov al, 0x26
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 0x4dd9ff
xor edx, edx
jmp 0x4dda11
lea edx, [ebp - 0xc7]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dda08
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 0x4de3e8
mov cl, 0x4c
mov byte [ebp - 0xca], 0
mov al, 0x10
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, 0x47
mov byte [ebp - 4], 2
mov cl, 0x69
mov byte [ebp - 0x1c], dh
xor cl, dh
mov byte [ebp - 0x17], 0
mov ch, 0x35
mov byte [ebp - 0x1b], cl
xor ch, dh
mov byte [ebp - 0x17], 0
mov dl, 0x2f
mov byte [ebp - 0x18], ch
xor dl, dh
lea ecx, [ebp - 0x1b]
mov bl, 0x23
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 0x4ddad4
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 0x4ddaff
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445690
mov cl, 0x2d
mov byte [ebp - 0xc6], 0
mov al, 0x71
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, 0x4e
mov byte [ebp - 4], 7
mov cl, 0x60
mov byte [ebp - 0x24], dh
xor cl, dh
mov byte [ebp - 0x1f], 0
mov ch, 0x2d
mov byte [ebp - 0x23], cl
xor ch, dh
mov byte [ebp - 0x1f], 0
mov dl, 0x3d
mov byte [ebp - 0x20], ch
xor dl, dh
lea ecx, [ebp - 0x23]
mov bl, 0x3c
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 0x4ddbbd
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 0x4ddbf1
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.0049ccdf
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 0x4ddc8c
mov eax, dword [ecx]
jmp 0x4ddc8e
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], bl
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004450f0
call fcn.004de4e0
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0xd4]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.004de630
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 0x4de2c0
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 0x4de2c0
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x20], 0x10
movaps xmm0, xmmword [0x520410]
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 [0x5202d0]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x41411b06
mov word [ebp - 0x58], 0x41
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x24
jb 0x4ddd60
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.004e9600
mov ecx, dword [0x53b260]
add esp, 0x20
add ecx, 0x280
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x12c]
cmp ecx, eax
je 0x4dddb1
push 0xffffffffffffffff
push 0
push eax
call fcn.004450f0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x4dddd3
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 accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0xc8], esi
cmp esi, 0xffffffff
je 0x4de2c0
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 0x4ddfd1
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 0x4ddf07
xor ecx, ecx
jmp 0x4ddf19
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ddf10
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 0x4ddf85
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00445690
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x4ddf9a
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 0x4dde40
mov edi, dword [ebp - 0xcc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 0x14
mov byte [ebp - 0x18], 0
mov al, 0x66
mov dword [ebp - 0xc8], 0
xor al, bl
mov byte [ebp - 0x1c], bl
mov cl, 0x3f
mov byte [ebp - 0x1b], al
xor cl, bl
mov byte [ebp - 0x18], 0
mov dl, 0x76
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.004bd8b0
add esp, 8
mov ebx, eax
cmp dword [ebp - 0xd0], 0
mov dword [ebp - 0xf0], ebx
jne 0x4de054
push 0
push 0
push ebx
call fcn.004bd7c9
add esp, 0xc
lea eax, [ebp - 0xd0]
push ebx
push 1
push 4
push eax
call fcn.004bcf11
add esp, 0x10
mov edx, dword [ebp - 0xf8]
mov esi, dword [edx]
mov dword [ebp - 0xd4], esi
cmp esi, dword [edx + 4]
je 0x4de2ba
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 + 0x520530]
movsd qword [esp], xmm0
call fcn.004bd90e
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.004dee90
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 0x4de138
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
lea edx, [eax + 0x10]
jb 0x4de110
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 0x4de13d
jmp 0x4de13b
mov edx, dword [ebp - 0x2c]
mov edi, eax
cmp edi, eax
je 0x4de18b
push 0
push dword [edi + 0x28]
push ebx
call fcn.004bd7c9
add esp, 0xc
lea eax, [ebp - 0xec]
push ebx
push 1
push 4
push eax
call fcn.004bcf11
mov eax, dword [edi + 0x28]
push 0
add eax, 4
push eax
push ebx
call fcn.004bd7c9
add esp, 0x1c
lea eax, [ebp - 0xf4]
push ebx
push 1
push 4
push eax
call fcn.004bcf11
add esp, 0x10
jmp 0x4de21b
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.004bd7c9
add esp, 0xc
lea eax, [ebp - 0x100]
push ebx
push 1
push 4
push eax
call fcn.004bcf11
push 2
push 0
push ebx
call fcn.004bd7c9
add esp, 0x1c
push ebx
push dword [ebp - 0x100]
push 1
push edi
call fcn.004bcf11
push 2
push 0
push ebx
call fcn.004bd7c9
add esp, 0x1c
lea eax, [ebp - 0xec]
push ebx
push 1
push 4
push eax
call fcn.004bcf11
push 2
push 0
push ebx
call fcn.004bd7c9
add esp, 0x1c
lea eax, [ebp - 0xf4]
push ebx
push 1
push 4
push eax
call fcn.004bcf11
add esp, 0x10
inc dword [ebp - 0x108]
cmp dword [esi + 0x14], 0x10
jb 0x4de225
mov eax, dword [esi]
jmp 0x4de227
mov eax, esi
push 0
push 0x2000000
push 3
push 0
push 3
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x100], eax
cmp eax, 0xffffffff
jne 0x4de418
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x4de26b
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 0x4de075
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4de2ba
add dword [ebp - 0xd0], eax
push 0
push 0
push ebx
call fcn.004bd7c9
add esp, 0xc
lea eax, [ebp - 0xd0]
push ebx
push 1
push 4
push eax
call fcn.004bcf11
add esp, 0x10
mov esi, dword [ebp - 0xc8]
test edi, edi
je 0x4de2cd
push edi
call fcn.0049ca2c
add esp, 4
test ebx, ebx
je 0x4de2da
push ebx
call fcn.004bbc3c
add esp, 4
mov eax, dword [ebp - 0x10c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4de2ed
push eax
call ebx
test esi, esi
je 0x4de2f4
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 0x4de394
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 0x4de3ca
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 0x4de3fa
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.0049ca1b
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.004b5630
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 0x4de426
push dword [ebp - 0x100]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xd4]
cmp dword [esi + 0x14], 0x10
jb 0x4de496
mov eax, dword [esi]
jmp 0x4de498
mov eax, esi
push eax
call fcn.004bbcc7
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 0x4de4c9
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445690
mov ebx, dword [ebp - 0xf0]
jmp 0x4de271