Function at 0x416690
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4945
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x14c0
call fcn.004b8b20
mov eax, dword [0x537700]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1438], ecx
xor eax, eax
push str.Globalhurry_exit_mutex
push eax
push 0x1f0001
mov dword [ebp - 0x1444], eax
mov dword [ebp - 0x1440], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov edx, dword [ebp - 0x1438]
mov esi, eax
mov dword [ebp - 0x1450], esi
mov eax, dword [edx + 0x328]
mov dword [ebp - 0x1448], eax
cmp eax, dword [edx + 0x32c]
je 0x4173e8
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x34], 0xf
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x30], ecx
mov edi, dword [eax + 0x18]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x144c], edi
cmp edi, dword [eax + 0x1c]
je 0x4173b2
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x142c], esi
cmp esi, dword [edi + 0x24]
je 0x4173a0
nop word [eax + eax]
mov al, byte [edx + 0x2e8]
mov ecx, edx
movups xmm0, xmmword [edx + 0x318]
mov byte [ebp - 0xa0], al
mov eax, dword [edx + 0x2e4]
mov dword [ebp - 0x9c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x98], eax
movzx eax, word [esi + 0x12]
movups xmmword [ebp - 0x84], xmm0
push eax
movups xmm0, xmmword [edx + 0x308]
push edi
movups xmmword [ebp - 0x94], xmm0
call fcn.0041b150
test al, al
jne 0x4167d7
movzx eax, word [esi + 0x12]
mov ecx, dword [ebp - 0x1438]
push eax
push edi
call fcn.0041aca0
test al, al
je 0x4169b4
mov ecx, dword [ebp - 0x1438]
add ecx, 0x2b0
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x4167f8
mov ax, word [esi + 0x12]
mov word [edx], ax
add dword [ecx + 4], 2
jmp 0x416802
lea eax, [esi + 0x12]
push eax
push edx
call fcn.004096c0
mov eax, dword [ebp - 0x1438]
cmp dword [eax], 1
jne 0x4169b4
mov edi, dword [ebp - 0x1438]
lea eax, [ebp - 0x1428]
mov dword [ebp - 0x143c], eax
mov esi, 0x4e21
call fcn.004b76a3
mov dword [ebp - 0xa4], 0xffffffff
mov ecx, 1
mov dword [ebp - 0x1424], eax
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [ebp + ecx*4 - 0x1424], eax
inc ecx
cmp ecx, 0x270
jb 0x416842
lea ecx, [ebp - 0x143c]
mov dword [ebp - 0x1428], 0x270
call fcn.0041faf0
mul esi
cmp eax, 0x4e21
jae 0x4168af
cmp eax, 0x310f
jae 0x4168af
mov edi, 0x4e21
nop dword [eax + eax]
lea ecx, [ebp - 0x143c]
call fcn.0041faf0
mul edi
cmp eax, 0x310f
jb 0x416890
mov edi, dword [ebp - 0x1438]
mov esi, 0x4e21
lea eax, [edx - 0x7fff8ad0]
mov ecx, edi
movzx eax, ax
push eax
push str.127.0.0.1
mov dword [ebp - 0x1440], eax
call fcn.0041b150
test al, al
jne 0x416828
mov esi, dword [ebp - 0x142c]
mov eax, dword [ebp - 0x1438]
mov edi, dword [ebp - 0x144c]
add eax, 0x2bc
mov dword [ebp - 0x143c], eax
lea ecx, [esi + 0x12]
push ecx
lea ecx, [ebp - 0x14a0]
push ecx
mov ecx, eax
call fcn.0040a540
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [ebp - 0x1494], xmm0
cmp byte [ecx + 0xd], 0
jne 0x416925
mov ax, word [esi + 0x12]
cmp ax, word [ecx + 0xe]
jae 0x4169aa
mov ecx, dword [ebp - 0x143c]
cmp dword [ecx + 4], 0xccccccc
je 0x417450
mov eax, dword [ecx]
mov dword [ebp - 0x142c], eax
mov dword [ebp - 0x1478], ecx
push 0x14
mov byte [ebp - 4], 1
mov dword [ebp - 0x1474], 0
call fcn.004b80fd
mov cx, word [esi + 0x12]
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebp - 0x1474], 0
mov word [eax + 0xe], cx
mov ecx, dword [ebp - 0x1440]
mov word [eax + 0x10], cx
mov ecx, dword [ebp - 0x142c]
push eax
push dword [ebp - 0x1490]
mov dword [eax], ecx
push dword [ebp - 0x1494]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x143c]
mov word [eax + 0xc], 0
call fcn.0041ffd0
mov eax, dword [ebp - 0x1440]
mov word [esi + 0x12], ax
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4169c0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x48]
call fcn.004049b0
mov ax, word [esi + 0x10]
mov word [ebp - 0x30], ax
movzx eax, word [esi + 0x12]
mov word [ebp - 0x2e], ax
mov ecx, dword [ebp - 0x1444]
xorps xmm0, xmm0
or ecx, 1
mov dword [ebp - 0x1488], eax
mov dword [ebp - 0x1444], ecx
mov dword [ebp - 0x1440], ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x6a]
mov eax, ecx
mov dword [ebp - 0x64], ecx
movups xmmword [ebp - 0x60], xmm0
lea ecx, [ebp - 0x1488]
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x1484], eax
mov byte [ebp - 0x1480], 0x30
mov dword [ebp - 0x147c], 0x30
call fcn.00421ea0
lea ecx, [ebp - 0x6a]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.004049b0
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
push dword [ebp - 0x38]
cmova eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push eax
push 0
call fcn.00424de0
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x1444]
or eax, 2
and eax, 0xfffffffe
mov dword [ebp - 0x1444], eax
mov dword [ebp - 0x1440], eax
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x416b00
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416af6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41744b
push ecx
push edx
call fcn.004b812d
add esp, 8
mov ecx, dword [ebp - 0x1438]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
movzx eax, byte [ecx + 0xc]
and eax, 1
add eax, ecx
cmp dword [ecx + 0x10], 0
jbe 0x416bbd
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [eax + 0xd]
call fcn.00415660
mov ecx, dword [ebp - 0x1438]
push eax
mov ecx, dword [ecx + 0x1c]
mov ecx, dword [ecx*4 + 0x4f0320]
call ecx
mov dword [ebp - 0x142c], eax
add esp, 4
mov eax, dword [ebp - 0x1438]
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
test edx, edx
je 0x416b6e
mov eax, dword [ebp - 0x142c]
lea eax, [ecx + eax*4]
jmp 0x416b71
lea eax, [ecx + edx*4]
mov eax, dword [eax]
mov dword [ebp - 0x1430], eax
test eax, eax
je 0x416bbd
nop dword [eax]
cmp dword [eax + 0x18], 0xf
lea ecx, [eax + 4]
mov edx, dword [ecx + 0x10]
jbe 0x416b8e
mov ecx, dword [ecx]
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push edx
cmova eax, dword [ebp - 0x2c]
push ecx
push dword [ebp - 0x1c]
push eax
call fcn.0040a680
add esp, 0x10
test al, al
jne 0x416bc7
mov eax, dword [ebp - 0x1430]
mov eax, dword [eax]
mov dword [ebp - 0x1430], eax
test eax, eax
jne 0x416b80
mov dword [ebp - 0x1430], 0
mov ecx, dword [ebp - 0x1438]
movzx eax, byte [ecx + 0x2c]
and eax, 1
add eax, ecx
cmp dword [ecx + 0x30], 0
jbe 0x416c6f
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [eax + 0x2d]
call fcn.00415660
mov ecx, dword [ebp - 0x1438]
push eax
mov ecx, dword [ecx + 0x3c]
mov ecx, dword [ecx*4 + 0x4f0320]
call ecx
mov dword [ebp - 0x142c], eax
add esp, 4
mov eax, dword [ebp - 0x1438]
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
test edx, edx
je 0x416c23
mov eax, dword [ebp - 0x142c]
lea eax, [ecx + eax*4]
jmp 0x416c26
lea eax, [ecx + edx*4]
mov eax, dword [eax]
mov dword [ebp - 0x143c], eax
test eax, eax
je 0x416c6f
cmp dword [eax + 0x18], 0xf
lea ecx, [eax + 4]
mov edx, dword [ecx + 0x10]
jbe 0x416c40
mov ecx, dword [ecx]
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push edx
cmova eax, dword [ebp - 0x2c]
push ecx
push dword [ebp - 0x1c]
push eax
call fcn.0040a680
add esp, 0x10
test al, al
jne 0x416c79
mov eax, dword [ebp - 0x143c]
mov eax, dword [eax]
mov dword [ebp - 0x143c], eax
test eax, eax
jne 0x416c32
mov dword [ebp - 0x143c], 0
cmp dword [esi + 0x1c], 1
jne 0x416ff9
cmp dword [ebp - 0x1430], 0
je 0x416cbb
mov ecx, dword [ebp - 0x1438]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14b0]
push eax
lea ecx, [ecx + 0xc]
call fcn.0040d2e0
lea ecx, [ebp - 0xa0]
push ecx
mov eax, dword [eax]
mov ecx, dword [eax + 0x1c]
call fcn.00434bb0
jmp 0x416ff9
push 0x1a0
call fcn.004b80fd
add esp, 4
mov dword [ebp - 0x1464], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x416d8c
mov edx, dword [ebp - 0x1438]
cmp dword [edx + 0x1b4], 0xf
lea eax, [edx + 0x1a0]
mov dword [ebp - 0x1430], eax
jbe 0x416cfd
mov eax, dword [eax]
mov dword [ebp - 0x1430], eax
mov eax, dword [ebp - 0x1448]
mov dword [ebp - 0x1434], eax
cmp dword [eax + 0x14], 0xf
jbe 0x416d17
mov eax, dword [eax]
mov dword [ebp - 0x1434], eax
movups xmm0, xmmword [edx + 0x2f8]
sub esp, 0x10
mov eax, esp
sub esp, 0x2c
mov ecx, esp
sub esp, 0x20
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x78]
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [ebp - 0x80]
movq qword [ecx + 0x20], xmm0
movups xmm0, xmmword [esi]
mov dword [ecx + 0x28], eax
mov eax, esp
mov ecx, dword [ebp - 0x1464]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [eax + 0x10], xmm0
lea eax, [edi + 0x10]
push eax
push edi
lea eax, [edx + 0x2cc]
push eax
push dword [ebp - 0x1430]
lea eax, [edx + 0x74]
push dword [ebp - 0x1434]
push eax
call fcn.00433de0
jmp 0x416d8e
xor eax, eax
mov dword [ebp - 0x1430], eax
mov dword [ebp - 0x1458], eax
mov dword [ebp - 0x1454], 0
push eax
lea ecx, [ebp - 0x1468]
mov byte [ebp - 4], 6
call fcn.00407af0
mov edx, dword [eax]
mov dword [eax], 0
mov eax, dword [ebp - 0x1468]
mov dword [ebp - 0x1434], edx
mov dword [ebp - 0x1454], edx
mov dword [ebp - 0x142c], eax
test eax, eax
je 0x416e12
or ecx, 0xffffffff
add eax, 4
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x416e12
mov ecx, dword [ebp - 0x142c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x142c]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x416e0c
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [ebp - 0x1434]
mov ecx, dword [ebp - 0x1430]
test ecx, ecx
je 0x416eea
mov eax, dword [ecx + 4]
test eax, eax
je 0x416e4b
mov eax, dword [eax + 4]
nop
mov edx, dword [ebp - 0x1454]
test eax, eax
mov eax, dword [ebp - 0x1440]
mov dword [ebp - 0x1434], edx
mov dword [ebp - 0x1444], eax
jne 0x416eea
test edx, edx
je 0x416e61
mov ecx, 1
lea eax, [edx + 4]
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x1430]
mov dword [ecx], ecx
cmp edx, dword [ecx + 4]
je 0x416eb4
test edx, edx
je 0x416e7e
mov ecx, 1
lea eax, [edx + 8]
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x1430]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x142c], eax
test eax, eax
je 0x416eb1
or edx, 0xffffffff
add eax, 8
lock xadd dword [eax], edx
cmp edx, 1
jne 0x416eab
mov ecx, dword [ebp - 0x142c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x1430]
mov edx, dword [ebp - 0x1434]
mov dword [ecx + 4], edx
test edx, edx
je 0x416eea
or ecx, 0xffffffff
lea eax, [edx + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x416eea
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov edx, dword [ebp - 0x1434]
or ecx, 0xffffffff
lea eax, [edx + 8]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x416eea
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1438]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14c0]
mov byte [ebp - 4], 7
push eax
lea ecx, [ecx + 0xc]
call fcn.0040d2e0
mov edx, dword [ebp - 0x1434]
mov ecx, dword [eax]
add ecx, 0x1c
mov dword [ebp - 0x142c], ecx
test edx, edx
je 0x416f2e
mov ecx, 1
lea eax, [edx + 4]
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x142c]
mov eax, dword [ebp - 0x1430]
mov dword [ecx], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x142c], eax
mov dword [ecx + 4], edx
test eax, eax
je 0x416f7a
or ecx, 0xffffffff
add eax, 4
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x416f7a
mov ecx, dword [ebp - 0x142c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x142c]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x416f7a
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x1430]
call fcn.00434bf0
mov eax, dword [ebp - 0x1430]
cmp byte [eax + 8], 0
jne 0x416fbb
mov ecx, dword [ebp - 0x1438]
lea eax, [esi + 0x12]
add ecx, 0x2b0
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x416fb4
mov ax, word [eax]
mov word [edx], ax
add dword [ecx + 4], 2
jmp 0x416fbb
push eax
push edx
call fcn.004096c0
mov edx, dword [ebp - 0x1434]
mov byte [ebp - 4], 4
test edx, edx
je 0x416ff9
or ecx, 0xffffffff
lea eax, [edx + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x416ff9
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x1434]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x416ff9
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [esi + 0x1c], 2
jne 0x41734a
cmp dword [ebp - 0x143c], 0
jne 0x41734a
push 0x51a8
call fcn.004b80fd
add esp, 4
mov dword [ebp - 0x146c], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4170e1
mov edx, dword [ebp - 0x1438]
cmp dword [edx + 0x1b4], 0xf
lea eax, [edx + 0x1a0]
mov dword [ebp - 0x142c], eax
jbe 0x417052
mov eax, dword [eax]
mov dword [ebp - 0x142c], eax
mov eax, dword [ebp - 0x1448]
mov dword [ebp - 0x143c], eax
cmp dword [eax + 0x14], 0xf
jbe 0x41706c
mov eax, dword [eax]
mov dword [ebp - 0x143c], eax
movups xmm0, xmmword [edx + 0x2f8]
sub esp, 0x10
mov eax, esp
sub esp, 0x2c
mov ecx, esp
sub esp, 0x20
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x78]
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [ebp - 0x80]
movq qword [ecx + 0x20], xmm0
movups xmm0, xmmword [esi]
mov dword [ecx + 0x28], eax
mov eax, esp
mov ecx, dword [ebp - 0x146c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [eax + 0x10], xmm0
lea eax, [edi + 0x10]
push eax
push edi
lea eax, [edx + 0x2cc]
push eax
push dword [ebp - 0x142c]
lea eax, [edx + 0x74]
push dword [ebp - 0x143c]
push eax
call fcn.00437120
jmp 0x4170e3
xor eax, eax
mov dword [ebp - 0x1430], eax
mov dword [ebp - 0x1460], eax
mov dword [ebp - 0x145c], 0
push eax
lea ecx, [ebp - 0x1470]
mov byte [ebp - 4], 9
call fcn.00407b90
mov edx, dword [eax]
mov dword [eax], 0
mov eax, dword [ebp - 0x1470]
mov dword [ebp - 0x1434], edx
mov dword [ebp - 0x145c], edx
mov dword [ebp - 0x142c], eax
test eax, eax
je 0x417167
or ecx, 0xffffffff
add eax, 4
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x417167
mov ecx, dword [ebp - 0x142c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x142c]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x417161
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [ebp - 0x1434]
mov ecx, dword [ebp - 0x1430]
test ecx, ecx
je 0x41723f
mov eax, dword [ecx + 4]
test eax, eax
je 0x4171a0
mov eax, dword [eax + 4]
nop
mov edx, dword [ebp - 0x145c]
test eax, eax
mov eax, dword [ebp - 0x1440]
mov dword [ebp - 0x1434], edx
mov dword [ebp - 0x1444], eax
jne 0x41723f
test edx, edx
je 0x4171b6
mov ecx, 1
lea eax, [edx + 4]
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x1430]
mov dword [ecx], ecx
cmp edx, dword [ecx + 4]
je 0x417209
test edx, edx
je 0x4171d3
mov ecx, 1
lea eax, [edx + 8]
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x1430]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x142c], eax
test eax, eax
je 0x417206
or edx, 0xffffffff
add eax, 8
lock xadd dword [eax], edx
cmp edx, 1
jne 0x417200
mov ecx, dword [ebp - 0x142c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x1430]
mov edx, dword [ebp - 0x1434]
mov dword [ecx + 4], edx
test edx, edx
je 0x41723f
or ecx, 0xffffffff
lea eax, [edx + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x41723f
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov edx, dword [ebp - 0x1434]
or ecx, 0xffffffff
lea eax, [edx + 8]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x41723f
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1438]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14d0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ecx + 0x2c]
call fcn.0040d2e0
mov edx, dword [ebp - 0x1434]
mov ecx, dword [eax]
add ecx, 0x1c
mov dword [ebp - 0x142c], ecx
test edx, edx
je 0x417283
mov ecx, 1
lea eax, [edx + 4]
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x142c]
mov eax, dword [ebp - 0x1430]
mov dword [ecx], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x142c], eax
mov dword [ecx + 4], edx
test eax, eax
je 0x4172cf
or ecx, 0xffffffff
add eax, 4
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4172cf
mov ecx, dword [ebp - 0x142c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x142c]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4172cf
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x1430]
call fcn.00438490
mov eax, dword [ebp - 0x1430]
cmp byte [eax + 8], 0
jne 0x417310
mov ecx, dword [ebp - 0x1438]
lea eax, [esi + 0x12]
add ecx, 0x2b0
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x417309
mov ax, word [eax]
mov word [edx], ax
add dword [ecx + 4], 2
jmp 0x417310
push eax
push edx
call fcn.004096c0
mov edx, dword [ebp - 0x1434]
test edx, edx
je 0x41734a
or ecx, 0xffffffff
lea eax, [edx + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x41734a
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x1434]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x41734a
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x417382
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417378
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41744b
push ecx
push edx
call fcn.004b812d
add esp, 8
mov edx, dword [ebp - 0x1438]
add esi, 0x20
mov dword [ebp - 0x142c], esi
cmp esi, dword [edi + 0x24]
jne 0x416770
mov eax, dword [ebp - 0x1448]
add edi, 0x2c
mov dword [ebp - 0x144c], edi
cmp edi, dword [eax + 0x1c]
jne 0x416753
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.00403560
mov eax, dword [ebp - 0x1448]
mov edx, dword [ebp - 0x1438]
add eax, 0x30
mov dword [ebp - 0x1448], eax
cmp eax, dword [edx + 0x32c]
jne 0x416720
mov esi, dword [ebp - 0x1450]
cmp dword [edx + 0x2ac], 0
jne 0x417420
cmp dword [edx + 0x10], 0
jne 0x4173fd
cmp dword [edx + 0x30], 0
je 0x417420
mov dword [edx + 0x2ac], 1
lea eax, [edx + 0x74]
sub esp, 8
lea ecx, [edx + 0x4c]
mov edx, esp
mov dword [edx], fcn.00428650
mov dword [edx + 4], eax
call fcn.0040bd90
test esi, esi
je 0x41742b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b847a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004be0cf
call fcn.004201e0
int3