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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d2d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x568
push ebx
push esi
push edi
push 1
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp + 8]
call fcn.0040b930
mov eax, dword [eax]
mov ecx, 0x5c1e10
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409376
test dx, dx
je 0x409372
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409376
add eax, 4
add ecx, 4
test dx, dx
jne 0x409350
xor esi, esi
jmp 0x40937b
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x28]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40939c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4093af
push 1
push 0x5c1e10
lea ecx, [ebp + 8]
call fcn.0040c740
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.0040c4e0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 5
call fcn.00437ca1
mov ecx, eax
mov byte [ebp - 4], 4
test ecx, ecx
je 0x409ea7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 8
call fcn.00437ca1
mov ecx, eax
mov byte [ebp - 4], 7
test ecx, ecx
je 0x409eb1
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xb
call fcn.00437ca1
mov ecx, eax
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x409ebb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push 3
push 0x5c3744
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call fcn.0040c740
lea ecx, [ebp - 0x574]
call fcn.00410140
push ecx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x574]
push dword [ebp - 0x3c]
call fcn.00410210
test eax, eax
je 0x409dc0
lea eax, [ebp - 0x320]
mov ecx, 0x94
lea esi, [ebp - 0x320]
lea edi, [ebp - 0x570]
push eax
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x574]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test byte [ebp - 0x570], 0x10
mov dword [ebp - 0x40], eax
je 0x409750
cmp word [ebp - 0x544], 0x2e
jne 0x4094c7
mov cx, word [ebp - 0x542]
test cx, cx
je 0x409db0
cmp cx, 0x2e
jne 0x4094c7
cmp word [ebp - 0x540], 0
je 0x409db0
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040b390
add esp, 0xc
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x1c]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x40953d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40952e
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x40952e
push edx
call fcn.0040c4e0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x409526
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x1c], eax
jmp 0x40953a
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040c620
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 0xd
lea edx, [ecx - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409558
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push 0x5c1e10
lea ecx, [ebp - 0x1c]
call fcn.0040c740
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x574]
call fcn.00410370
mov byte [ebp - 4], 0x13
mov ecx, dword [eax]
mov esi, dword [ebp - 0x20]
lea edx, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp edx, edi
je 0x4095d4
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4095c5
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4095c5
push edx
call fcn.0040c4e0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4095bd
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
jmp 0x4095d4
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040c620
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4095f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x24]
add edi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, edi
je 0x40964a
cmp dword [edi + 0xc], 0
jl 0x40963e
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x40963e
push edx
call fcn.0040c4e0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409636
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x24], eax
jmp 0x40964a
push dword [eax - 0xc]
lea ecx, [ebp - 0x24]
push eax
call fcn.0040c620
push dword [esi - 0xc]
lea ecx, [ebp - 0x24]
push esi
call fcn.0040c740
push 1
push 0x5c1e10
lea ecx, [ebp - 0x24]
call fcn.0040c740
mov eax, dword [ebp - 0x24]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov edi, esp
push eax
mov dword [ebp - 0x10], edi
call fcn.0040c4e0
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x544]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040b390
add esp, 0x10
mov byte [ebp - 4], 0x15
mov edi, dword [ebp - 0x2c]
cmp dword [edi - 4], 1
jle 0x4096b8
push dword [edi - 0xc]
lea ecx, [ebp - 0x2c]
call fcn.0040c340
mov edi, dword [ebp - 0x2c]
push ecx
mov dword [ebp - 0x28], esp
mov byte [ebp - 4], 0x16
call fcn.00437ca1
mov ecx, eax
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x409ea7
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
push edi
mov byte [ebp - 4], 0x17
call fcn.0040c0b0
test al, al
jne 0x409719
test edi, edi
jne 0x4096f6
xor eax, eax
jmp 0x40970f
mov eax, edi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409700
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x28]
push eax
push edi
call fcn.0040c620
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x18
call fcn.00409310
mov byte [ebp - 4], 0xd
add esp, 8
mov edx, dword [ebp - 0x2c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409db3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x409db3
xor ecx, ecx
cmp word [ebp - 0x544], 0x2e
jne 0x40977c
mov ax, word [ebp - 0x542]
test ax, ax
je 0x409777
cmp ax, 0x2e
jne 0x40977c
cmp word [ebp - 0x540], cx
jne 0x40977c
mov ecx, 1
test ecx, ecx
jne 0x409db0
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040b390
add esp, 0xc
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x1c]
lea edx, [eax - 0x10]
lea esi, [edi - 0x10]
cmp edx, esi
je 0x4097fd
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4097eb
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x4097eb
push edx
call fcn.0040c4e0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4097e3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
jmp 0x4097fa
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040c620
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0xd
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409818
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x574]
call fcn.00410370
mov byte [ebp - 4], 0xf
mov edx, dword [eax]
mov esi, dword [ebp - 0x20]
lea eax, [edx - 0x10]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x409890
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x409881
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x409881
push dword [ebp - 0x10]
call fcn.0040c4e0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x409879
mov esi, dword [ebp - 0x18]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
jmp 0x409890
push dword [edx - 0xc]
lea ecx, [ebp - 0x20]
push edx
call fcn.0040c620
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0xb0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4098b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0xb4]
call fcn.00410840
mov byte [ebp - 4], 0x10
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x10], eax
lea eax, [edx - 0x10]
cmp eax, ecx
je 0x40992f
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x1c]
jl 0x409923
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x409923
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040c4e0
mov dword [ebp - 0x10], eax
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409918
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp + 0xc], eax
jmp 0x40992f
push dword [edx - 0xc]
lea ecx, [ebp + 0xc]
push edx
call fcn.0040c620
mov edx, dword [ebp - 0xb4]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40994c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xa8]
call fcn.00409ed0
mov byte [ebp - 4], 0x11
lea edx, [esi - 0x10]
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
mov dword [ebp - 0x18], ecx
cmp edx, ecx
je 0x4099c2
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x10], eax
jl 0x4099b3
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4099b3
push edx
call fcn.0040c4e0
mov edx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4099a8
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x90], eax
jmp 0x4099c2
push dword [esi - 0xc]
lea ecx, [ebp - 0x90]
push esi
call fcn.0040c620
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
mov dword [ebp - 0x14], edx
lea ecx, [eax - 0x10]
mov dword [ebp - 0x10], ecx
lea ecx, [eax - 0x10]
cmp ecx, edx
je 0x409a38
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x20]
jl 0x409a29
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x409a29
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040c4e0
mov dword [ebp - 0x10], eax
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409a1b
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x8c], eax
jmp 0x409a38
push dword [eax - 0xc]
lea ecx, [ebp - 0x8c]
push eax
call fcn.0040c620
mov ecx, dword [ebp - 0x48]
lea edx, [edi - 0x10]
add ecx, 0xfffffff0
cmp edx, ecx
je 0x409a96
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x10], eax
jl 0x409a8a
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x409a8a
push edx
call fcn.0040c4e0
mov edx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409a82
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
lea edx, [eax + 0x10]
mov dword [ebp - 0x48], edx
jmp 0x409a96
push dword [edi - 0xc]
lea ecx, [ebp - 0x48]
push edi
call fcn.0040c620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0xc8]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0x68]
movlpd qword [ebp - 0xa0], xmm0
push eax
lea edx, [ebp - 0x70]
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0x78], xmm0
call fcn.0040f560
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x90]
push 1
mov eax, dword [eax - 0xc]
add eax, dword [ecx - 0xc]
lea eax, [eax*2 + 0x48]
push eax
mov dword [ebp - 0x44], eax
call fcn.00562e6c
push 1
push dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
call fcn.00562e6c
mov edx, dword [ebp - 0xa4]
add esp, 0x18
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x94], 0
mov dword [eax], ecx
mov ecx, dword [ebp - 0xa0]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x9c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x84]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x98]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x80]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x78]
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 0x7c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x70]
mov dword [edx + 0x28], ecx
mov ecx, dword [ebp - 0x74]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x68]
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0x90]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp - 0x64]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 2
mov dword [edx + 0x40], ecx
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x14], ecx
jle 0x409bb5
push ecx
lea ecx, [ebp - 0x90]
call fcn.0040c340
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx*2 + 2]
push eax
push dword [ebp - 0x90]
lea eax, [edx + 0x44]
push eax
call fcn.0055a7b0
mov eax, dword [ebp - 0x8c]
add esp, 0xc
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx - 0xc]
mov dword [ebp - 0x14], ecx
jle 0x409bfe
push dword [eax - 0xc]
lea ecx, [ebp - 0x8c]
call fcn.0040c340
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*2]
add eax, 0x46
push eax
call fcn.0055a7b0
mov eax, dword [ebp - 0x90]
push dword [eax - 8]
push eax
call fcn.0055dbf8
mov ecx, eax
add esp, 0x14
test ecx, ecx
js 0x409e9d
mov eax, dword [ebp - 0x90]
cmp ecx, dword [eax - 8]
jg 0x409e9d
mov dword [eax - 0xc], ecx
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x8c]
push dword [eax - 8]
push eax
call fcn.0055dbf8
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x409e9d
mov eax, dword [ebp - 0x8c]
cmp ecx, dword [eax - 8]
jg 0x409e9d
push dword [ebp - 0x44]
mov dword [eax - 0xc], ecx
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
call fcn.0055a7b0
mov eax, dword [ebp - 0x44]
add esp, 0xc
xor edx, edx
test eax, eax
je 0x409cdb
mov ebx, dword [ebp - 0x10]
mov esi, edx
mov edi, eax
mov al, byte [esi + 0x5c6320]
xor ecx, ecx
xor byte [edx + ebx], al
inc edx
cmp esi, 0x17
lea eax, [esi + 1]
cmovne ecx, eax
mov esi, ecx
cmp edx, edi
jb 0x409cb4
mov esi, dword [ebp - 0x20]
or ebx, 0xffffffff
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
add eax, 0x315e4
mov dword [ebp - 0x14], eax
not al
mov cl, byte [ebp - 0x13]
xor cl, al
mov byte [ebp - 0x14], al
mov al, byte [ebp - 0x12]
xor al, cl
mov byte [ebp - 0x13], cl
xor byte [ebp - 0x11], al
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x14]
push 0
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xbc]
push eax
push 4
lea eax, [ebp - 0xb8]
push eax
push dword [0x5ea80c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x409d42
push 0
lea ecx, [ebp - 0xc0]
push ecx
push eax
push dword [ebp - 0x10]
push dword [0x5ea80c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x18]
push eax
call fcn.0055d993
push dword [ebp - 0x10]
call fcn.0055d993
mov byte [ebp - 4], 0xd
add esp, 8
mov edx, dword [ebp - 0x48]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409d74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x8c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409d91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x90]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409db6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x409db6
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x40], 0
jne 0x409463
mov eax, dword [ebp - 0x574]
test eax, eax
je 0x409ddb
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x574], 0
mov edx, dword [ebp - 0xd0]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409df8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409e12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x409e29
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x409e40
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409e5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409e74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x409e8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004027e0
push 0x80004005
call fcn.004027e0
push 0x80004005
call fcn.004027e0
push 0x80004005
call fcn.004027e0
int3