Function at 0x4205b0
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52c29b
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push 0x10
mov edi, ecx
call fcn.0050a753
add esp, 4
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jne 0x420897
push 0x30
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0050e6a0
mov edx, dword [edi + 0x10]
mov ecx, dword [0x624c94]
add esp, 0xc
push esi
push edx
mov dword [esp + 0x48], 0x30
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], 0x420420
mov dword [esp + 0x70], 0x53bf74
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
call fcn.00428b00
mov eax, dword [edi + 0x10]
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
mov ecx, dword [0x623508]
mov ebx, dword [esi + 8]
push 0
push 0
push 0
push eax
mov eax, dword [0x62350c]
sub edx, eax
sub edx, ecx
push edx
lea edx, [eax + eax]
sub ebx, edx
sub ebx, dword [esi]
push ebx
push ecx
push eax
push 0x56000000
push 0x53c010
push 0x53bf74
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0xc], eax
cmp eax, ebx
je 0x42075f
push 0x1b6c
call fcn.0050a753
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x80], ebx
cmp eax, ebx
je 0x4206c9
push edi
push eax
call fcn.00420be0
mov esi, eax
jmp 0x4206cb
xor esi, esi
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [edi + 0xc]
mov dword [edi + 0x18], esi
call fcn.00421f60
cmp dword [edi + 0x14], ebx
je 0x4206f4
lea eax, [edi + 0x121a]
push eax
push 0x7ec
jmp 0x420700
lea ecx, [edi + 0x121a]
push ecx
push 0x7e9
mov ecx, dword [edi + 0xc]
call fcn.0041c6f0
lea edx, [edi + 0x1c]
push edx
call fcn.0041e180
mov ecx, dword [edi + 0x18]
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
add esp, 4
push esi
call edx
push esi
call fcn.0050a226
add esp, 4
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push 0x420980
push ebx
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0xc]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 0xc]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
cmp dword [edi + 0x1244], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
je 0x4207f8
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
lea esp, [esp]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4207c8
lea esi, [esp + 0x24]
call fcn.004208c0
test eax, eax
jne 0x4207d9
mov ecx, esi
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
mov edx, esi
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4207d9
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [edi + 4]
push eax
push 1
call ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [edi + 0x124c]
push eax
call fcn.0041d690
cmp dword [edi + 0x1244], 1
jne 0x420790
mov eax, dword [edi + 0x1264]
mov ecx, dword [eax]
mov esi, dword [edi + 0x124c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
mov edi, edi
mov ebx, dword [edi + 0x1264]
mov eax, dword [edi + 0x124c]
test esi, esi
je 0x420824
cmp esi, eax
je 0x420829
call fcn.0050a630
cmp dword [esp + 0x18], ebx
je 0x420876
test esi, esi
jne 0x420872
call fcn.0050a630
mov edx, dword [esp + 0x18]
cmp edx, dword [esi + 0x18]
jne 0x420846
call fcn.0050a630
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
cmp dword [edi + 0xc], eax
je 0x420863
test eax, eax
je 0x420863
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [esp + 0x14]
call fcn.0041df90
mov esi, dword [esp + 0x14]
jmp 0x420810
mov esi, dword [esi]
jmp 0x420838
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov eax, dword [esp + 0x2c]
jmp 0x42089c
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0050a231
mov esp, ebp
pop ebp
ret