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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d81b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x560
push ebx
push esi
push edi
push 1
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp + 8]
call fcn.0040baf0
mov eax, dword [eax]
mov ecx, 0x5c3350
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409726
test dx, dx
je 0x409722
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409726
add eax, 4
add ecx, 4
test dx, dx
jne 0x409700
xor esi, esi
jmp 0x40972b
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40974c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x40975f
push 1
push 0x5c3350
lea ecx, [ebp + 8]
call fcn.0040c9e0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.0040c780
add eax, 0x10
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 5
call fcn.00438044
mov ecx, eax
mov byte [ebp - 4], 4
test ecx, ecx
je 0x40a1b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 8
call fcn.00438044
mov ecx, eax
mov byte [ebp - 4], 7
test ecx, ecx
je 0x40a1ba
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xb
call fcn.00438044
mov ecx, eax
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x40a1c4
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
push 3
push 0x5c4c84
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.0040c9e0
push 0x250
lea eax, [ebp - 0x568]
push 0
push eax
call fcn.0055ab60
push 0x250
lea eax, [ebp - 0x318]
push 0
push eax
call fcn.0055ab60
push 1
push 0xa
mov dword [ebp - 0xc8], 0
call fcn.00563978
add eax, 8
mov dword [ebp - 0x56c], 0
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 1
add esp, 0x1c
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x56c]
push dword [ebp - 0x2c]
call fcn.00410420
test eax, eax
je 0x40a0d0
lea eax, [ebp - 0x318]
mov ecx, 0x94
lea esi, [ebp - 0x318]
lea edi, [ebp - 0x568]
push eax
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x56c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test byte [ebp - 0x568], 0x10
mov dword [ebp - 0x48], eax
je 0x409aea
cmp word [ebp - 0x53c], 0x2e
jne 0x4098c4
mov cx, word [ebp - 0x53a]
test cx, cx
je 0x40a0c0
cmp cx, 0x2e
jne 0x4098c4
cmp word [ebp - 0x538], 0
je 0x40a0c0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x56c]
call fcn.00410610
mov byte [ebp - 4], 0x12
mov edx, dword [eax]
test edx, edx
jne 0x4098e1
xor ecx, ecx
jmp 0x4098f5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4098e6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0040c8c0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x409916
add eax, 0xfffffff8
push eax
call fcn.0055de73
add esp, 4
push 1
push 0x5c3350
lea ecx, [ebp - 0x24]
call fcn.0040c9e0
push 1
push 0xa
call fcn.00563978
add esp, 8
lea ecx, [ebp - 0x53c]
add eax, 8
lea edx, [ecx + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409940
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004106a0
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi - 8]
lea edi, [esi - 8]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x53c]
push eax
push esi
call fcn.0055acc0
add esp, 0xc
mov byte [ebp - 4], 0x13
test esi, esi
jne 0x409985
xor ecx, ecx
jmp 0x40999f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409990
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.0040c8c0
mov byte [ebp - 4], 0xd
test esi, esi
je 0x4099ba
push edi
call fcn.0055de73
add esp, 4
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, esi
je 0x409a13
mov ecx, dword [esi + 0xc]
lea edi, [esi + 0xc]
shr ecx, 0x1f
test cl, cl
jne 0x409a07
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x409a07
push edx
call fcn.0040c780
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4099ff
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 - 0x14], eax
jmp 0x409a13
push dword [edx + 4]
lea ecx, [ebp - 0x14]
push eax
call fcn.0040c8c0
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push dword [esi - 0xc]
push esi
call fcn.0040c9e0
push 1
push 0x5c3350
lea ecx, [ebp - 0x14]
call fcn.0040c9e0
push ecx
mov ebx, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp - 0x14]
lea eax, [edi - 0x10]
push eax
call fcn.0040c780
add eax, 0x10
add esp, 4
mov dword [ebx], eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x56c]
call fcn.00410610
mov ebx, dword [eax]
push ecx
mov dword [ebp - 0x30], esp
mov byte [ebp - 4], 0x16
call fcn.00438044
mov byte [ebp - 4], 0x15
test eax, eax
je 0x40a1b0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x30]
add eax, 0x10
mov dword [ecx], eax
push ebx
mov byte [ebp - 4], 0x17
call fcn.0040c270
test al, al
jne 0x409abb
test ebx, ebx
jne 0x409a9d
xor ecx, ecx
jmp 0x409ab1
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409aa2
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x30]
push ebx
call fcn.0040c8c0
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x18
call fcn.004096c0
mov byte [ebp - 4], 0xd
add esp, 8
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x409ae2
add eax, 0xfffffff8
push eax
call fcn.0055de73
add esp, 4
or ebx, 0xffffffff
jmp 0x40a0c6
xor ecx, ecx
cmp word [ebp - 0x53c], 0x2e
jne 0x409b16
mov ax, word [ebp - 0x53a]
test ax, ax
je 0x409b11
cmp ax, 0x2e
jne 0x409b16
cmp word [ebp - 0x538], cx
jne 0x409b16
mov ecx, 1
test ecx, ecx
jne 0x40a0c0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x56c]
call fcn.00410610
mov byte [ebp - 4], 0xe
mov edx, dword [eax]
test edx, edx
jne 0x409b3b
xor eax, eax
jmp 0x409b4f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409b40
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x24]
call fcn.0040c8c0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x409b6c
add eax, 0xfffffff8
push eax
call fcn.0055de73
add esp, 4
push 1
push 0xa
call fcn.00563978
add esp, 8
lea ecx, [ebp - 0x53c]
add eax, 8
lea edx, [ecx + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409b87
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004106a0
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi - 8]
lea edi, [esi - 8]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x53c]
push eax
push esi
call fcn.0055acc0
add esp, 0xc
mov byte [ebp - 4], 0xf
test esi, esi
jne 0x409bcc
xor ecx, ecx
jmp 0x409be0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409bd1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.0040c8c0
mov byte [ebp - 4], 0xd
test esi, esi
je 0x409bfb
push edi
call fcn.0055de73
add esp, 4
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
call fcn.00410c40
mov byte [ebp - 4], 0x10
mov ecx, dword [eax]
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x409c62
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x409c56
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x409c56
push edx
call fcn.0040c780
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x409c4e
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 + 0xc], eax
jmp 0x409c62
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0040c8c0
mov edx, dword [ebp - 0x44]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409c7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xb0]
call fcn.0040a1d0
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x98]
add edi, 0xfffffff0
lea ecx, [esi - 0x10]
cmp ecx, edi
je 0x409ced
mov eax, dword [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x409cde
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x409cde
push ecx
call fcn.0040c780
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 0x409cd3
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 - 0x98], eax
jmp 0x409ced
push dword [ecx + 4]
lea ecx, [ebp - 0x98]
push esi
call fcn.0040c8c0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x94]
add edi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, edi
je 0x409d4f
mov ecx, dword [edi + 0xc]
shr ecx, 0x1f
test cl, cl
jne 0x409d40
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x409d40
push edx
call fcn.0040c780
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 0x409d35
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 - 0x94], eax
jmp 0x409d4f
push dword [edx + 4]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040c8c0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea edi, [ecx - 0x10]
cmp edx, edi
je 0x409dad
mov eax, dword [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x409d9c
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x409d9c
push edx
call fcn.0040c780
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 0x409d94
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x10]
mov dword [ebp - 0x50], ecx
jmp 0x409dad
push dword [edx + 4]
lea ecx, [ebp - 0x50]
push dword [ebp - 0x24]
call fcn.0040c8c0
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xa0], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x70]
push eax
lea edx, [ebp - 0x78]
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0x80], xmm0
call fcn.0040f860
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x98]
push 1
mov eax, dword [eax - 0xc]
add eax, dword [ecx - 0xc]
lea ebx, [eax*2 + 0x48]
push ebx
mov dword [ebp - 0x4c], ebx
call fcn.00563978
mov edi, eax
push 1
push ebx
mov dword [ebp - 0x34], edi
call fcn.00563978
mov ecx, dword [ebp - 0xb0]
add esp, 0x18
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xa0]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x90]
mov dword [edi], ecx
mov ecx, dword [ebp - 0xa8]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x88]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x80]
mov dword [edi + 0x20], ecx
mov ecx, dword [ebp - 0x84]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + 0x28], ecx
mov ecx, dword [ebp - 0x7c]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x30], ecx
mov ecx, dword [ebp - 0x74]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x98]
mov dword [edi + 4], edx
mov edx, dword [ebp - 0xa4]
mov dword [edi + 0x38], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [edi + 0xc], edx
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 2
mov dword [edi + 0x40], ecx
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x10], ecx
jle 0x409ec9
push ecx
lea ecx, [ebp - 0x98]
call fcn.0040c500
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx*2 + 2]
push eax
push dword [ebp - 0x98]
lea eax, [edi + 0x44]
push eax
call fcn.0055acc0
mov eax, dword [ebp - 0x94]
add esp, 0xc
mov ecx, dword [ebp - 0x98]
cmp dword [eax - 4], 1
mov edx, dword [eax - 0xc]
mov ecx, dword [ecx - 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x28], ecx
jle 0x409f16
push edx
lea ecx, [ebp - 0x94]
call fcn.0040c500
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
lea eax, [edx*2 + 2]
push eax
mov eax, dword [ebp - 0x94]
lea ecx, [ecx + 0x23]
push eax
lea eax, [edi + ecx*2]
push eax
call fcn.0055acc0
mov eax, dword [ebp - 0x98]
add esp, 0xc
mov edx, dword [eax - 8]
lea ecx, [eax - 0x10]
mov dword [ebp - 0x10], ecx
test eax, eax
jne 0x409f4b
xor edx, edx
jmp 0x409f68
push edx
push eax
call fcn.0055e0d8
mov edx, eax
add esp, 8
test edx, edx
js 0x40a1a6
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx + 8]
jg 0x40a1a6
mov dword [ecx + 4], edx
xor ecx, ecx
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x94]
mov edx, dword [eax - 8]
lea ecx, [eax - 0x10]
mov dword [ebp - 0x28], ecx
test eax, eax
jne 0x409f91
xor edx, edx
jmp 0x409fae
push edx
push eax
call fcn.0055e0d8
mov edx, eax
add esp, 8
test edx, edx
js 0x40a1a6
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x28]
cmp edx, dword [ecx + 8]
jg 0x40a1a6
mov dword [ecx + 4], edx
xor ecx, ecx
push ebx
mov word [eax + edx*2], cx
push edi
push dword [ebp - 0x1c]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
call fcn.0055acc0
add esp, 0xc
xor edi, edi
xor edx, edx
test ebx, ebx
je 0x40a001
mov esi, dword [ebp - 0x1c]
mov al, byte [edi + 0x5c5f40]
xor ecx, ecx
xor byte [edx + esi], al
inc edx
cmp edi, 0x17
lea eax, [edi + 1]
cmovne ecx, eax
mov edi, ecx
cmp edx, ebx
jb 0x409fe3
mov esi, dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebx + 0x315e4]
mov dword [ebp - 0x18], eax
not al
mov cl, byte [ebp - 0x17]
xor cl, al
mov byte [ebp - 0x18], al
mov byte [ebp - 0x17], cl
xor cl, byte [ebp - 0x16]
xor byte [ebp - 0x15], cl
mov byte [ebp - 0x16], cl
mov eax, dword [ebp - 0x18]
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xb4]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push dword [0x5f00a4]
call edi
test ebx, ebx
je 0x40a05c
push 0
lea eax, [ebp - 0xb8]
push eax
push ebx
push dword [ebp - 0x1c]
push dword [0x5f00a4]
call edi
push dword [ebp - 0x34]
call fcn.0055de73
push dword [ebp - 0x1c]
call fcn.0055de73
mov byte [ebp - 4], 0xd
or ebx, 0xffffffff
mov edx, dword [ebp - 0x50]
add esp, 8
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a090
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a0a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a0c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40a0c3
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
cmp dword [ebp - 0x48], 0
jne 0x409860
mov eax, dword [ebp - 0x56c]
test eax, eax
je 0x40a0eb
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x56c], 0
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x40a101
add eax, 0xfffffff8
push eax
call fcn.0055de73
add esp, 4
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40a118
mov ecx, dword [edi]
push edi
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 0x40a12f
mov ecx, dword [esi]
push esi
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 0x40a149
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a163
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 0x40a17d
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 0x40a195
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.004027b0
push 0x80004005
call fcn.004027b0
push 0x80004005
call fcn.004027b0
push 0x80004005
call fcn.004027b0
int3