Function at 0x4093d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
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.0040b760
mov ecx, 0x5c4288
mov eax, dword [eax]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409436
test dx, dx
je 0x409432
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409436
add eax, 4
add ecx, 4
test dx, dx
jne 0x409410
xor esi, esi
jmp 0x40943b
sbb esi, esi
or esi, 1
mov edx, dword [ebp - 0x10]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409458
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x40946b
push 1
push 0x5c4288
lea ecx, [ebp + 8]
call fcn.0040c2d0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.0040c100
add eax, 0x10
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
call fcn.0043623f
mov ecx, eax
test ecx, ecx
je 0x409ed0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 3
call fcn.0043623f
mov ecx, eax
test ecx, ecx
je 0x409eda
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 4
call fcn.0043623f
mov ecx, eax
test ecx, ecx
je 0x409ee4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push 3
push 0x5c5bc4
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0040c2d0
lea ecx, [ebp - 0x50]
call fcn.004356d9
push 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
push dword [ebp - 0x34]
call fcn.00435957
test eax, eax
je 0x409df6
nop
lea ecx, [ebp - 0x50]
call fcn.00435b04
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
push 0x10
mov dword [ebp - 0x6c], eax
call dword [edx + 0x38]
test eax, eax
jne 0x409c13
lea ecx, [ebp - 0x50]
call fcn.00435e91
test eax, eax
jne 0x409c13
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
call fcn.00435bfc
mov byte [ebp - 4], 7
lea ecx, [edi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x14], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x10], eax
cmp eax, ecx
je 0x4095ad
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x40959e
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40959e
push dword [ebp - 0x10]
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x409596
mov edi, dword [ebp - 0x14]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
jmp 0x4095ad
push dword [edx - 0xc]
lea ecx, [ebp - 0x1c]
push edx
call fcn.0040c1e0
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4095cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x50]
call fcn.00435bad
mov byte [ebp - 4], 8
lea ecx, [esi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x14], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x10], eax
cmp eax, ecx
je 0x40963a
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x40962b
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x40962b
push dword [ebp - 0x10]
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x409623
mov esi, dword [ebp - 0x14]
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 - 0x24], esi
jmp 0x40963a
push dword [edx - 0xc]
lea ecx, [ebp - 0x24]
push edx
call fcn.0040c1e0
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409658
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x5c]
call fcn.0040f720
mov byte [ebp - 4], 9
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov dword [ebp - 0x20], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x10], eax
lea eax, [edx - 0x10]
cmp eax, ecx
je 0x4096d3
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x1c]
jl 0x4096c7
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4096c7
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040c100
mov dword [ebp - 0x10], eax
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4096bc
mov eax, dword [ebp - 0x20]
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 0x4096d3
push dword [edx - 0xc]
lea ecx, [ebp + 0xc]
push edx
call fcn.0040c1e0
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4096f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0043623f
mov ecx, eax
test ecx, ecx
je 0x409ed0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xbc], eax
call fcn.0043623f
mov ecx, eax
test ecx, ecx
je 0x409ed0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0xb8], ebx
call fcn.0043623f
mov ecx, eax
test ecx, ecx
je 0x409ed0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0xa
lea edx, [esi - 0x10]
mov ecx, dword [ebp - 0xbc]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], ecx
cmp edx, ecx
je 0x4097b7
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x10], eax
jl 0x4097a2
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4097a2
push edx
call fcn.0040c100
mov edx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409797
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebp - 0xbc], eax
jmp 0x4097b7
push dword [esi - 0xc]
lea ecx, [ebp - 0xbc]
push esi
call fcn.0040c1e0
mov ebx, dword [ebp - 0xb8]
mov eax, dword [ebp + 0xc]
lea edx, [ebx - 0x10]
mov dword [ebp - 0x14], edx
lea ecx, [eax - 0x10]
mov dword [ebp - 0x10], ecx
cmp ecx, edx
je 0x409821
cmp dword [edx + 0xc], 0
lea ebx, [edx + 0xc]
jl 0x40980c
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x40980c
push dword [ebp - 0x10]
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x10], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x409801
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
lea ebx, [eax + 0x10]
mov dword [ebp - 0xb8], ebx
jmp 0x409821
push dword [eax - 0xc]
lea ecx, [ebp - 0xb8]
push eax
call fcn.0040c1e0
mov ebx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x74]
lea edx, [edi - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], ecx
cmp edx, ecx
je 0x409886
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x10], eax
jl 0x409874
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x409874
push edx
call fcn.0040c100
mov edx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40986c
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebp - 0x74], eax
jmp 0x409886
push dword [edi - 0xc]
lea ecx, [ebp - 0x74]
push edi
call fcn.0040c1e0
mov ebx, dword [ebp - 0xb8]
push 0
push 0x80
push 3
push 0
push 7
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0
push 0x80000000
push dword [ebp - 0x74]
movlpd qword [ebp - 0xcc], xmm0
movlpd qword [ebp - 0xd4], xmm0
movlpd qword [ebp - 0xa4], xmm0
call dword [0x589428]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x40993b
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0xec]
push ecx
lea ecx, [ebp - 0xdc]
push ecx
push eax
call dword [0x589338]
push dword [ebp - 0x10]
call dword [0x589404]
mov ecx, dword [ebp - 0xd8]
xor eax, eax
add eax, dword [ebp - 0xdc]
mov dword [ebp - 0x18], eax
adc ecx, 0
mov dword [ebp - 0x9c], eax
xor eax, eax
mov dword [ebp - 0x20], ecx
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp - 0xe0]
adc ecx, 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
jmp 0x40995f
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xbc]
push 1
mov ecx, dword [eax - 0xc]
mov eax, dword [ebx - 0xc]
add eax, ecx
lea eax, [eax*2 + 0x48]
push eax
mov dword [ebp - 0x70], eax
call fcn.0055ff89
push 1
push dword [ebp - 0x70]
mov dword [ebp - 0x2c], eax
call fcn.0055ff89
mov edx, dword [ebp - 0x2c]
add esp, 0x10
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xb4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0xac]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0xbc]
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 0xa8]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 2
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x10], ecx
jle 0x409a43
push ecx
lea ecx, [ebp - 0xbc]
call fcn.0040bf80
mov ebx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx*2 + 2]
push eax
push dword [ebp - 0xbc]
lea eax, [edx + 0x44]
push eax
call fcn.00559510
mov eax, dword [ebx - 0xc]
add esp, 0xc
cmp dword [ebx - 4], 1
mov dword [ebp - 0x10], eax
jle 0x409a7b
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040bf80
mov ebx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp - 0x10]
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebp - 0x2c]
push ebx
lea eax, [eax + ecx*2]
add eax, 0x46
push eax
call fcn.00559510
mov eax, dword [ebp - 0xbc]
push dword [eax - 8]
push eax
call fcn.0055c1a8
mov ecx, eax
add esp, 0x14
test ecx, ecx
js 0x409ec6
mov eax, dword [ebp - 0xbc]
cmp ecx, dword [eax - 8]
jg 0x409ec6
mov dword [eax - 0xc], ecx
xor edx, edx
mov word [eax + ecx*2], dx
push dword [ebx - 8]
push ebx
call fcn.0055c1a8
add esp, 8
test eax, eax
js 0x409ec6
cmp eax, dword [ebx - 8]
jg 0x409ec6
push dword [ebp - 0x70]
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
call fcn.00559510
mov eax, dword [ebp - 0x70]
add esp, 0xc
xor edx, edx
test eax, eax
je 0x409b5a
mov esi, dword [ebp - 0x30]
mov edi, edx
mov ebx, eax
nop word [eax + eax]
mov al, byte [edi + 0x5c04c8]
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 0x409b30
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x70]
add eax, 0x315e4
mov dword [ebp - 0x18], eax
not al
mov cl, byte [ebp - 0x17]
xor cl, al
mov byte [ebp - 0x18], al
mov al, byte [ebp - 0x16]
xor al, cl
mov byte [ebp - 0x17], cl
xor byte [ebp - 0x15], al
mov ecx, 0x5f46dc
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push 4
push eax
call fcn.0043986b
push dword [ebp - 0x70]
mov ecx, 0x5f46dc
push dword [ebp - 0x30]
call fcn.0043986b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0055bf43
push dword [ebp - 0x30]
call fcn.0055bf43
mov byte [ebp - 4], 6
add esp, 8
mov edx, dword [ebp - 0x74]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409bd3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409bed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xbc]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409dec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x409dec
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
push 0x10
call dword [eax + 0x38]
test eax, eax
je 0x409dec
lea ecx, [ebp - 0x50]
call fcn.00435e91
test eax, eax
jne 0x409dec
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x50]
call fcn.00435bfc
mov byte [ebp - 4], 0xb
add edi, 0xfffffff0
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x409c97
cmp dword [edi + 0xc], 0
jl 0x409c8b
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x409c8b
push edx
call fcn.0040c100
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 0x409c83
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 - 0x1c], eax
jmp 0x409c97
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040c1e0
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409cb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push 0x5c4288
lea ecx, [ebp - 0x1c]
call fcn.0040c2d0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x50]
call fcn.00435bad
mov byte [ebp - 4], 0xc
lea edi, [esi - 0x10]
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x409d28
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x409d19
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x409d19
push edx
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x409d11
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 - 0x24], esi
jmp 0x409d28
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0040c1e0
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x68]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409d46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x28]
add edi, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, edi
je 0x409d9b
cmp dword [edi + 0xc], 0
jl 0x409d8f
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x409d8f
push edx
call fcn.0040c100
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 0x409d87
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 - 0x28], eax
jmp 0x409d9b
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040c1e0
push dword [esi - 0xc]
lea ecx, [ebp - 0x28]
push esi
call fcn.0040c2d0
push 1
push 0x5c4288
lea ecx, [ebp - 0x28]
call fcn.0040c2d0
push ecx
mov edi, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
push eax
call fcn.0040c100
add eax, 0x10
mov dword [edi], eax
push esp
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call fcn.00435bfc
mov byte [ebp - 4], 6
call fcn.004093d0
mov edi, dword [ebp - 0x1c]
add esp, 8
cmp dword [ebp - 0x6c], 0
jne 0x409510
lea ecx, [ebp - 0x50]
call fcn.004358fd
lea ecx, [ebp - 0x50]
call fcn.0043587f
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409e24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x409e3f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x409e5a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409e78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409e96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x409eb5
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.00402c70
push 0x80004005
call fcn.00402c70
push 0x80004005
call fcn.00402c70
push 0x80004005
call fcn.00402c70
int3