Function at 0x4b1900
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x55c7f7
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp + 0x250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x264]
mov edi, dword [ebp + 0x260]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], eax
call fcn.00411fd0
mov ecx, eax
test ecx, ecx
je 0x4b25b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 1
or esi, 0xffffffff
cmp dword [edi + 4], 0
jle 0x4b1995
lea eax, [ebp - 0x60]
mov ecx, ebx
push eax
call fcn.004b1800
mov ebx, eax
test ebx, ebx
jne 0x4b256a
mov ebx, dword [ebp - 0x18]
call fcn.00411fd0
mov ecx, eax
test ecx, ecx
je 0x4b25ba
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 4
call fcn.00411fd0
mov ecx, eax
test ecx, ecx
je 0x4b25c4
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 6
cmp byte [ebp + 0x268], 0
jne 0x4b1b46
lea edx, [ebx + 0x60]
lea ecx, [ebp - 0x14]
call fcn.00493aa0
mov byte [ebp - 4], 7
lea ebx, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x4b1a3e
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x4b1a2f
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4b1a2f
call fcn.0040a1d0
mov dword [ebp - 0x24], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4b1a27
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
lea esi, [eax + 0x10]
mov dword [ebp - 0x40], esi
jmp 0x4b1a3e
push dword [edx - 0xc]
lea ecx, [ebp - 0x40]
push edx
call fcn.004126c0
mov esi, dword [ebp - 0x40]
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b1a5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi - 0xc]
test eax, eax
jle 0x4b1a88
lea ecx, [eax - 1]
test ecx, ecx
js 0x4b25ce
cmp ecx, eax
jg 0x4b25ce
cmp word [esi + ecx*2], 0x5c
je 0x4b1a88
push 0x5c
lea ecx, [ebp - 0x40]
call fcn.00492b30
mov ebx, dword [ebp - 0x18]
lea esi, [edi - 0x10]
mov edx, dword [ebx + 0x68]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x4b1adc
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4b1acd
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4b1acd
call fcn.0040a1d0
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4b1ac2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea edi, [ebx + 0x10]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edi
jmp 0x4b1adc
push dword [edx - 0xc]
lea ecx, [ebp - 0x20]
push edx
call fcn.004126c0
mov edi, dword [ebp - 0x20]
mov eax, dword [edi - 0xc]
test eax, eax
jle 0x4b1b07
lea ecx, [eax - 1]
test ecx, ecx
js 0x4b25ce
cmp ecx, eax
jg 0x4b25ce
cmp word [edi + ecx*2], 0x5c
je 0x4b1b07
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00492b30
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.004b2720
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00416df0
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b1b43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x74]
mov dword [ebp - 0x54], eax
call fcn.00411fd0
mov ecx, eax
test ecx, ecx
je 0x4b25d8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0x57dd34
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], 0
cmp dword [ecx + 4], 0
jle 0x4b2258
nop dword [eax]
push 0x260
call fcn.00521500
mov esi, eax
mov dword [ebp - 0x8c], esi
mov byte [ebp - 4], 0x12
push 0x260
push 0
push esi
call fcn.00523880
add esp, 0x10
mov dword [esi], 0xffffffff
lea ecx, [esi + 0x10]
mov byte [esi + 8], 1
call fcn.004d0600
mov byte [ebp - 4], 0x13
lea ebx, [esi + 0x258]
mov dword [esi + 0x250], 0
mov dword [esi + 0x254], 0
mov dword [ebp - 0x58], ebx
call fcn.00411fd0
mov ecx, eax
test ecx, ecx
je 0x4b25b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
cmp ecx, ebx
jne 0x4b1cab
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x84]
cmp eax, edx
jb 0x4b1c71
lea eax, [edx + ebx*4]
lea edx, [ebp - 0x84]
cmp edx, eax
mov edx, dword [ebp - 0x34]
jb 0x4b25b0
test ebx, ebx
jne 0x4b1c7c
mov ebx, 1
jmp 0x4b1c8b
lea ebx, [ecx + ecx]
test ebx, ebx
js 0x4b1ccc
cmp ebx, 0x1fffffff
ja 0x4b1ccc
push 4
push ebx
push edx
call fcn.00529406
add esp, 0xc
test eax, eax
je 0x4b1ca6
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ebx
jmp 0x4b1cae
mov ecx, dword [ebp - 0x30]
jmp 0x4b1cc9
mov eax, dword [ebp - 0x34]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x4b1cbe
mov dword [eax], esi
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
test eax, eax
js 0x4b25e2
cmp eax, ecx
jge 0x4b25e2
lea ebx, [eax*4]
mov eax, dword [ebx + edx]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
lea ecx, [eax + 0x10]
mov dword [ebp - 0x24], ecx
mov cl, byte [ebp + 0x268]
mov byte [eax + 8], cl
lea eax, [ebp - 0x60]
push eax
call fcn.004d07a0
test al, al
je 0x4b2308
call fcn.00411fd0
mov ecx, eax
test ecx, ecx
je 0x4b25b0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0x1b
cmp byte [ebp + 0x268], 0
je 0x4b1f34
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 4]
jge 0x4b25e2
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + ebx]
mov dword [edx], eax
mov eax, dword [ebp - 0x3c]
cmp ecx, dword [eax + 4]
jge 0x4b25e2
mov eax, dword [eax]
mov eax, dword [ebx + eax]
test eax, eax
js 0x4b25e2
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x7c]
cmp eax, edx
jge 0x4b25e2
mov ebx, dword [ecx + 0x78]
mov ecx, eax
shl ecx, 5
add ecx, ebx
mov dword [ebp - 0x28], ecx
test eax, eax
js 0x4b25e2
cmp eax, edx
jge 0x4b25e2
mov edx, dword [ebp - 0x10]
shl eax, 5
mov eax, dword [eax + ebx + 8]
shr eax, 1
and eax, 0xffffff01
mov dword [ebp - 0x64], eax
mov eax, dword [ecx]
mov dword [edx + 4], eax
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x44], ebx
lea eax, [ebx - 4]
cmp eax, 6
ja case.0x4b1dc5.6
movzx eax, byte [eax + 0x4b25f8]
jmp dword [eax*4 + 0x4b25f0]
mov edx, dword [ebp - 0x18]
add edx, 0x70
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
jne 0x4b1de0
mov edx, dword [ebp - 0x18]
add edx, 0x68
lea eax, [ecx + 0x18]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00490be0
add esp, 4
mov byte [ebp - 4], 0x1c
cmp ebx, 9
je 0x4b1dfd
cmp ebx, 0xa
jne 0x4b1e62
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4c]
add edx, 0x258
mov dword [ebp - 0x14], edx
mov ebx, dword [edx]
lea ecx, [eax - 0x10]
sub ebx, 0x10
cmp ecx, ebx
je 0x4b1e62
cmp dword [ebx + 0xc], 0
jl 0x4b1e57
mov edx, dword [ecx]
cmp edx, dword [ebx]
jne 0x4b1e54
call fcn.0040a1d0
mov dword [ebp - 0x14], eax
or ecx, 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b1e43
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx + 0x258], eax
jmp 0x4b1e62
mov edx, dword [ebp - 0x14]
push dword [eax - 0xc]
mov ecx, edx
push eax
call fcn.004126c0
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x88]
call fcn.00493aa0
mov byte [ebp - 4], 0x1d
lea ebx, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x4b1ec5
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x4b1eb6
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4b1eb6
call fcn.0040a1d0
mov dword [ebp - 0x14], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4b1eae
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
jmp 0x4b1ec5
push dword [edx - 0xc]
lea ecx, [ebp - 0x1c]
push edx
call fcn.004126c0
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1c
or eax, 0xffffffff
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b1ee7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x18]
xor ecx, ecx
cmp byte [ebp - 0x64], cl
cmovne ecx, ebx
lea eax, [ebx + 0xf8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x24]
push 0
push dword [eax + 0xc]
push 0
push dword [eax + 0x10]
lea eax, [ebx + 0x60]
push eax
call fcn.004d0840
test eax, eax
jne 0x4b22b2
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x4c]
jmp 0x4b21be
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
cmp eax, dword [ecx + 4]
jge 0x4b25e2
mov eax, dword [ecx]
mov eax, dword [ebx + eax]
test eax, eax
js 0x4b25e2
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x9c]
cmp eax, ecx
jge 0x4b25e2
mov edx, dword [edx + 0x98]
mov ebx, dword [edx + eax*8 + 4]
cmp ebx, 9
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x14]
je 0x4b1f80
cmp dword [ebp - 0x44], 0xa
jne 0x4b2055
test eax, eax
js 0x4b25e2
cmp eax, ecx
jge 0x4b25e2
lea ecx, [edx + eax*8]
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffc
cmp eax, 6
ja case.0x4b1fa5.6
movzx eax, byte [eax + 0x4b2608]
jmp dword [eax*4 + 0x4b2600]
mov edx, dword [ebp - 0x18]
add edx, 0x70
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
jne 0x4b1fc0
mov edx, dword [ebp - 0x18]
add edx, 0x68
push ecx
lea ecx, [ebp - 0x54]
call fcn.00490be0
add esp, 4
mov byte [ebp - 4], 0x25
mov ebx, dword [ebp - 0x10]
mov edx, dword [eax]
mov ebx, dword [ebx + 0x258]
lea ecx, [edx - 0x10]
sub ebx, 0x10
cmp ecx, ebx
je 0x4b2033
cmp dword [ebx + 0xc], 0
jl 0x4b2021
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4b2021
call fcn.0040a1d0
mov dword [ebp - 0x28], eax
lea edx, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b2013
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
add eax, 0x10
mov dword [edx + 0x258], eax
jmp 0x4b2033
mov ecx, dword [ebp - 0x10]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 0x258]
call fcn.004126c0
mov byte [ebp - 4], 0x1b
or eax, 0xffffffff
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b2052
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
cmp eax, dword [ecx + 4]
jge 0x4b25e2
mov eax, dword [ecx]
mov ecx, dword [ebx + eax]
test ecx, ecx
js 0x4b25e2
mov ebx, dword [ebp - 0x18]
cmp ecx, dword [ebx + 0x9c]
jge 0x4b25e2
mov eax, dword [ebx + 0x98]
lea edx, [ebp - 0x40]
lea eax, [eax + ecx*8]
push eax
lea ecx, [ebp - 0x50]
call fcn.00490be0
mov byte [ebp - 4], 0x27
lea eax, [ebp]
push 0x250
push 0
push eax
call fcn.00523880
add esp, 0x10
lea eax, [ebp]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x94], 0x589c6c
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0x28
xor ecx, ecx
add ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
adc edx, 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x94], 0x589c6c
test eax, eax
je 0x4b2101
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x44]
cmp eax, 6
je 0x4b2135
cmp eax, 7
je 0x4b2135
add eax, 0xfffffffc
cmp eax, 6
ja case.0x4b211d.6
movzx eax, byte [eax + 0x4b2618]
jmp dword [eax*4 + 0x4b2610]
mov eax, dword [ebx + 0x70]
lea ecx, [ebx + 0x70]
cmp dword [eax - 0xc], 0
jne 0x4b2138
lea ecx, [ebx + 0x68]
jmp 0x4b2138
lea ecx, [ebp - 0x20]
mov edx, dword [ecx]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x4b2189
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x4b217a
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4b217a
call fcn.0040a1d0
mov dword [ebp - 0x28], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4b2172
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
jmp 0x4b2189
push dword [edx - 0xc]
lea ecx, [ebp - 0x1c]
push edx
call fcn.004126c0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
lea eax, [ebx + 0xf8]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x64]
lea eax, [ebp - 0x50]
push dword [ebp - 0x14]
push 0
push 0
push eax
call fcn.004d0840
test eax, eax
jne 0x4b22bb
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x50]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b21d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebx + 0xb0]
mov dl, 1
push eax
lea ecx, [ebp - 0x1c]
call fcn.00494c80
add esp, 4
cmp byte [ebx + 0x94], 0
je 0x4b2207
cmp dword [ebp - 0x44], 6
jne 0x4b2207
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x80]
call fcn.0048f3e0
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
je 0x4b2227
push dword [ebp - 0x24]
call dword [0x5d639c]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x250], eax
mov dword [ecx + 0x254], edx
mov byte [ebp - 4], 0x11
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b2245
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ecx + 4]
jl 0x4b1bd0
mov eax, dword [ebp + 0x25c]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x9c], 0x57dd34
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xb0]
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.004d0920
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4b231a
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b240c
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x4c]
jmp 0x4b22c2
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x50]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b22da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b22f6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0xe
jmp 0x4b2431
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0xb
jmp 0x4b2431
cmp dword [ebp - 0x7c], 0
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x70], ebx
jne 0x4b2338
mov dword [ebp - 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b240c
test ebx, ebx
je 0x4b2369
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x68]
mov esi, eax
cmp esi, ecx
je 0x4b2361
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
call dword [edx + 4]
mov ecx, esi
mov dword [ebp - 0x68], ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
lea eax, [ebp - 0x48]
push eax
push 0
lea eax, [ebp - 0x80]
push eax
push 0x4cf6f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov dword [ebp - 0x5c], 0x57dd34
mov dword [ebp - 0x58], esi
mov byte [ebp - 4], 0x36
test ebx, ebx
je 0x4b239d
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4b23e0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x5c], 0x57dd34
test esi, esi
je 0x4b232d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov dword [ebp - 0x58], 0
jmp 0x4b240c
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x5c], 0x57dd34
test esi, esi
je 0x4b2401
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov dword [ebp - 0x58], 0
jmp 0x4b2407
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], 0x57dd34
test eax, eax
je 0x4b2431
push eax
call esi
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 0x39
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], 0x57dd34
test eax, eax
je 0x4b244d
push eax
call esi
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 0x38
lea eax, [ebp - 0x74]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x38
or eax, 0xffffffff
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b2476
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x80]
call fcn.0047dd80
mov byte [ebp - 4], 0x3c
xor esi, esi
mov ecx, dword [ebp - 0x30]
mov eax, ecx
mov dword [ebp - 0x54], eax
test eax, eax
jle 0x4b2502
test esi, esi
js 0x4b25e2
cmp esi, ecx
jge 0x4b25e2
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + esi*4]
mov dword [ebp - 0x58], ebx
test ebx, ebx
je 0x4b24fc
mov byte [ebp - 4], 0x3d
lea eax, [ebx + 0x258]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0x3d
mov edx, dword [eax]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b24df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x3c
lea ecx, [ebx + 0x10]
call fcn.004d06c0
push 0x260
push ebx
call fcn.005214f2
mov ecx, dword [ebp - 0x30]
add esp, 8
inc esi
cmp esi, dword [ebp - 0x54]
jl 0x4b2494
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4b251d
push eax
call fcn.005269c4
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 4
or esi, 0xffffffff
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4b2549
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b2567
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4b2589
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.005214e1
lea esp, [ebp + 0x254]
pop ebp
ret 0x10
push 0x80004005
call fcn.004126a0
push 0x80004005
call fcn.004126a0
push 0x80004005
call fcn.004126a0
push 0x80070057
call fcn.004126a0
push 0x80004005
call fcn.004126a0
push 1
push 0xc000008c
call fcn.0040db10
nop
int3