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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4645
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x52f098]
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 0x4df996
xor edx, edx
jmp 0x4df9a9
lea edx, [ebp - 0xc7]
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4df9a0
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.004497c0
add esp, 8
test eax, eax
je 0x4dfb0f
mov dh, 0x24
mov byte [ebp - 0x15], 0
mov ch, 0x6b
mov byte [ebp - 0x1c], dh
mov al, 0x66
mov byte [ebp - 0x15], 0
mov cl, 0x6e
mov dl, 0x61
mov bl, 0x67
mov ah, 0x70
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 0x4dfa12
xor edx, edx
jmp 0x4dfa21
lea edx, [ebp - 0x1b]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dfa18
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.004497c0
add esp, 8
test eax, eax
je 0x4dfb0f
mov ah, 0x75
mov byte [ebp - 0x17], 0
mov bl, 0x3c
mov byte [ebp - 0x1c], ah
mov al, 0x21
mov byte [ebp - 0x17], 0
mov cl, 0x30
mov dl, 0x38
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 0x4dfa73
xor edx, edx
jmp 0x4dfa89
lea edx, [ebp - 0x1b]
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dfa80
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.004497c0
add esp, 8
test eax, eax
je 0x4dfb0f
mov dl, 0x41
mov byte [ebp - 0xc5], 0
mov cl, 7
mov byte [ebp - 0xc8], dl
mov al, 0x19
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 0x4dfada
xor edx, edx
jmp 0x4dfaec
lea edx, [ebp - 0xc7]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4dfae3
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.004497c0
add esp, 8
test eax, eax
jne 0x4e04c8
mov cl, 0x78
mov byte [ebp - 0xca], 0
mov al, 0x24
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.0044bb50
add esp, 4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.0044daf0
add esp, 4
mov dh, 1
mov byte [ebp - 4], 2
mov cl, 0x2f
mov byte [ebp - 0x1c], dh
xor cl, dh
mov byte [ebp - 0x17], 0
mov ch, 0x73
mov byte [ebp - 0x1b], cl
xor ch, dh
mov byte [ebp - 0x17], 0
mov dl, 0x69
mov byte [ebp - 0x18], ch
xor dl, dh
lea ecx, [ebp - 0x1b]
mov bl, 0x65
mov byte [ebp - 0x1a], dl
xor bl, dh
mov edx, eax
push ecx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x19], bl
call fcn.00445fc0
add esp, 4
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x4dfbaf
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00445a30
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 0x4dfbda
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445a30
mov cl, 0x73
mov byte [ebp - 0xc6], 0
mov al, 0x2f
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.0044bb50
add esp, 4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0xc4]
call fcn.0044daf0
add esp, 4
mov dh, 0x66
mov byte [ebp - 4], 7
mov cl, 0x48
mov byte [ebp - 0x24], dh
xor cl, dh
mov byte [ebp - 0x1f], 0
mov ch, 5
mov byte [ebp - 0x23], cl
xor ch, dh
mov byte [ebp - 0x1f], 0
mov dl, 0x15
mov byte [ebp - 0x20], ch
xor dl, dh
lea ecx, [ebp - 0x23]
mov bl, 0x14
mov byte [ebp - 0x22], dl
xor bl, dh
mov edx, eax
push ecx
lea ecx, [ebp - 0xac]
mov byte [ebp - 0x21], bl
call fcn.00445fc0
add esp, 4
mov eax, dword [ebp - 0xb0]
cmp eax, 0x10
jb 0x4dfc98
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00445a30
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 0x4dfccc
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00445a30
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.0049e8e7
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.0044d900
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 0x4dfd67
mov eax, dword [ecx]
jmp 0x4dfd69
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], bl
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.00445490
call fcn.004e05c0
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0xd4]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.004e0710
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 0x4e03a0
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 0x4e03a0
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x20], 0x10
movaps xmm0, xmmword [0x525d00]
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 [0x525ed0]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x2b2b716c
mov word [ebp - 0x58], 0x2b
nop dword [eax + eax]
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x24
jb 0x4dfe40
sub esp, 0x18
mov byte [ebp - 0x57], bl
lea eax, [ebp - 0x7b]
mov ecx, esp
push eax
call fcn.00445060
lea eax, [ebp - 0x12c]
push eax
call fcn.004ed610
mov ecx, dword [0x540428]
add esp, 0x20
add ecx, 0x2b0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x12c]
cmp ecx, eax
je 0x4dfe91
push 0xffffffffffffffff
push 0
push eax
call fcn.00445490
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x4dfeb3
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.00445a30
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 0x4e03a0
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 0x4e00b1
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.0044d320
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 0x4dffe7
xor ecx, ecx
jmp 0x4dfff9
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4dfff0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x54]
call fcn.00445cb0
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.0044db20
add esp, 4
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
call fcn.0044dcd0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0044dd10
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x4e0065
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00445a30
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x4e007a
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00445a30
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.00445220
mov esi, dword [ebp - 0xc8]
inc edi
cmp edi, dword [ebp - 0xd0]
jb 0x4dff20
mov edi, dword [ebp - 0xcc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 0x24
mov byte [ebp - 0x18], 0
mov al, 0x56
mov dword [ebp - 0xc8], 0
xor al, bl
mov byte [ebp - 0x1c], bl
mov cl, 0xf
mov byte [ebp - 0x1b], al
xor cl, bl
mov byte [ebp - 0x18], 0
mov dl, 0x46
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.004bf5bc
add esp, 8
mov ebx, eax
cmp dword [ebp - 0xd0], 0
mov dword [ebp - 0xf0], ebx
jne 0x4e0134
push 0
push 0
push ebx
call fcn.004bf409
add esp, 0xc
lea eax, [ebp - 0xd0]
push ebx
push 1
push 4
push eax
call fcn.004beb51
add esp, 0x10
mov edx, dword [ebp - 0xf8]
mov esi, dword [edx]
mov dword [ebp - 0xd4], esi
cmp esi, dword [edx + 4]
je 0x4e039a
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 + 0x525ce0]
movsd qword [esp], xmm0
call fcn.004bf61a
mov eax, dword [0x540428]
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.004e0f70
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0044db70
mov edi, eax
mov eax, dword [ebp - 0xdc]
cmp edi, eax
je 0x4e0218
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
lea edx, [eax + 0x10]
jb 0x4e01f0
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.004497c0
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [ebp - 0xdc]
je 0x4e021d
jmp 0x4e021b
mov edx, dword [ebp - 0x2c]
mov edi, eax
cmp edi, eax
je 0x4e026b
push 0
push dword [edi + 0x28]
push ebx
call fcn.004bf409
add esp, 0xc
lea eax, [ebp - 0xec]
push ebx
push 1
push 4
push eax
call fcn.004beb51
mov eax, dword [edi + 0x28]
push 0
add eax, 4
push eax
push ebx
call fcn.004bf409
add esp, 0x1c
lea eax, [ebp - 0xf4]
push ebx
push 1
push 4
push eax
call fcn.004beb51
add esp, 0x10
jmp 0x4e02fb
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.004bf409
add esp, 0xc
lea eax, [ebp - 0x100]
push ebx
push 1
push 4
push eax
call fcn.004beb51
push 2
push 0
push ebx
call fcn.004bf409
add esp, 0x1c
push ebx
push dword [ebp - 0x100]
push 1
push edi
call fcn.004beb51
push 2
push 0
push ebx
call fcn.004bf409
add esp, 0x1c
lea eax, [ebp - 0xec]
push ebx
push 1
push 4
push eax
call fcn.004beb51
push 2
push 0
push ebx
call fcn.004bf409
add esp, 0x1c
lea eax, [ebp - 0xf4]
push ebx
push 1
push 4
push eax
call fcn.004beb51
add esp, 0x10
inc dword [ebp - 0x108]
cmp dword [esi + 0x14], 0x10
jb 0x4e0305
mov eax, dword [esi]
jmp 0x4e0307
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 0x4e04f8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x4e034b
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445a30
mov edi, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xf8]
add esi, 0x1c
mov dword [ebp - 0xd4], esi
cmp esi, dword [edx + 4]
jne 0x4e0155
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4e039a
add dword [ebp - 0xd0], eax
push 0
push 0
push ebx
call fcn.004bf409
add esp, 0xc
lea eax, [ebp - 0xd0]
push ebx
push 1
push 4
push eax
call fcn.004beb51
add esp, 0x10
mov esi, dword [ebp - 0xc8]
test edi, edi
je 0x4e03ad
push edi
call fcn.0049e634
add esp, 4
test ebx, ebx
je 0x4e03ba
push ebx
call fcn.004bd884
add esp, 4
mov eax, dword [ebp - 0x10c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4e03cd
push eax
call ebx
test esi, esi
je 0x4e03d4
push esi
call ebx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xdc]
mov eax, dword [ebp - 0xdc]
push dword [eax + 4]
call fcn.0044d1d0
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.0044dc50
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.0044d400
push 0x30
push 1
push dword [ebp - 0xdc]
call fcn.00444ad0
mov eax, dword [ebp - 0x98]
add esp, 0xc
cmp eax, 0x10
jb 0x4e0474
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.00445a30
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
cmp eax, 0x10
jb 0x4e04aa
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.00445a30
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 0x4e04da
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp + 0xc]
call fcn.00445a30
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.0049e623
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.004b72b0
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 0x4e0506
push dword [ebp - 0x100]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xd4]
cmp dword [esi + 0x14], 0x10
jb 0x4e0576
mov eax, dword [esi]
jmp 0x4e0578
mov eax, esi
push eax
call fcn.004bd90f
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 0x4e05a9
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00445a30
mov ebx, dword [ebp - 0xf0]
jmp 0x4e0351