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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3dc5
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x52e098]
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, 0x58
mov dword [ebp - 4], 0
mov cl, 0xd
mov byte [ebp - 0xc5], 0
mov al, 0x11
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 0x4df186
xor edx, edx
jmp 0x4df199
lea edx, [ebp - 0xc7]
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4df190
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.00448ff0
add esp, 8
test eax, eax
je 0x4df2ff
mov dh, 0x7e
mov byte [ebp - 0x15], 0
mov ch, 0x31
mov byte [ebp - 0x1c], dh
mov al, 0x3c
mov byte [ebp - 0x15], 0
mov cl, 0x34
mov dl, 0x3b
mov bl, 0x3d
mov ah, 0x2a
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 0x4df202
xor edx, edx
jmp 0x4df211
lea edx, [ebp - 0x1b]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4df208
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.00448ff0
add esp, 8
test eax, eax
je 0x4df2ff
mov ah, 0x33
mov byte [ebp - 0x17], 0
mov bl, 0x7a
mov byte [ebp - 0x1c], ah
mov al, 0x67
mov byte [ebp - 0x17], 0
mov cl, 0x76
mov dl, 0x7e
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 0x4df263
xor edx, edx
jmp 0x4df279
lea edx, [ebp - 0x1b]
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4df270
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.00448ff0
add esp, 8
test eax, eax
je 0x4df2ff
mov dl, 0x36
mov byte [ebp - 0xc5], 0
mov cl, 0x70
mov byte [ebp - 0xc8], dl
mov al, 0x6e
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 0x4df2ca
xor edx, edx
jmp 0x4df2dc
lea edx, [ebp - 0xc7]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4df2d3
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.00448ff0
add esp, 8
test eax, eax
jne 0x4dfcb8
mov cl, 0xa
mov byte [ebp - 0xca], 0
mov al, 0x56
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.0044b380
add esp, 4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.0044d320
add esp, 4
mov dh, 0x36
mov byte [ebp - 4], 2
mov cl, 0x18
mov byte [ebp - 0x1c], dh
xor cl, dh
mov byte [ebp - 0x17], 0
mov ch, 0x44
mov byte [ebp - 0x1b], cl
xor ch, dh
mov byte [ebp - 0x17], 0
mov dl, 0x5e
mov byte [ebp - 0x18], ch
xor dl, dh
lea ecx, [ebp - 0x1b]
mov bl, 0x52
mov byte [ebp - 0x1a], dl
xor bl, dh
mov edx, eax
push ecx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x19], bl
call fcn.004457f0
add esp, 4
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x4df39f
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00445260
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 0x4df3ca
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445260
mov cl, 0x5f
mov byte [ebp - 0xc6], 0
mov al, 3
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.0044b380
add esp, 4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0xc4]
call fcn.0044d320
add esp, 4
mov dh, 0x32
mov byte [ebp - 4], 7
mov cl, 0x1c
mov byte [ebp - 0x24], dh
xor cl, dh
mov byte [ebp - 0x1f], 0
mov ch, 0x51
mov byte [ebp - 0x23], cl
xor ch, dh
mov byte [ebp - 0x1f], 0
mov dl, 0x41
mov byte [ebp - 0x20], ch
xor dl, dh
lea ecx, [ebp - 0x23]
mov bl, 0x40
mov byte [ebp - 0x22], dl
xor bl, dh
mov edx, eax
push ecx
lea ecx, [ebp - 0xac]
mov byte [ebp - 0x21], bl
call fcn.004457f0
add esp, 4
mov eax, dword [ebp - 0xb0]
cmp eax, 0x10
jb 0x4df488
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00445260
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 0x4df4bc
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00445260
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.0049e121
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.0044d130
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 0x4df557
mov eax, dword [ecx]
jmp 0x4df559
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], bl
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.00444cb0
call fcn.004dfdb0
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0xd4]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.004dff00
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 0x4dfb90
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 0x4dfb90
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x20], 0x10
movaps xmm0, xmmword [0x524f80]
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 [0x524e30]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x15154f52
mov word [ebp - 0x58], 0x15
nop dword [eax + eax]
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x24
jb 0x4df630
sub esp, 0x18
mov byte [ebp - 0x57], bl
lea eax, [ebp - 0x7b]
mov ecx, esp
push eax
call fcn.00444880
lea eax, [ebp - 0x12c]
push eax
call fcn.004ecdf0
mov ecx, dword [0x53f428]
add esp, 0x20
add ecx, 0x2b0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x12c]
cmp ecx, eax
je 0x4df681
push 0xffffffffffffffff
push 0
push eax
call fcn.00444cb0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x4df6a3
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.00445260
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 0x4dfb90
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 0x4df8a1
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.0044cb50
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 0x4df7d7
xor ecx, ecx
jmp 0x4df7e9
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4df7e0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x54]
call fcn.004454e0
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.0044d350
add esp, 4
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
call fcn.0044d500
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0044d540
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x4df855
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00445260
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x4df86a
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00445260
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.00444a40
mov esi, dword [ebp - 0xc8]
inc edi
cmp edi, dword [ebp - 0xd0]
jb 0x4df710
mov edi, dword [ebp - 0xcc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 0x22
mov byte [ebp - 0x18], 0
mov al, 0x50
mov dword [ebp - 0xc8], 0
xor al, bl
mov byte [ebp - 0x1c], bl
mov cl, 9
mov byte [ebp - 0x1b], al
xor cl, bl
mov byte [ebp - 0x18], 0
mov dl, 0x40
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.004bedcc
add esp, 8
mov ebx, eax
cmp dword [ebp - 0xd0], 0
mov dword [ebp - 0xf0], ebx
jne 0x4df924
push 0
push 0
push ebx
call fcn.004bec19
add esp, 0xc
lea eax, [ebp - 0xd0]
push ebx
push 1
push 4
push eax
call fcn.004be361
add esp, 0x10
mov edx, dword [ebp - 0xf8]
mov esi, dword [edx]
mov dword [ebp - 0xd4], esi
cmp esi, dword [edx + 4]
je 0x4dfb8a
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 + 0x524cd0]
movsd qword [esp], xmm0
call fcn.004bee2a
mov eax, dword [0x53f428]
add esp, 8
fstp qword [ebp - 0x104]
cvttsd2si ecx, qword [ebp - 0x104]
push esi
mov byte [eax + 0x2c8], cl
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004e0760
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0044d3a0
mov edi, eax
mov eax, dword [ebp - 0xdc]
cmp edi, eax
je 0x4dfa08
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
lea edx, [eax + 0x10]
jb 0x4df9e0
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.00448ff0
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [ebp - 0xdc]
je 0x4dfa0d
jmp 0x4dfa0b
mov edx, dword [ebp - 0x2c]
mov edi, eax
cmp edi, eax
je 0x4dfa5b
push 0
push dword [edi + 0x28]
push ebx
call fcn.004bec19
add esp, 0xc
lea eax, [ebp - 0xec]
push ebx
push 1
push 4
push eax
call fcn.004be361
mov eax, dword [edi + 0x28]
push 0
add eax, 4
push eax
push ebx
call fcn.004bec19
add esp, 0x1c
lea eax, [ebp - 0xf4]
push ebx
push 1
push 4
push eax
call fcn.004be361
add esp, 0x10
jmp 0x4dfaeb
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.004bec19
add esp, 0xc
lea eax, [ebp - 0x100]
push ebx
push 1
push 4
push eax
call fcn.004be361
push 2
push 0
push ebx
call fcn.004bec19
add esp, 0x1c
push ebx
push dword [ebp - 0x100]
push 1
push edi
call fcn.004be361
push 2
push 0
push ebx
call fcn.004bec19
add esp, 0x1c
lea eax, [ebp - 0xec]
push ebx
push 1
push 4
push eax
call fcn.004be361
push 2
push 0
push ebx
call fcn.004bec19
add esp, 0x1c
lea eax, [ebp - 0xf4]
push ebx
push 1
push 4
push eax
call fcn.004be361
add esp, 0x10
inc dword [ebp - 0x108]
cmp dword [esi + 0x14], 0x10
jb 0x4dfaf5
mov eax, dword [esi]
jmp 0x4dfaf7
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 0x4dfce8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x4dfb3b
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445260
mov edi, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xf8]
add esi, 0x1c
mov dword [ebp - 0xd4], esi
cmp esi, dword [edx + 4]
jne 0x4df945
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4dfb8a
add dword [ebp - 0xd0], eax
push 0
push 0
push ebx
call fcn.004bec19
add esp, 0xc
lea eax, [ebp - 0xd0]
push ebx
push 1
push 4
push eax
call fcn.004be361
add esp, 0x10
mov esi, dword [ebp - 0xc8]
test edi, edi
je 0x4dfb9d
push edi
call fcn.0049de6e
add esp, 4
test ebx, ebx
je 0x4dfbaa
push ebx
call fcn.004bd08c
add esp, 4
mov eax, dword [ebp - 0x10c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4dfbbd
push eax
call ebx
test esi, esi
je 0x4dfbc4
push esi
call ebx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
push dword [eax + 4]
call fcn.0044ca00
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.0044d480
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.0044cc30
push 0x30
push 1
push dword [ebp - 0xdc]
call fcn.004442f0
mov eax, dword [ebp - 0x98]
add esp, 0xc
cmp eax, 0x10
jb 0x4dfc64
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.00445260
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
cmp eax, 0x10
jb 0x4dfc9a
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.00445260
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 0x4dfcca
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp + 0xc]
call fcn.00445260
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.0049de5d
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.004b6aa0
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 0x4dfcf6
push dword [ebp - 0x100]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xd4]
cmp dword [esi + 0x14], 0x10
jb 0x4dfd66
mov eax, dword [esi]
jmp 0x4dfd68
mov eax, esi
push eax
call fcn.004bd117
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 0x4dfd99
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445260
mov ebx, dword [ebp - 0xf0]
jmp 0x4dfb41