Function at 0x436380
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4508c1
mov eax, dword fs:[0]
push eax
sub esp, 0x8c0
mov eax, dword [0x469744]
xor eax, esp
mov dword [esp + 0x8b8], eax
push ebx
push esi
push edi
mov eax, dword [0x469744]
xor eax, esp
push eax
lea eax, [esp + 0x8d0]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], cx
mov dword [esp + 0x8d8], ebx
xor edx, edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], dx
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8d8], 2
mov esi, dword [sym.imp.USER32.dll_SetRectEmpty]
push ecx
call esi
lea edx, [esp + 0x28]
push edx
call esi
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetDC]
push ebx
push ebx
push 0x31
mov esi, eax
push edi
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x400
lea eax, [esp + 0xc8]
push eax
mov ecx, 0x7de
mov edx, 0x46bf88
call fcn.0042de10
test al, al
je 0x4364a0
lea eax, [esp + 0xc4]
lea edx, [eax + 2]
jmp 0x436480
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x436480
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc8]
lea esi, [esp + 0x4c]
call fcn.00406550
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x4364af
lea eax, [esp + 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x400
lea ecx, [esp + 0xc8]
push ecx
mov ecx, 0x138e
mov edx, 0x46bf88
call fcn.0042de10
test al, al
je 0x436501
lea eax, [esp + 0xc4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4364e1
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc8]
lea esi, [esp + 0x4c]
call fcn.00406550
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x436510
lea eax, [esp + 0x48]
push eax
push 1
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ebx, 0x2712
nop
push 0x400
lea edx, [esp + 0xc8]
push edx
mov ecx, ebx
mov edx, 0x46bf88
call fcn.0042de10
test al, al
je 0x436598
lea eax, [esp + 0xc4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436547
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc8]
lea esi, [esp + 0x4c]
call fcn.00406550
push 0x461700
mov eax, esi
call fcn.004372d0
add esp, 4
mov eax, esi
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x88]
call fcn.00404080
push 1
mov eax, 0x45c770
mov ecx, esi
call fcn.00403640
push 0x400
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [ebx + 1]
mov edx, 0x46bf88
call fcn.0042de10
test al, al
je 0x4365ff
lea eax, [esp + 0xc4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4365c0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc8]
lea esi, [esp + 0x4c]
call fcn.00406550
mov edx, esi
push 0
push edx
or eax, 0xffffffff
lea esi, [esp + 0x6c]
call fcn.00404080
push 1
mov eax, 0x45c770
mov ecx, esi
call fcn.00403640
add ebx, 2
cmp ebx, 0x2722
jb 0x436520
push 0x486
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x7f04
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0x170
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push 0
push 0
push 0x10
push 0x10
push 0
push esi
call ebx
push 0x489
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x18], eax
push 0x400
lea eax, [esp + 0xc8]
push eax
mov ecx, 0x2710
mov edx, 0x46bf88
call fcn.0042de10
test al, al
je 0x4366a7
lea eax, [esp + 0xc4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436687
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc8]
lea esi, [esp + 0x4c]
call fcn.00406550
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x4366b6
lea eax, [esp + 0x48]
push eax
push 0x489
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push 1
push 0
push 0
push 0x10
add esi, 0x20
push esi
push 0
push ecx
call ebx
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x4366eb
lea eax, [esp + 0x48]
push 0x400
lea edx, [esp + 0x2c]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
push 0x40
push eax
push edx
push 0x10
push esi
lea ecx, [eax + 0x20]
mov eax, dword [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push 0x487
push edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esp + 0x94], 8
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], eax
jae 0x43675e
lea ecx, [esp + 0x80]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x43677e
lea eax, [esp + 0x80]
mov edx, dword [esp + 0x1c]
push 0x400
lea ecx, [esp + 0x2c]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push 0x40
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push esi
push 0
push eax
call ebx
mov esi, dword [esp + 0x30]
sub esi, dword [esp + 0x28]
push 0x488
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esp + 0x78], 8
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x18], eax
jae 0x4367e0
lea ecx, [esp + 0x64]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x4367f7
lea eax, [esp + 0x64]
mov edx, dword [esp + 0x1c]
push 0x400
lea ecx, [esp + 0x2c]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push 0x40
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esi + eax + 0x30]
push ecx
push 0
push edx
call ebx
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push 0x48a
lea edx, [ecx + eax + 0x10]
push edi
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp eax, esi
jle 0x436889
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx + 0x40]
mov dword [esp + 0x40], edx
jmp 0x436895
mov eax, dword [esp + 0x20]
lea ecx, [esi + eax + 0x40]
mov dword [esp + 0x40], ecx
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [esp + 0x28]
mov esi, eax
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x14]
push 1
push 0
push 0
push eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push esi
call ebx
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push 0
push 0xfffffffffffffff0
lea ecx, [edx + eax + 0x10]
push edi
mov dword [esp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esp + 0x9c]
push eax
push 2
push edi
mov dword [esp + 0xa8], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov esi, dword [esp + 0xa0]
mov eax, dword [esp + 0xa8]
sub eax, esi
sub eax, dword [esp + 0x40]
push 0x10
add eax, dword [esp + 0x3c]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0xb0]
sar ecx, 1
add ecx, esi
mov esi, dword [esp + 0xa8]
sub eax, esi
sub eax, dword [esp + 0x48]
mov dword [esp + 0x3c], ecx
add eax, dword [esp + 0x40]
cdq
sub eax, edx
mov edx, dword [esp + 0x48]
sar eax, 1
add eax, esi
mov dword [esp + 0x40], eax
push edx
mov edx, dword [esp + 0x48]
push edx
push eax
push ecx
xor esi, esi
push esi
push edi
call ebx
mov edi, 8
cmp dword [esp + 0x78], edi
jb 0x4369b9
mov eax, dword [esp + 0x64]
push eax
call fcn.00439c00
add esp, 4
xor ecx, ecx
mov ebx, 7
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], esi
mov word [esp + 0x64], cx
cmp dword [esp + 0x94], edi
jb 0x4369e6
mov edx, dword [esp + 0x80]
push edx
call fcn.00439c00
add esp, 4
xor eax, eax
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], esi
mov word [esp + 0x80], ax
cmp dword [esp + 0x5c], edi
jb 0x436a11
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00439c00
add esp, 4
mov ecx, dword [esp + 0x8d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8b8]
xor ecx, esp
call fcn.00438876
mov esp, ebp
pop ebp
ret