Function at 0x47d3d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5313eb
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, dword [ebp + 0xc]
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push eax
mov dword [ebp - 0x2b0], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2b4], eax
cmp eax, 0xffffffff
jne 0x47d42f
xor al, al
jmp 0x47eae4
push 1
xor eax, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], esi
push 0x56571c
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00408af0
mov dword [ebp - 4], 0
xor eax, eax
push 1
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push 0x560d00
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00408af0
mov byte [ebp - 4], 1
xor eax, eax
push 1
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x542f30
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00408af0
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c4], ecx
cmp eax, ecx
je 0x47e9e2
nop
mov edi, dword [eax]
mov eax, dword [edi + 0xd0]
shr eax, 7
and al, 1
je 0x47d795
mov byte [ebp - 4], 3
mov eax, SysReAllocString
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x47eb04
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x47d524
mov eax, dword [edi]
push ecx
push eax
push 1
push 0x543080
push edi
push dword [ebp - 0x2c4]
lea ecx, [ebp - 0x230]
call fcn.004109a0
or esi, 2
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
push 1
push 0x54307c
call fcn.0040e5d0
mov dword [ebp - 0x1d0], 0
xor ecx, ecx
mov dword [ebp - 0x1c0], 0
or esi, 4
mov dword [ebp - 0x1bc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1d0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x1d0]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0040e5d0
mov dword [ebp - 0x130], 0
lea edx, [ebp - 0x2f4]
mov dword [ebp - 0x120], 0
xor ecx, ecx
mov dword [ebp - 0x11c], 0
or esi, 8
movups xmm0, xmmword [eax]
push 0
push edx
movups xmmword [ebp - 0x130], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x120], xmm0
mov word [eax], cx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov dword [ebp - 0x2b0], esi
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0x11c], 8
lea ecx, [eax + eax]
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
push ecx
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
and esi, 0xfffffff7
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x11c]
cmp edx, 8
jb 0x47d69f
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d695
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x120], 0
and esi, 0xfffffffb
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1bc]
cmp edx, 8
jb 0x47d709
mov ecx, dword [ebp - 0x1d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d6ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c0], 0
and esi, 0xfffffffd
mov dword [ebp - 0x1bc], 7
mov word [ebp - 0x1d0], ax
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x47d773
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d769
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
jmp 0x47e9c7
push 2
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
push 0x543084
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00408af0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2f0]
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x5c], 8
push 0
push edx
lea ecx, [eax + eax]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x47d837
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d82d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
test byte [edi + 0xd0], 2
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
je 0x47d911
push 2
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
push 0x54308c
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00408af0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x2dc]
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x74], 8
push 0
push edx
lea ecx, [eax + eax]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x47d8fa
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d8f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 8
mov eax, SysReAllocString
sub eax, dword [ebp - 0x18]
mov edx, dword [edi + 0x10]
cmp eax, edx
jb 0x47eb04
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, edi
cmovae eax, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x47d93d
mov ecx, dword [edi]
push edx
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x248]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2dc]
call fcn.004109a0
or esi, 0x10
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x248]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040e5d0
mov dword [ebp - 0x1b8], 0
xor ecx, ecx
mov dword [ebp - 0x1a8], 0
or esi, 0x20
mov dword [ebp - 0x1a4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1b8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1a8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x1b8]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040e5d0
mov dword [ebp - 0x118], 0
lea edx, [ebp - 0x2d8]
mov dword [ebp - 0x108], 0
xor ecx, ecx
mov dword [ebp - 0x104], 0
or esi, 0x40
movups xmm0, xmmword [eax]
push 0
push edx
movups xmmword [ebp - 0x118], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x108], xmm0
mov word [eax], cx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov dword [ebp - 0x2b0], esi
mov eax, dword [ebp - 0x108]
cmp dword [ebp - 0x104], 8
lea ecx, [eax + eax]
lea eax, [ebp - 0x118]
cmovae eax, dword [ebp - 0x118]
push ecx
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
and esi, 0xffffffbf
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x104]
cmp edx, 8
jb 0x47dac0
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47dab6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x108], 0
and esi, 0xffffffdf
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x1a4]
cmp edx, 8
jb 0x47db2a
mov ecx, dword [ebp - 0x1b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47db20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1a8], 0
and esi, 0xffffffef
mov dword [ebp - 0x1a4], 7
mov word [ebp - 0x1b8], ax
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x47db94
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47db8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
lea ecx, [edi + 0x18]
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 0xb
mov eax, SysReAllocString
sub eax, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
cmp eax, edx
jb 0x47eb04
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
jb 0x47dbde
mov ecx, dword [ecx]
push edx
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x260]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2d8]
call fcn.004109a0
or esi, 0x80
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x260]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040e5d0
mov dword [ebp - 0x1a0], 0
xor ecx, ecx
mov dword [ebp - 0x190], 0
or esi, 0x100
mov dword [ebp - 0x18c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1a0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x190], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x1a0]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040e5d0
mov dword [ebp - 0xb8], 0
lea edx, [ebp - 0x2d4]
mov dword [ebp - 0xa8], 0
xor ecx, ecx
mov dword [ebp - 0xa4], 0
or esi, 0x200
movups xmm0, xmmword [eax]
push 0
push edx
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
mov word [eax], cx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov dword [ebp - 0x2b0], esi
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0xa4], 8
lea ecx, [eax + eax]
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push ecx
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
and esi, 0xfffffdff
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x47dd6d
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47dd63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0xa8], 0
and esi, 0xfffffeff
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x18c]
cmp edx, 8
jb 0x47ddda
mov ecx, dword [ebp - 0x1a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ddd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x190], 0
and esi, 0xffffff7f
mov dword [ebp - 0x18c], 7
mov word [ebp - 0x1a0], ax
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x47de47
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47de3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
lea ecx, [edi + 0x30]
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 0xe
mov eax, SysReAllocString
sub eax, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
cmp eax, edx
jb 0x47eb04
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
jb 0x47de91
mov ecx, dword [ecx]
push edx
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x278]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2d4]
call fcn.004109a0
or esi, 0x400
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040e5d0
mov dword [ebp - 0x188], 0
xor ecx, ecx
mov dword [ebp - 0x178], 0
or esi, 0x800
mov dword [ebp - 0x174], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x188], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x178], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x188]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040e5d0
mov dword [ebp - 0x100], 0
lea edx, [ebp - 0x2d0]
mov dword [ebp - 0xf0], 0
xor ecx, ecx
mov dword [ebp - 0xec], 0
or esi, 0x1000
movups xmm0, xmmword [eax]
push 0
push edx
movups xmmword [ebp - 0x100], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf0], xmm0
mov word [eax], cx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov dword [ebp - 0x2b0], esi
mov eax, dword [ebp - 0xf0]
cmp dword [ebp - 0xec], 8
lea ecx, [eax + eax]
lea eax, [ebp - 0x100]
cmovae eax, dword [ebp - 0x100]
push ecx
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
and esi, 0xffffefff
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x47e020
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e016
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0xf0], 0
and esi, 0xfffff7ff
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x174]
cmp edx, 8
jb 0x47e08d
mov ecx, dword [ebp - 0x188]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e083
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x178], 0
and esi, 0xfffffbff
mov dword [ebp - 0x174], 7
mov word [ebp - 0x188], ax
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x47e0fa
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e0f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
lea ecx, [edi + 0x48]
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 0x11
mov eax, SysReAllocString
sub eax, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
cmp eax, edx
jb 0x47eb04
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
jb 0x47e144
mov ecx, dword [ecx]
push edx
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x218]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2d0]
call fcn.004109a0
or esi, 0x2000
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x218]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040e5d0
mov dword [ebp - 0x170], 0
xor ecx, ecx
mov dword [ebp - 0x160], 0
or esi, 0x4000
mov dword [ebp - 0x15c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x170], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x160], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x170]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040e5d0
mov dword [ebp - 0xe8], 0
lea edx, [ebp - 0x2cc]
mov dword [ebp - 0xd8], 0
xor ecx, ecx
mov dword [ebp - 0xd4], 0
or esi, 0x8000
movups xmm0, xmmword [eax]
push 0
push edx
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd8], xmm0
mov word [eax], cx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov dword [ebp - 0x2b0], esi
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0xd4], 8
lea ecx, [eax + eax]
lea eax, [ebp - 0xe8]
cmovae eax, dword [ebp - 0xe8]
push ecx
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
and esi, 0xffff7fff
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x47e2d3
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e2c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0xd8], 0
and esi, 0xffffbfff
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x15c]
cmp edx, 8
jb 0x47e340
mov ecx, dword [ebp - 0x170]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e336
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x160], 0
and esi, 0xffffdfff
mov dword [ebp - 0x15c], 7
mov word [ebp - 0x170], ax
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x204]
cmp edx, 8
jb 0x47e3ad
mov ecx, dword [ebp - 0x218]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e3a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x208], 0
mov word [ebp - 0x218], ax
lea ecx, [edi + 0x78]
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x204], 7
add eax, dword [ecx]
jne 0x47e3de
mov edx, 0x5629d0
jmp 0x47e541
lea eax, [ebp - 0x2ac]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x47eb13
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x2ac]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test eax, eax
je 0x47eb13
mov ax, word [ebp - 0x140]
mov ecx, 0x76c
cmp ax, cx
jae 0x47e43f
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c0], xmm0
mov edx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x2c0]
jmp 0x47e50f
movzx ecx, word [ebp - 0x13a]
movzx edx, word [ebp - 0x134]
movzx eax, ax
mov dword [ebp - 0x2bc], eax
cmp eax, 0x7b2
jb 0x47eb09
movzx eax, word [ebp - 0x13e]
dec eax
cmp eax, 0xb
ja 0x47eb09
cmp ecx, 1
jb 0x47eb09
cmp ecx, 0x1f
ja 0x47eb09
cmp word [ebp - 0x138], 0x17
ja 0x47eb09
movzx eax, word [ebp - 0x136]
cmp eax, 0x3b
ja 0x47eb09
cmp edx, 0x3b
ja 0x47eb09
mov dword [ebp - 0x298], eax
movzx eax, word [ebp - 0x138]
mov dword [ebp - 0x294], eax
movzx eax, word [ebp - 0x13e]
dec eax
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x2bc]
add eax, 0xfffff894
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x29c]
push eax
mov dword [ebp - 0x27c], 0xffffffff
call fcn.004fedf5
mov ecx, eax
add esp, 4
and ecx, edx
cmp ecx, 0xffffffff
je 0x47eb1e
mov dword [ebp - 0x2e8], eax
lea ecx, [ebp - 0x2e8]
push 0x543094
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2e4], edx
push eax
call fcn.0047eb30
mov byte [ebp - 4], 0x14
or esi, 1
mov dword [ebp - 0x2b0], esi
mov edx, dword [eax]
mov dword [ebp - 4], 0x15
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2bc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47e553
sub ecx, dword [ebp - 0x2bc]
mov eax, SysReAllocString
sub eax, dword [ebp - 0x18]
sar ecx, 1
cmp eax, ecx
jb 0x47eb04
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x200]
push edx
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2cc]
call fcn.004109a0
or esi, 0x20000
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x200]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040e5d0
mov dword [ebp - 0x158], 0
xor ecx, ecx
mov dword [ebp - 0x148], 0
or esi, 0x40000
mov dword [ebp - 0x144], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x158], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x148], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x158]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040e5d0
mov dword [ebp - 0xd0], 0
lea edx, [ebp - 0x2ec]
mov dword [ebp - 0xc0], 0
xor ecx, ecx
mov dword [ebp - 0xbc], 0
or esi, 0x80000
movups xmm0, xmmword [eax]
push 0
push edx
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
mov word [eax], cx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov dword [ebp - 0x2b0], esi
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0xbc], 8
lea ecx, [eax + eax]
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push ecx
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
and eax, 0xfff7ffff
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x47e717
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e707
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
mov eax, dword [ebp - 0x2b0]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xc0], 0
and eax, 0xfffbffff
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], cx
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x144]
cmp edx, 8
jb 0x47e789
mov ecx, dword [ebp - 0x158]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e779
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
mov eax, dword [ebp - 0x2b0]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x148], 0
and eax, 0xfffdffff
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], cx
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x1ec]
cmp ecx, 8
jb 0x47e7db
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x200]
lea ecx, [ebp - 0x200]
call fcn.00408f60
mov eax, dword [ebp - 0x2b0]
xor ecx, ecx
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 7
mov word [ebp - 0x200], cx
mov dword [ebp - 4], 2
test al, 1
je 0x47e82e
and eax, 0xfffffffe
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x2e0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47e82e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0x9c
mov byte [ebp - 4], 0x19
mov eax, SysReAllocString
mov edx, dword [ebp - 0x18]
sub eax, edx
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jb 0x47eb04
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x47e860
mov edi, dword [edi]
push ecx
push edi
push edx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2ec]
lea ecx, [ebp - 0x1e8]
call fcn.004109a0
mov esi, dword [ebp - 0x2b0]
or esi, 0x100000
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x1e8]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0040e5d0
mov dword [ebp - 0xa0], 0
lea edx, [ebp - 0x2f8]
mov dword [ebp - 0x90], 0
xor ecx, ecx
mov dword [ebp - 0x8c], 0
or esi, 0x200000
movups xmm0, xmmword [eax]
push 0
push edx
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov word [eax], cx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov dword [ebp - 0x2b0], esi
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x8c], 8
lea ecx, [eax + eax]
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
push ecx
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
and esi, 0xffdfffff
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x47e95f
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00408f60
xor eax, eax
mov dword [ebp - 0x90], 0
and esi, 0xffefffff
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x2b0], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1d4]
cmp eax, 8
jb 0x47e9aa
inc eax
lea ecx, [ebp - 0x1e8]
push eax
push dword [ebp - 0x1e8]
call fcn.00408f60
xor eax, eax
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 7
mov word [ebp - 0x1e8], ax
mov eax, dword [ebp - 0x2c8]
add eax, 8
mov dword [ebp - 0x2c8], eax
cmp eax, dword [ebp - 0x2c4]
jne 0x47d4f0
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x47ea2c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ea22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x47ea7d
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ea73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47eace
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47eac4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47eaff
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov al, 1
mov dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
call fcn.004e0791
call fcn.00408560
push 0x80004005
call fcn.0040fbc0
xorps xmm0, xmm0
movlpd qword [ebp - 0x2e8], xmm0
push 0x80070057
call fcn.0040fbc0
int3