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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0625
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, 0x36
mov dword [ebp - 4], 0
mov cl, 0x63
mov byte [ebp - 0xc5], 0
mov al, 0x7f
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 0x4dd946
xor edx, edx
jmp 0x4dd959
lea edx, [ebp - 0xc7]
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4dd950
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 0x4ddabf
mov dh, 0x71
mov byte [ebp - 0x15], 0
mov ch, 0x3e
mov byte [ebp - 0x1c], dh
mov al, 0x33
mov byte [ebp - 0x15], 0
mov cl, 0x3b
mov dl, 0x34
mov bl, 0x32
mov ah, 0x25
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 0x4dd9c2
xor edx, edx
jmp 0x4dd9d1
lea edx, [ebp - 0x1b]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dd9c8
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 0x4ddabf
mov ah, 0x59
mov byte [ebp - 0x17], 0
mov bl, 0x10
mov byte [ebp - 0x1c], ah
mov al, 0xd
mov byte [ebp - 0x17], 0
mov cl, 0x1c
mov dl, 0x14
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 0x4dda23
xor edx, edx
jmp 0x4dda39
lea edx, [ebp - 0x1b]
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dda30
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 0x4ddabf
mov dl, 0x7b
mov byte [ebp - 0xc5], 0
mov cl, 0x3d
mov byte [ebp - 0xc8], dl
mov al, 0x23
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 0x4dda8a
xor edx, edx
jmp 0x4dda9c
lea edx, [ebp - 0xc7]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dda93
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 0x4de478
mov cl, 0x35
mov byte [ebp - 0xca], 0
mov al, 0x69
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, 0x1b
mov byte [ebp - 4], 2
mov cl, 0x35
mov byte [ebp - 0x1c], dh
xor cl, dh
mov byte [ebp - 0x17], 0
mov ch, 0x69
mov byte [ebp - 0x1b], cl
xor ch, dh
mov byte [ebp - 0x17], 0
mov dl, 0x73
mov byte [ebp - 0x18], ch
xor dl, dh
lea ecx, [ebp - 0x1b]
mov bl, 0x7f
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 0x4ddb5f
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 0x4ddb8a
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445690
mov cl, 0x11
mov byte [ebp - 0xc6], 0
mov al, 0x4d
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, 0x78
mov byte [ebp - 4], 7
mov cl, 0x56
mov byte [ebp - 0x24], dh
xor cl, dh
mov byte [ebp - 0x1f], 0
mov ch, 0x1b
mov byte [ebp - 0x23], cl
xor ch, dh
mov byte [ebp - 0x1f], 0
mov dl, 0xb
mov byte [ebp - 0x20], ch
xor dl, dh
lea ecx, [ebp - 0x23]
mov bl, 0xa
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 0x4ddc48
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 0x4ddc7c
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.0049cd03
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 0x4ddd17
mov eax, dword [ecx]
jmp 0x4ddd19
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], bl
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004450f0
call fcn.004de570
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0xd4]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.004de6c0
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 0x4de350
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 0x4de350
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x20], 0x10
movaps xmm0, xmmword [0x520350]
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 [0x5203f0]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x7f7f2538
mov word [ebp - 0x58], 0x7f
nop dword [eax + eax]
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x24
jb 0x4dddf0
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.004e9790
mov ecx, dword [0x53b260]
add esp, 0x20
add ecx, 0x280
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x12c]
cmp ecx, eax
je 0x4dde41
push 0xffffffffffffffff
push 0
push eax
call fcn.004450f0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x4dde63
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 0x4de350
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 0x4de061
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 0x4ddf97
xor ecx, ecx
jmp 0x4ddfa9
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ddfa0
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 0x4de015
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00445690
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x4de02a
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 0x4dded0
mov edi, dword [ebp - 0xcc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 0x65
mov byte [ebp - 0x18], 0
mov al, 0x17
mov dword [ebp - 0xc8], 0
xor al, bl
mov byte [ebp - 0x1c], bl
mov cl, 0x4e
mov byte [ebp - 0x1b], al
xor cl, bl
mov byte [ebp - 0x18], 0
mov dl, 7
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.004bd8d0
add esp, 8
mov ebx, eax
cmp dword [ebp - 0xd0], 0
mov dword [ebp - 0xf0], ebx
jne 0x4de0e4
push 0
push 0
push ebx
call fcn.004bd7e9
add esp, 0xc
lea eax, [ebp - 0xd0]
push ebx
push 1
push 4
push eax
call fcn.004bcf31
add esp, 0x10
mov edx, dword [ebp - 0xf8]
mov esi, dword [edx]
mov dword [ebp - 0xd4], esi
cmp esi, dword [edx + 4]
je 0x4de34a
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 + 0x520480]
movsd qword [esp], xmm0
call fcn.004bd92e
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.004def20
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 0x4de1c8
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
lea edx, [eax + 0x10]
jb 0x4de1a0
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 0x4de1cd
jmp 0x4de1cb
mov edx, dword [ebp - 0x2c]
mov edi, eax
cmp edi, eax
je 0x4de21b
push 0
push dword [edi + 0x28]
push ebx
call fcn.004bd7e9
add esp, 0xc
lea eax, [ebp - 0xec]
push ebx
push 1
push 4
push eax
call fcn.004bcf31
mov eax, dword [edi + 0x28]
push 0
add eax, 4
push eax
push ebx
call fcn.004bd7e9
add esp, 0x1c
lea eax, [ebp - 0xf4]
push ebx
push 1
push 4
push eax
call fcn.004bcf31
add esp, 0x10
jmp 0x4de2ab
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.004bd7e9
add esp, 0xc
lea eax, [ebp - 0x100]
push ebx
push 1
push 4
push eax
call fcn.004bcf31
push 2
push 0
push ebx
call fcn.004bd7e9
add esp, 0x1c
push ebx
push dword [ebp - 0x100]
push 1
push edi
call fcn.004bcf31
push 2
push 0
push ebx
call fcn.004bd7e9
add esp, 0x1c
lea eax, [ebp - 0xec]
push ebx
push 1
push 4
push eax
call fcn.004bcf31
push 2
push 0
push ebx
call fcn.004bd7e9
add esp, 0x1c
lea eax, [ebp - 0xf4]
push ebx
push 1
push 4
push eax
call fcn.004bcf31
add esp, 0x10
inc dword [ebp - 0x108]
cmp dword [esi + 0x14], 0x10
jb 0x4de2b5
mov eax, dword [esi]
jmp 0x4de2b7
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 0x4de4a8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x4de2fb
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 0x4de105
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4de34a
add dword [ebp - 0xd0], eax
push 0
push 0
push ebx
call fcn.004bd7e9
add esp, 0xc
lea eax, [ebp - 0xd0]
push ebx
push 1
push 4
push eax
call fcn.004bcf31
add esp, 0x10
mov esi, dword [ebp - 0xc8]
test edi, edi
je 0x4de35d
push edi
call fcn.0049ca50
add esp, 4
test ebx, ebx
je 0x4de36a
push ebx
call fcn.004bbc61
add esp, 4
mov eax, dword [ebp - 0x10c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4de37d
push eax
call ebx
test esi, esi
je 0x4de384
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 0x4de424
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 0x4de45a
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 0x4de48a
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.0049ca3f
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.004b5690
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 0x4de4b6
push dword [ebp - 0x100]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xd4]
cmp dword [esi + 0x14], 0x10
jb 0x4de526
mov eax, dword [esi]
jmp 0x4de528
mov eax, esi
push eax
call fcn.004bbcec
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 0x4de559
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445690
mov ebx, dword [ebp - 0xf0]
jmp 0x4de301