Function at 0x415840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
call fcn.0040cff0
xor ebx, ebx
push ebx
push 0x80
push 0x40000
mov ecx, esi
call fcn.00422474
mov ecx, esi
call fcn.00416510
mov dword [esp + 0x40], eax
lea eax, [esi + 0xb60]
mov dword [esp + 0x2c], eax
movzx eax, word [eax]
xor ecx, ecx
cmp cx, ax
je 0x415b9f
lea ecx, [esi + 0x760]
xor edx, edx
mov dword [esp + 0x20], ecx
cmp dx, word [ecx]
je 0x415b9f
push ebx
push ebx
mov eax, 3
push ebx
push ecx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x88], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ebx
mov ecx, dword [0x48139c]
push 0x90
call fcn.0040bf10
mov ecx, dword [0x48139c]
add esp, 8
push eax
push ebx
push 1
push 0x8f
call fcn.0040bf10
add esp, 4
push eax
call fcn.0040d100
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], ebx
mov ebx, 0x46db48
lea edi, [esp + 0x58]
call fcn.00409630
mov ecx, edi
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004168f0
lea edx, [esp + 0x44]
push edx
mov eax, edi
push eax
lea eax, [esp + 0x2c]
call fcn.0040bd70
mov edi, esi
add esp, 8
lea esi, [edi + 0xf64]
push 5
mov ecx, esi
mov ebx, eax
call fcn.0042256b
push 1
push 0x50
push 0x4b
push 0x43
push 0xf
mov ecx, esi
call fcn.0042252b
push ebx
call fcn.0040f370
push 0
push 0x46adb4
lea ecx, [esi + 0x54]
call fcn.004042e0
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea esi, [edi + 0x100c]
push 5
mov ecx, esi
call fcn.0042256b
mov ecx, dword [esp + 0x10]
add ecx, 0x64
add dword [esp + 0x14], 0x30
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
sub eax, 0x14
push 1
mov edx, 0x3f
sub edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0x3f
call fcn.0042252b
lea eax, [edi + 0x2e0]
lea ecx, [esi + 0x54]
test eax, eax
jne 0x415a00
xor edx, edx
jmp 0x415a21
mov edx, eax
lea ebx, [edx + 2]
mov dword [esp + 0x24], ebx
lea esp, [esp]
mov bx, word [edx]
add edx, 2
test bx, bx
jne 0x415a10
sub edx, dword [esp + 0x24]
sar edx, 1
push edx
push eax
call fcn.004042e0
mov ecx, dword [esi + 0x20]
mov ebx, 1
push ebx
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push pe_nt_image_headers32
mov dword [edi + 0x1080], 0x432b13
mov dword [edi + 0x1068], 0x2bc
push 0
mov ecx, esi
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], 0
call fcn.00422448
mov dword [esi + 0x80], ebx
mov ebx, dword [esp + 0x20]
push 0x46db60
xor edx, edx
push 0x200
mov dword [esi + 0x78], 0xeb7a16
push ebx
mov word [edi + 0x7cc], dx
call fcn.00445516
add dword [esp + 0x20], 0x14
add dword [esp + 0x24], 4
add dword [esp + 0x28], 0x12
add esp, 0xc
lea esi, [edi + 0x10b4]
push 5
mov ecx, esi
call fcn.0042256b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.0042252b
lea ecx, [esi + 0x54]
test ebx, ebx
jne 0x415adf
xor eax, eax
jmp 0x415b01
mov eax, ebx
lea edx, [eax + 2]
mov dword [esp + 0x20], edx
jmp 0x415af0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x415af0
sub eax, dword [esp + 0x20]
sar eax, 1
push eax
push ebx
call fcn.004042e0
mov eax, dword [esi + 0x20]
mov ebx, 1
push ebx
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push pe_nt_image_headers32
mov dword [edi + 0x1128], 0x2e271e
push 0
mov ecx, esi
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], 0
call fcn.00422448
push ebx
push 0xd
push 0x2a
mov dword [esi + 0x78], 0xeb7a16
mov dword [esi + 0x80], ebx
push 0xa8
lea esi, [edi + 0x115c]
push 0xc3
mov ecx, esi
call fcn.0042252b
push 0
push pe_nt_image_headers32
mov dword [edi + 0x11d0], 0x2e271e
push 0
mov ecx, esi
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], 0
call fcn.00422448
mov dword [esi + 0x78], 0xeb7a16
mov dword [esi + 0x80], ebx
mov esi, edi
jmp 0x415f61
xor ecx, ecx
cmp cx, ax
jne 0x415e0a
push ebx
push ebx
mov eax, 3
push ebx
push ecx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x88], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ebx
mov ecx, dword [0x48139c]
push 0x90
call fcn.0040bf10
mov ecx, dword [0x48139c]
add esp, 8
push eax
push ebx
push 1
push 0x93
call fcn.0040bf10
add esp, 4
push eax
call fcn.0040d100
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
lea edi, [esi + 0x100c]
push 5
mov ecx, edi
call fcn.0042256b
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, 0x2d
push 1
mov ecx, 0x3c
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0x3c
call fcn.0042252b
lea eax, [esi + 0x2e0]
cmp eax, ebx
jne 0x415c68
xor ecx, ecx
jmp 0x415c82
mov ecx, eax
lea edx, [ecx + 2]
mov dword [esp + 0x20], edx
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x415c71
sub ecx, dword [esp + 0x20]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x54]
call fcn.004042e0
mov eax, dword [edi + 0x20]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push pe_nt_image_headers32
mov dword [esi + 0x1080], 0x432b13
mov dword [esi + 0x1068], 0x2bc
push ebx
mov ecx, edi
mov dword [edi + 0x64], 1
mov dword [edi + 0x68], ebx
call fcn.00422448
push 0x46db60
lea eax, [esi + 0x760]
xor ecx, ecx
push 0x200
mov dword [edi + 0x78], 0xeb7a16
mov dword [edi + 0x80], 1
push eax
mov word [esi + 0x7ee], cx
call fcn.00445516
add dword [esp + 0x20], 0x14
sub dword [esp + 0x24], 0x10
add esp, 0xc
mov eax, 0x12
add dword [esp + 0x10], eax
add dword [esp + 0x1c], eax
lea edi, [esi + 0x10b4]
push 5
mov ecx, edi
call fcn.0042256b
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, edi
call fcn.0042252b
lea eax, [esi + 0x760]
lea ecx, [edi + 0x54]
cmp eax, ebx
jne 0x415d50
xor eax, eax
jmp 0x415d68
lea edx, [eax + 2]
mov dword [esp + 0x20], edx
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x415d57
sub eax, dword [esp + 0x20]
sar eax, 1
push eax
lea eax, [esi + 0x760]
push eax
call fcn.004042e0
mov eax, dword [edi + 0x20]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push pe_nt_image_headers32
mov dword [esi + 0x1128], 0x2e271e
push ebx
mov ecx, edi
mov dword [edi + 0x64], 1
mov dword [edi + 0x68], ebx
call fcn.00422448
push 1
push 0xd
push 0x2a
mov dword [edi + 0x78], 0xeb7a16
mov dword [edi + 0x80], 1
push 0x91
lea edi, [esi + 0x115c]
push 0xc3
mov ecx, edi
call fcn.0042252b
push ebx
push pe_nt_image_headers32
mov dword [esi + 0x11d0], 0x2e271e
push ebx
mov ecx, edi
mov dword [edi + 0x64], 1
mov dword [edi + 0x68], ebx
call fcn.00422448
mov dword [edi + 0x78], 0xeb7a16
mov dword [edi + 0x80], 1
jmp 0x415f63
mov edi, dword [esi + 0x20]
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor eax, 0x80000
push eax
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 0x20]
push 1
push ebx
push 0xff00ff
push ecx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push ebx
push ebx
push ebx
push ecx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], 1
mov dword [esi + 0x84], ebx
mov ecx, dword [0x48139c]
push 0x91
call fcn.0040bf10
mov ecx, dword [0x48139c]
add esp, 8
push eax
push ebx
push 1
push 0x92
call fcn.0040bf10
add esp, 4
push eax
call fcn.0040d100
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov ebx, 0x46db48
lea edi, [esp + 0x58]
call fcn.00409630
mov ecx, dword [esp + 0x2c]
mov eax, edi
push eax
call fcn.004168f0
lea ecx, [esp + 0x20]
push ecx
mov edx, edi
push edx
lea eax, [esp + 0x2c]
call fcn.0040bd70
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add esp, 8
add ecx, 0x16
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x18]
sub eax, 3
add esi, 0x10b4
sub edx, eax
push edx
push ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
push eax
mov ecx, esi
call fcn.0042252b
push 5
mov ecx, esi
call fcn.0042256b
push 0
push 0x46adb4
lea ecx, [esi + 0x54]
call fcn.004042e0
mov eax, dword [esi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
call fcn.0040f370
push 0
push pe_nt_image_headers32
push 0
mov ecx, esi
mov dword [esi + 0x64], 1
mov dword [esi + 0x68], 0
call fcn.00422448
mov esi, dword [esp + 0x28]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x4c]
push ecx
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, esi
cmp dword [esp + 0x40], ebx
je 0x415fae
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x38]
add edx, dword [esp + 0x54]
add eax, dword [esp + 0x50]
push 1
push ebx
push ebx
push edx
push eax
push 0x47fec0
call fcn.004227fa
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
jmp 0x415fd2
push 0x84
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004227fa
mov edx, dword [esi + 0x20]
push ebx
push 0xf020
push 0x112
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 0x20]
push ebx
push 0x2af8
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00445369
mov esp, ebp
pop ebp
ret