Function at 0x530370
Capabilities:
Create thread

Disassembly:
push 0x80
mov eax, 0x56684f
call fcn.004cd176
mov edi, ecx
mov byte [edi + 0x64], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x2c
mov dword [edi + 0x40], eax
xor ebx, ebx
lea eax, [ebp - 0x88]
push ebx
push eax
call fcn.004d19ad
mov eax, dword [0x61decc]
add esp, 0xc
mov dword [ebp - 0x88], 0x20000
mov dword [ebp - 0x84], 0x5307f5
mov dword [ebp - 0x7c], 4
push 0x30
pop esi
push 0x65
push ebx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push ebx
mov dword [ebp - 0x74], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x3ceb
mov dword [ebp - 0x70], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x64], 0x5c545c
call fcn.0047ff56
test ax, ax
jne 0x53042a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x582
je 0x53042a
push ebx
push ebx
call fcn.004cea74
push ebx
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push ebx
push esi
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x18]
sub eax, dword [0x61dfc0]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [0x61dfc4]
cdq
sub eax, edx
sar esi, 1
mov ebx, eax
sar ebx, 1
call fcn.005314eb
push 0
mov byte [ebp - 0x51], al
lea eax, [ebp - 0x50]
push 0xbd5
push eax
call fcn.00531688
cmp dword [eax + 0x14], 8
jb 0x53047e
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [edi + 0x50]
mov ecx, 0x400000
push dword [0x61dfc4]
push dword [0x61dfc0]
push ebx
mov bl, byte [ebp - 0x51]
push esi
push SysReAllocString
push eax
xor eax, eax
test bl, bl
push 0x5c545c
cmovne eax, ecx
push eax
call fcn.00469feb
push 0
push 1
lea ecx, [ebp - 0x50]
mov dword [edi + 0x48], eax
call fcn.0040779d
push 0
call fcn.00531456
mov ecx, dword [0x61dfd8]
mov esi, eax
mov edx, dword [0x61dfdc]
lea eax, [ebp - 0x5c]
and dword [ebp - 0x5c], 0
push eax
mov dword [edi + 0x58], ecx
lea eax, [edi + 0xc]
mov ecx, dword [0x61dfc0]
push eax
lea eax, [ebp - 0x38]
mov dword [edi + 0x54], edx
sub ecx, edx
push eax
mov dword [edi + 0x5c], ecx
call fcn.0052ff9a
mov eax, dword [edi + 0x5c]
lea ecx, [ebp - 0x38]
xor edx, edx
cmp dword [ebp - 0x24], 8
push edx
cmovae ecx, dword [ebp - 0x38]
sub eax, dword [edi + 0x54]
push edx
push 0x64
push dword [edi + 0x48]
mov dword [ebp - 4], edx
push esi
push eax
push dword [edi + 0x58]
push dword [edi + 0x54]
push 0x50000081
push ecx
push str.STATIC
push edx
call fcn.00469feb
push 1
mov dword [edi + 0x4c], eax
call fcn.005313fc
push eax
push 0x30
push dword [edi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0xffeb3c00
push eax
lea eax, [edi + 0x6c]
push eax
push 0x5c5498
call fcn.00530b9d
lea eax, [ebp - 0x58]
push eax
lea eax, [edi + 0x70]
push eax
mov ecx, 0x5c54e0
test bl, bl
mov eax, 0x5c54b8
cmove eax, ecx
push eax
call fcn.00530b9d
xor ebx, ebx
push ebx
push 0x21
push 1
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [edi + 0x48], ebx
je 0x530423
push edi
push ebx
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [edi + 0x28], ebx
je 0x530608
push 0x2c
call fcn.00409735
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x5305c8
push ebx
push 1
mov ecx, eax
call fcn.005126d1
jmp 0x5305ca
mov eax, ebx
push eax
lea ecx, [edi + 0x30]
mov byte [ebp - 4], bl
call fcn.0051291f
lea eax, [edi + 0x44]
push eax
push ebx
push edi
push 0x530304
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x530423
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi + 0x30]
call fcn.00530183
push 0xffffffffffffffff
push eax
call fcn.00513ecc
lea ecx, [edi + 0x38]
cmp dword [ecx], ebx
je 0x53061b
call fcn.00530183
mov ecx, eax
call fcn.0051788b
push 1
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [edi + 0x48]
call fcn.00533415
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.0040779d
call fcn.004cd128
ret