Function at 0x40ae70
Capabilities:
Access peb ldr_data
Create thread
Get ntdll base address
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463fce
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x480810]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push esi
push edi
mov eax, dword [0x480810]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
call fcn.00427a2d
push 0
push 0x46df44
mov ecx, 0x484e80
mov dword [0x484cfc], 0
mov dword [0x484d00], 0x2710
call fcn.0040a260
call fcn.0042f6af
mov esi, dword [eax + 0xc]
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0
push 0
push 0
push 0xfd
push esi
call edi
push 0
push 0
push 0
push 0
push 0xfa
push esi
mov dword [esp + 0x34], eax
call edi
push 0
push 0
push 0
push 0
push pe_nt_image_headers32
push esi
mov dword [esp + 0x30], eax
call edi
lea esi, [ebx + 0x46c]
mov ebx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], esi
call fcn.0041ccf0
mov eax, dword [esi + 0x20]
push 1
push 0
push eax
mov dword [esi + 0x90], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, 0x46e210
mov eax, esi
call fcn.0041ce80
call fcn.0042f6af
mov esi, dword [eax + 0xc]
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0
push 0
push 0
push 0xfc
push esi
call ebx
push 0
push 0
push 0
push 0
push 0xf9
push esi
mov edi, eax
call ebx
push 0
push 0
push 0
push 0
push 0xff
push esi
mov dword [esp + 0x30], eax
call ebx
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
add esi, 0x71c
mov dword [esp + 0x1c], esi
push eax
mov eax, edi
call fcn.0041ccf0
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
mov dword [esi + 0x90], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, 0x46e218
mov eax, esi
call fcn.0041ce80
call fcn.0042f6af
mov esi, dword [eax + 0xc]
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0
push 0
push 0
push 0xfe
push esi
call ebx
push 0
push 0
push 0
push 0
push 0xf6
push esi
mov edi, eax
call ebx
push 0
push 0
push 0
push 0
push 0x101
push esi
mov dword [esp + 0x2c], eax
call ebx
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
add esi, 0x9cc
push eax
mov eax, edi
mov dword [esp + 0x1c], esi
call fcn.0041ccf0
mov edx, dword [esi + 0x20]
push 1
push 0
push edx
mov dword [esi + 0x90], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, 0x46e220
mov eax, esi
call fcn.0041ce80
call fcn.0042f6af
mov esi, dword [eax + 0xc]
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0
push 0
push 0
push 0xf4
push esi
call ebx
push 0
push 0
push 0
push 0
push 0xf4
push esi
mov edi, eax
call ebx
push 0
push 0
push 0
push 0
push 0xf4
push esi
mov dword [esp + 0x2c], eax
call ebx
mov esi, dword [esp + 0x20]
add esi, 0xc7c
mov ebx, dword [esp + 0x14]
push eax
mov eax, edi
call fcn.0041ccf0
mov eax, dword [esi + 0x20]
mov edi, 1
push edi
push 0
push eax
mov dword [esi + 0x90], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov edi, 0x46e228
mov eax, esi
call fcn.0041ce80
mov ecx, dword [esp + 0x24]
push 0
call fcn.0043275f
mov ecx, dword [esp + 0x1c]
push 0
call fcn.0043275f
mov ecx, dword [esp + 0x18]
push 0
call fcn.0043275f
push 0
mov ecx, esi
call fcn.0043275f
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x18c]
mov ecx, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push ecx
call esi
mov eax, dword [ebx + 0x18c]
mov edx, dword [ebx + 0x20]
push eax
push 0
push 0x80
push edx
call esi
mov eax, dword [ebx + 0x198]
mov edx, dword [eax + 0x134]
lea ecx, [ebx + 0x198]
push 1
push ebx
call edx
push 0xa2
lea edi, [esp + 0x18]
call fcn.00401560
add esp, 4
push eax
mov ecx, 0x484dfc
mov dword [esp + 0x1fc], 0
call fcn.0040a7a0
or esi, 0xffffffff
mov dword [esp + 0x1f8], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xa3
lea edi, [esp + 0x18]
call fcn.00401560
add esp, 4
push eax
mov ecx, 0x484d54
mov dword [esp + 0x1fc], 1
call fcn.0040a7a0
mov dword [esp + 0x1f8], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xe2
lea edi, [esp + 0x18]
call fcn.00401560
add esp, 4
push eax
mov ecx, 0x484e04
mov dword [esp + 0x1fc], 2
call fcn.0040a7a0
mov dword [esp + 0x1f8], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b24b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xe3
lea edi, [esp + 0x18]
call fcn.00401560
add esp, 4
push eax
mov ecx, 0x484e08
mov dword [esp + 0x1fc], 3
call fcn.0040a7a0
mov dword [esp + 0x1f8], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b298
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x10c
lea edi, [esp + 0x18]
call fcn.00401560
add esp, 4
push eax
mov ecx, 0x484e14
mov dword [esp + 0x1fc], 4
call fcn.0040a7a0
mov dword [esp + 0x1f8], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b2e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x118
lea edi, [esp + 0x18]
call fcn.00401560
add esp, 4
push eax
mov ecx, 0x484e1c
mov dword [esp + 0x1fc], 5
call fcn.0040a7a0
mov dword [esp + 0x1f8], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b332
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x121
lea edi, [esp + 0x18]
call fcn.00401560
add esp, 4
push eax
mov ecx, 0x484e20
mov dword [esp + 0x1fc], 6
call fcn.0040a7a0
mov dword [esp + 0x1f8], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b37f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x126
lea edi, [esp + 0x18]
call fcn.00401560
add esp, 4
push eax
mov ecx, 0x484e94
mov dword [esp + 0x1fc], 7
call fcn.0040a7a0
mov dword [esp + 0x1f8], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b3cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x484dfc]
xor edi, edi
mov dword [0x484d1c], edi
cmp dword [ecx - 0xc], edi
je 0x40ba86
mov edx, dword [0x484d54]
cmp dword [edx - 0xc], edi
je 0x40ba86
mov eax, dword [0x484e04]
cmp dword [eax - 0xc], edi
je 0x40ba86
mov ecx, dword [0x484e08]
cmp dword [ecx - 0xc], edi
je 0x40ba86
push 0x46de0c
push 0x484e1c
call fcn.00408ee0
add esp, 8
test al, al
je 0x40b448
sub esp, 0x10
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
xor esi, esi
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
lea esi, [ebx + 0x74]
mov edi, ebx
call fcn.004224b0
or esi, 0xffffffff
call fcn.0040c510
lea edx, [esp + 0x54]
push edx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebx + 0x190]
call fcn.00428b1b
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov eax, dword [ebx + 0x20]
push 0
push 0x7530
push 0xcc
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 0x208]
mov edx, dword [eax + 0x134]
lea edi, [ebx + 0x208]
push ebx
push 0xb0
mov ecx, edi
call edx
push 0
mov ecx, edi
call fcn.0043275f
mov eax, dword [0x484e04]
push eax
mov ecx, ebx
mov dword [0x484d04], 0
call fcn.004326a2
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
push 0x199
push 0x21a
push 1
call edi
sub eax, 0x199
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call edi
sub eax, 0x21a
cdq
sub eax, edx
sar eax, 1
push eax
mov ecx, ebx
call fcn.00432721
mov edi, dword [ebx + 0x20]
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
call edi
mov ecx, dword [ebx + 0x20]
push 1
push 0xff
push 0xfbf9f9
push ecx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [ebx + 0xf68]
push 0x40ae30
mov dword [0x484d20], eax
push 0xfffffffffffffffc
push eax
call edi
lea edx, [esp + 0x2c]
push edx
mov dword [0x484d14], eax
call fcn.004029a0
mov dword [esp + 0x1fc], 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.apiuserid
call fcn.0040a820
mov byte [esp + 0x1fc], 9
mov eax, dword [0x484dfc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.0040a5f0
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x20]
add esp, 4
push eax
mov byte [esp + 0x204], 8
call fcn.00401760
add esp, 0xc
push eax
mov ecx, 0x484e24
mov byte [esp + 0x1fc], 0xa
call fcn.0040a7a0
mov byte [esp + 0x1f8], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b5fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.source
call fcn.0040a820
mov byte [esp + 0x1fc], 0xb
mov eax, dword [0x484dfc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.0040a5f0
add eax, 0x10
lea ecx, [esp + 0x20]
add esp, 4
mov dword [edi], eax
push ecx
mov byte [esp + 0x204], 8
call fcn.00401760
add esp, 0xc
push eax
mov ecx, 0x484e28
mov byte [esp + 0x1fc], 0xc
call fcn.0040a7a0
mov byte [esp + 0x1f8], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b683
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x484e24]
cmp dword [ecx - 0xc], 0
jne 0x40b790
mov edx, dword [0x484e28]
cmp dword [edx - 0xc], 0
jne 0x40b790
lea eax, [esp + 0x18]
push eax
call fcn.00402a90
add esp, 4
push 0x484e28
push 0x484e24
push ecx
mov byte [esp + 0x204], 0xd
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0040a5d0
call fcn.00402b80
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x484e24
call fcn.0040a5d0
push ecx
mov byte [esp + 0x200], 0xe
mov ecx, esp
mov dword [esp + 0x24], esp
push str.apiuserid
call fcn.0040a820
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x484dfc
mov byte [esp + 0x208], 0xf
call fcn.0040a5d0
mov byte [esp + 0x204], 0xd
call fcn.00401970
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x484e28
call fcn.0040a5d0
push ecx
mov byte [esp + 0x200], 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push str.source
call fcn.0040a820
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x484dfc
mov byte [esp + 0x208], 0x11
call fcn.0040a5d0
mov byte [esp + 0x204], 0xd
call fcn.00401970
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f8], 8
call fcn.0040a170
lea eax, [esp + 0x30]
push eax
push 0
push ebx
push 0x40d670
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x46df44
mov ecx, 0x484e0c
call fcn.0040a700
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Pass
mov dword [ebx + 0xf3c], 0
call fcn.0040a820
mov byte [esp + 0x1fc], 0x12
mov eax, dword [0x484dfc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.0040a5f0
add eax, 0x10
lea ecx, [esp + 0x34]
add esp, 4
mov dword [edi], eax
push ecx
mov byte [esp + 0x204], 8
call fcn.00401760
add esp, 8
mov byte [esp + 0x1fc], 0x13
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.User
call fcn.0040a820
mov byte [esp + 0x1fc], 0x14
mov eax, dword [0x484dfc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.0040a5f0
add eax, 0x10
lea edx, [esp + 0x20]
add esp, 4
mov dword [edi], eax
push edx
mov byte [esp + 0x204], 0x13
call fcn.00401760
add esp, 0xc
push eax
mov ecx, 0x484e0c
mov byte [esp + 0x1fc], 0x15
call fcn.0040a7a0
mov byte [esp + 0x1f8], 0x13
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x40b895
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebx + 0xf48]
push eax
lea eax, [esp + 0x38]
call fcn.00411bb0
mov ecx, dword [ebx + 0x20]
mov esi, 1
push esi
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x46de0c
push 0x484e08
call fcn.00408ee0
add esp, 8
test al, al
je 0x40ba24
mov edx, dword [0x484e0c]
cmp dword [edx - 0xc], 0
je 0x40b937
mov eax, dword [esp + 0x28]
cmp dword [eax - 0xc], 0
je 0x40b937
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0040a5d0
push ecx
mov byte [esp + 0x200], 0x16
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x484e0c
call fcn.0040a5d0
mov byte [esp + 0x200], 0x13
call fcn.0040bac0
test eax, eax
je 0x40b937
push esi
jmp 0x40ba3c
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x484dfc
call fcn.0040a5d0
lea eax, [esp + 0x18]
push eax
call fcn.00402ea0
add esp, 8
push eax
mov ecx, 0x484eb8
mov byte [esp + 0x1fc], 0x17
call fcn.0040a7a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f8], 0x13
call fcn.0040a170
mov ecx, dword [0x484eb8]
cmp dword [ecx - 0xc], 0
jne 0x40ba3a
lea ecx, [esp + 0x20]
call fcn.0040aa20
lea edx, [esp + 0x20]
push edx
push ecx
mov byte [esp + 0x200], 0x18
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x484dfc
call fcn.0040a5d0
push ecx
mov byte [esp + 0x204], 0x19
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x484e94
call fcn.0040a5d0
mov byte [esp + 0x204], 0x18
call fcn.00402150
add esp, 0xc
test eax, eax
je 0x40b9f5
lea eax, [esp + 0x20]
push eax
mov ecx, 0x484eb8
call fcn.0040a7a0
call fcn.00408590
test eax, eax
je 0x40ba0c
mov esi, ebx
call fcn.0040c410
lea ecx, [esp + 0x20]
call fcn.0040a170
mov esi, 1
jmp 0x40ba49
push esi
mov edi, ebx
call fcn.0040cde0
lea ecx, [esp + 0x20]
call fcn.0040a170
mov esi, 1
jmp 0x40ba49
push 0x46e278
push 0x484e08
call fcn.00408ee0
add esp, 8
test al, al
je 0x40ba5f
push 0
mov edi, ebx
mov dword [0x484d0c], esi
call fcn.0040cde0
lea ecx, [esp + 0x28]
call fcn.0040a170
lea ecx, [esp + 0x2c]
call fcn.0040a170
mov eax, esi
jmp 0x40ba9a
push 0
push 0x46e234
push 0x46e27c
mov ecx, ebx
call fcn.0042a95c
lea ecx, [esp + 0x28]
call fcn.0040a170
lea ecx, [esp + 0x2c]
call fcn.0040a170
jmp 0x40ba98
push edi
push 0x46e234
push 0x46e23c
mov ecx, ebx
call fcn.0042a95c
xor eax, eax
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.00448d99
mov esp, ebp
pop ebp
ret