Function at 0x76b1ed78
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe5c
mov eax, dword [0x76b30340]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, 0x10
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xb38], edi
mov dword [ebp - 0xb1c], ebx
mov dword [ebp - 0xb34], ebx
mov dword [ebp - 0xb24], ebx
mov dword [ebp - 0xb30], ebx
jae 0x76b1ee19
lea eax, [esi*4 + 0x76b304b8]
mov dword [ebp - 0xb3c], eax
mov eax, dword [eax]
cmp eax, ebx
mov dword [ebp - 0xb28], eax
jne 0x76b1f536
cmp dword [0x76b30514], ebx
jne 0x76b1ee28
push 0x76b1f598
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x76b30514], eax
je 0x76b1ee19
push 0x76b1f584
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x76b31c54], eax
jne 0x76b1ee28
push dword [0x76b30514]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x76b30514], ebx
mov dword [ebp - 0xb1c], 0x80004005
jmp 0x76b1f54d
cmp dword [0x76b300f4], ebx
jne 0x76b1ee55
push ebx
push 0x76b300f4
push 0x50a
push dword [0x76b300c0]
call dword [0x76b31c54]
cmp eax, ebx
mov dword [ebp - 0xb1c], eax
jl 0x76b1f526
cmp dword [0x76b31698], ebx
jne 0x76b1eea9
push 0x76b31694
push ebx
push ebx
push 0x76b1ec96
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [0x76b31690], eax
je 0x76b1ee9d
push 0xfffffffffffffffe
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x76b304f8]
cmp eax, ebx
mov dword [0x76b31698], 1
je 0x76b1ee9d
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0x76b31690]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x76b300f8]
cmp eax, ebx
jne 0x76b1eed1
mov eax, dword [0x76b300f4]
mov ecx, dword [eax]
push 0x76b300f8
push 0x76b1f564
push eax
call dword [ecx]
mov dword [ebp - 0xb1c], eax
mov eax, dword [0x76b300f8]
cmp dword [ebp - 0xb1c], ebx
jl 0x76b1f526
mov dword [ebp - 0x6cc], 0x488
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [0x76b300f8]
mov ecx, dword [eax]
push 7
lea edx, [ebp - 0x6cc]
push edx
push esi
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
mov dword [ebp - 0xb1c], eax
jl 0x76b1f526
mov eax, dword [0x76b300f4]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0xb2c]
push edx
lea edx, [ebp - 0x6c8]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp - 0xb1c], eax
jl 0x76b1f526
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [eax]
lea edx, [ebp - 0xb20]
push edx
push 0x76b1f574
push eax
call dword [ecx]
mov dword [ebp - 0xb1c], eax
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xb1c], ebx
mov dword [ebp - 0xb2c], ebx
jl 0x76b1f50e
push 0x2e
lea eax, [ebp - 0xe58]
pop ecx
mov dword [eax + 8], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax - 4], ebx
add eax, 0x10
dec ecx
jne 0x76b1ef7c
mov eax, dword [ebp - 0xb20]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0xe5c]
push edx
push 0x76b1e77c
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0xb1c], eax
mov eax, 0x80000000
mov dword [0x76b31018], eax
mov dword [0x76b31028], eax
mov dword [0x76b31038], eax
mov dword [0x76b31048], eax
mov dword [0x76b31058], eax
mov dword [0x76b31068], eax
mov dword [0x76b31078], eax
mov dword [0x76b31088], eax
mov eax, 0x80ffff0c
mov dword [0x76b31010], ebx
mov dword [0x76b3101c], ebx
mov dword [0x76b31020], ebx
mov dword [0x76b3102c], ebx
mov dword [0x76b31030], ebx
mov dword [0x76b3103c], ebx
mov dword [0x76b31040], ebx
mov dword [0x76b3104c], ebx
mov dword [0x76b31050], ebx
mov dword [0x76b3105c], ebx
mov dword [0x76b31060], ebx
mov dword [0x76b3106c], ebx
mov dword [0x76b31070], ebx
mov dword [0x76b3107c], ebx
mov dword [0x76b31080], ebx
mov dword [0x76b3108c], ebx
mov dword [0x76b31090], ebx
mov dword [0x76b31098], eax
mov dword [0x76b3109c], ebx
mov dword [0x76b310a0], ebx
mov dword [0x76b310a8], eax
mov dword [0x76b310ac], ebx
mov dword [0x76b310b0], ebx
mov dword [0x76b310b8], eax
mov dword [0x76b310bc], ebx
mov dword [0x76b310c0], ebx
mov dword [0x76b310c8], eax
mov dword [0x76b310cc], ebx
mov dword [0x76b310d0], ebx
mov dword [0x76b310d8], eax
mov dword [0x76b310dc], ebx
mov dword [0x76b310e0], ebx
mov dword [0x76b310e8], eax
mov dword [0x76b310ec], ebx
mov dword [0x76b310f0], ebx
mov dword [0x76b310f8], eax
mov dword [0x76b310fc], ebx
mov dword [0x76b31100], ebx
mov dword [0x76b31108], eax
mov dword [0x76b3110c], ebx
mov dword [0x76b31110], ebx
mov dword [0x76b31118], eax
mov dword [0x76b3111c], ebx
mov dword [0x76b31120], ebx
mov dword [0x76b31128], eax
mov dword [0x76b3112c], ebx
mov dword [0x76b31130], ebx
mov dword [0x76b31138], eax
mov dword [0x76b3113c], ebx
mov dword [0x76b31140], ebx
mov dword [0x76b31148], eax
mov dword [0x76b3114c], ebx
mov dword [0x76b31150], ebx
mov dword [0x76b31158], eax
mov dword [0x76b3115c], ebx
mov dword [0x76b31160], ebx
mov dword [0x76b31168], eax
mov dword [0x76b3116c], ebx
mov dword [0x76b31170], ebx
mov dword [0x76b31178], eax
mov dword [0x76b3117c], ebx
mov dword [0x76b31180], ebx
mov dword [0x76b31188], eax
mov dword [0x76b31198], eax
mov dword [0x76b311a8], eax
mov dword [0x76b311b8], eax
mov dword [0x76b311c8], eax
mov dword [0x76b311d8], eax
mov dword [0x76b311e8], eax
mov dword [0x76b311f8], eax
mov dword [0x76b31208], eax
mov dword [0x76b31218], eax
mov dword [0x76b31228], eax
mov dword [0x76b31238], eax
mov dword [0x76b31248], eax
mov dword [0x76b31258], eax
mov dword [0x76b31268], eax
mov dword [0x76b31278], eax
lea eax, [ebp - 0xb30]
push eax
lea eax, [ebp - 0xb34]
push eax
lea eax, [ebp - 0xb24]
push eax
lea eax, [ebp - 0xe5c]
push eax
mov dword [0x76b3118c], ebx
mov dword [0x76b31190], ebx
mov dword [0x76b3119c], ebx
mov dword [0x76b311a0], ebx
mov dword [0x76b311ac], ebx
mov dword [0x76b311b0], ebx
mov dword [0x76b311bc], ebx
mov dword [0x76b311c0], ebx
mov dword [0x76b311cc], ebx
mov dword [0x76b311d0], ebx
mov dword [0x76b311dc], ebx
mov dword [0x76b311e0], ebx
mov dword [0x76b311ec], ebx
mov dword [0x76b311f0], ebx
mov dword [0x76b311fc], ebx
mov dword [0x76b31200], ebx
mov dword [0x76b3120c], ebx
mov dword [0x76b31210], ebx
mov dword [0x76b3121c], ebx
mov dword [0x76b31220], ebx
mov dword [0x76b3122c], ebx
mov dword [0x76b31230], ebx
mov dword [0x76b3123c], ebx
mov dword [0x76b31240], ebx
mov dword [str.8vS_], ebx
mov dword [0x76b31250], ebx
mov dword [0x76b3125c], ebx
mov dword [0x76b31260], ebx
mov dword [0x76b3126c], ebx
mov dword [str.Bb4], ebx
mov dword [0x76b3127c], ebx
call fcn.76b1e999
cmp dword [ebp - 0xb1c], ebx
jl 0x76b1f50e
mov eax, dword [ebp - 0xb20]
lea edx, [ebp - 0xb7c]
push edx
mov dword [ebp - 0xb7c], 0x18
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp - 0xb1c], eax
jl 0x76b1f50e
mov eax, dword [ebp - 0xb20]
mov ecx, dword [eax]
push 0xa
push ebx
push eax
call dword [ecx + 0x34]
cmp eax, ebx
mov dword [ebp - 0xb1c], eax
jl 0x76b1f50e
mov eax, dword [ebp - 0xb20]
mov ecx, dword [eax]
push 0x76b30ff8
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
mov dword [ebp - 0xb1c], eax
jl 0x76b1f50e
push 0x300
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0xb28], esi
je 0x76b1f4fc
xor eax, eax
mov ecx, 0xc0
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xb20]
mov dword [esi], eax
mov eax, dword [ebp - 0xb6c]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [ebp - 0xb20]
mov dword [ebp - 0xb18], 0x44c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xb20]
mov ecx, dword [eax]
lea edx, [ebp - 0xb18]
push edx
push eax
call dword [ecx + 0x3c]
cmp eax, ebx
mov dword [ebp - 0xb1c], eax
jl 0x76b1f4e6
cmp dword [0x76b30b9c], ebx
je 0x76b1f3cd
mov eax, dword [ebp - 0xb20]
xor edi, edi
inc edi
push edi
push 4
lea edx, [ebp - 0x244]
push edx
mov dword [ebp - 0x244], 0x240
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
test eax, eax
jl 0x76b1f3cd
cmp word [ebp - 0x10], 2
jne 0x76b1f3cd
cmp word [ebp - 0xe], 0xc4
jne 0x76b1f3cd
test byte [ebp - 0x6b6], 8
je 0x76b1f3cd
mov eax, dword [ebp - 0xb20]
mov ecx, dword [eax]
push edi
push 0x14
lea edx, [ebp - 0x244]
push edx
push eax
call dword [ecx + 0x38]
test eax, eax
jl 0x76b1f3cd
cmp word [ebp - 0x10], 2
jne 0x76b1f3cd
cmp word [ebp - 0xe], 0xc5
jne 0x76b1f3cd
mov dword [0x76b30bac], edi
xor eax, eax
lea edi, [esi + 0x28]
mov ecx, 0xb6
rep stosd dword es:[edi], eax
cmp dword [0x76b31078], ebx
push 0x20
mov dword [ebp - 0xb50], 0x14
mov dword [ebp - 0xb4c], 0x10
mov dword [ebp - 0xb44], 1
pop edi
je 0x76b1f40f
mov eax, dword [0x76b31074]
mov dword [ebp - 0xb48], eax
jmp 0x76b1f415
mov dword [ebp - 0xb48], edi
mov eax, dword [ebp - 0xb20]
mov ecx, dword [eax]
lea edx, [ebp - 0xb50]
push edx
push 3
push eax
call dword [ecx + 0x14]
cmp eax, ebx
mov dword [ebp - 0xb1c], eax
jl 0x76b1f43c
or dword [ebp - 0xb24], edi
jmp 0x76b1f442
mov dword [ebp - 0xb1c], ebx
mov eax, dword [ebp - 0xb04]
mov word [esi + 0x28], ax
shr eax, 0x10
mov word [esi + 0x2a], ax
push edi
lea eax, [esi + 0x2c]
push eax
push 0xbd5
push dword [0x76b300c0]
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, 0xffff
mov dword [esi + 0xa4], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 0xb30]
mov dword [esi + 0xb0], eax
mov eax, dword [ebp - 0xb34]
mov dword [esi + 0x84], eax
push 0x76b30fd0
lea eax, [esi + 0xb8]
push eax
mov dword [esi + 0x88], 0xa
mov dword [esi + 0x8c], 0x3e8
mov dword [esi + 0xac], 6
mov dword [esi + 0xb4], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0xb24]
or dword [esi + 0xa8], eax
mov edi, dword [ebp - 0xb38]
cmp edi, ebx
je 0x76b1f506
add esi, 0x28
mov ecx, 0xb6
rep movsd dword es:[edi], dword [esi]
jmp 0x76b1f506
mov dword [ebp - 0xb1c], 0x8007000e
cmp dword [ebp - 0xb1c], ebx
jge 0x76b1f526
push dword [ebp - 0xb28]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xb20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xb28]
mov ecx, dword [ebp - 0xb3c]
mov dword [ecx], eax
jmp 0x76b1f54d
cmp edi, ebx
mov dword [eax + 0x24], ebx
je 0x76b1f547
lea esi, [eax + 0x28]
mov ecx, 0xb6
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb1c], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xb1c]
pop edi
pop esi
pop ebx
call fcn.76b128c0
leave
ret 8