Function at 0x4a01d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686872
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x79cac4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x74], ebx
push dword [ebx + 0x3e4]
mov esi, dword [ebx + 4]
lea edi, [ebx + 4]
mov dword [ebp - 0x7c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebx
mov dword [ebx + 0x3e8], esi
neg ecx
lea eax, [ebx + 0x34]
sbb ecx, ecx
and ecx, eax
mov dword [ebx + 0x3ec], ecx
push dword [ebx + 0x3e4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x10
mov ecx, ebx
call fcn.004a0f30
push 0x18
mov ecx, ebx
mov dword [ebx + 0x318], eax
call fcn.004a0f30
push 7
mov ecx, ebx
mov dword [ebx + 0x31c], eax
call fcn.004a0ea0
push 8
mov ecx, ebx
mov dword [ebx + 0x320], eax
call fcn.004a0ea0
push 0x14a
mov ecx, ebx
mov dword [ebx + 0x324], eax
call fcn.004a0ea0
lea esi, [ebx + 0x38]
mov dword [ebx + 0x328], eax
cmp dword [esi + 4], 0
jne 0x4a02b1
mov ecx, 4
lea eax, [esi - 0x34]
test esi, esi
push 0x3ec
cmove eax, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov ecx, esi
call fcn.004a35c0
push 0
push 0
push 0x31
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x5c
mov esi, eax
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.0064cc00
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 0x5c
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp byte [ebx + 0x308], 0
mov eax, dword [ebp - 0x70]
mov dword [ebx + 0x25c], eax
mov dword [ebx + 0x2d4], eax
jne 0x4a0383
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.004a4170
mov esi, eax
test esi, esi
je 0x4a0383
mov ecx, dword [esi + 8]
add ebx, 0x30
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x84], ebx
cmp ecx, edx
jne 0x4a036e
mov ebx, dword [esi + 4]
lea eax, [ebp - 0x80]
cmp eax, ebx
jb 0x4a0337
lea eax, [ebx + edx*4]
lea edi, [ebp - 0x80]
cmp edi, eax
jb 0x4a04ff
test edx, edx
jne 0x4a0340
lea edi, [edx + 1]
jmp 0x4a034f
lea edi, [ecx + ecx]
test edi, edi
js 0x4a0383
cmp edi, 0x1fffffff
ja 0x4a0383
push 4
push edi
push ebx
call fcn.0065e37f
add esp, 0xc
test eax, eax
je 0x4a0383
mov ecx, dword [esi + 8]
mov ebx, dword [ebp - 0x84]
mov dword [esi + 0xc], edi
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
test eax, eax
je 0x4a037d
mov dword [eax], ebx
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov esi, dword [0x7a98c8]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
call ebx
push eax
push 0xb
call ebx
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x80
push esi
call edi
push eax
mov eax, dword [ebp - 0x7c]
push 1
push 0x80
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [0x7a98c8]
push 0
push 0x32
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 0x80
push esi
call edi
mov esi, dword [ebp - 0x7c]
push eax
push 0
push 0x80
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x74]
mov ecx, edi
call fcn.004a0fe0
mov ecx, edi
call fcn.004a1b70
push ecx
mov ecx, esi
call fcn.004a3e80
push 0x130
call fcn.006113aa
add esp, 4
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0
cmp dword [edi + 0x3d8], 0
push 0
setne cl
movzx ecx, cl
push ecx
lea ecx, [edi + 0x348]
push ecx
lea ecx, [edi + 0x3dc]
push ecx
mov ecx, eax
call fcn.00489640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], 0
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0
push eax
call fcn.004a3620
mov eax, dword [ebp - 0x78]
mov dword [edi + 0x338], eax
mov esi, dword [edi + 0x33c]
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x33c], eax
mov dword [ebp - 4], 1
test esi, esi
je 0x4a04a7
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4a04a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4a04a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [edi + 0x338]
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x474300
push 0
push 0
call fcn.0065f176
add esp, 0x18
mov dword [esi + 4], eax
mov ecx, edi
call fcn.004a21a0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00611399
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0046abb0
int3