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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x542040]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0x14]
mov esi, ecx
mov dword [esp + 0x14], ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041bb70
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDpiForWindow]
mov dword [esp + 0x4c], eax
call ebx
mov dword [esi + 0x18], eax
test eax, eax
jne 0x41e35f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
mov dword [esi + 0x18], eax
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push eax
push 0xb
call ebx
push 0x60
push dword [esi + 0x18]
mov dword [esp + 0x1c], eax
push 0x1cc
call ebx
push 0x60
push dword [esi + 0x18]
mov dword [esp + 0x40], eax
push 0x8c
call ebx
push 0x60
push dword [esi + 0x18]
mov dword [esp + 0x48], eax
push 0x5a
call ebx
push 0x60
push dword [esi + 0x18]
push 0xc8
call ebx
push 0x60
push dword [esi + 0x18]
mov edi, eax
push 0x46
call ebx
push 0x60
push dword [esi + 0x18]
mov dword [esp + 0x4c], eax
push 0x78
call ebx
push 0x60
push dword [esi + 0x18]
mov dword [esp + 0x3c], eax
push 5
call ebx
push 0x60
push dword [esi + 0x18]
mov dword [esp + 0x34], eax
push 0x50
call ebx
push 0x60
push dword [esi + 0x18]
mov dword [esp + 0x38], eax
push 0x18
call ebx
push 0x60
push dword [esi + 0x18]
push 0x14
call ebx
push 0x60
push dword [esi + 0x18]
mov dword [esp + 0x20], eax
push 0x3c
call ebx
push 0x60
push dword [esi + 0x18]
push 0x37
call ebx
mov ebx, eax
mov eax, dword [esp + 0x38]
mov ecx, eax
mov dword [esp + 0x20], ebx
sub ecx, ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
add eax, ecx
push 0
push 0
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov eax, dword [esp + 0x1c]
push 0x3e8
push dword [esp + 0x1c]
push edi
push dword [esp + 0x38]
push eax
add eax, ebx
push eax
push 0x50010242
push 0
push 0x51c01c
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDpiForWindow]
push 0
push ecx
mov ecx, eax
call fcn.0041bfb0
add esp, 4
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x84], edi
mov ecx, edi
mov edx, dword [esi + 0x14]
call fcn.0041b7a0
lea eax, [esp + 0x4c]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x58]
sub ebx, dword [esp + 0x50]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov eax, dword [esp + 0x1c]
push 0
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x34]
push eax
push eax
push 0x50020200
push 0x51c12c
push 0x51bde8
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDpiForWindow]
push 0
push ecx
mov ecx, eax
call fcn.0041bfb0
add esp, 4
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
mov edi, dword [esi + 0xf4]
lea eax, [ecx + 5]
add eax, ebx
xor ebx, ebx
mov dword [esp + 0x20], eax
cmp edi, dword [esi + 0xf0]
je 0x41e561
nop dword [eax]
add edi, 0xffffffe8
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x41e51d
mov eax, dword [edi]
test eax, eax
je 0x41e53c
cmp word [eax], 0
je 0x41e53c
push eax
push 0xffffffffffffffff
push 0x14a
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SendMessageW]
inc ebx
cmp edi, dword [esi + 0xf0]
jne 0x41e510
test ebx, ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jle 0x41e567
push 0
push 0
push 0x14e
push dword [esi + 0x84]
call ebx
jmp 0x41e567
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x30]
push 0x50020200
push 0x51c138
push 0x51bde8
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDpiForWindow]
push 0
push ecx
mov ecx, eax
call fcn.0041bfb0
add esp, 4
push eax
push 0x30
push edi
call ebx
mov ecx, dword [esp + 0x18]
add dword [esp + 0x14], ecx
lea eax, [ecx + 5]
add eax, dword [esp + 0x20]
cmp dword [esi + 0x98], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
je 0x41e5ee
cmp dword [esi + 0x9c], 7
lea edi, [esi + 0x88]
jbe 0x41e5f3
mov edi, dword [edi]
jmp 0x41e5f3
mov edi, 0x51c0e8
cmp dword [esi + 0xb0], 0
je 0x41e617
cmp dword [esi + 0xb4], 7
lea eax, [esi + 0xa0]
mov dword [esp + 0x3c], eax
jbe 0x41e61f
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
jmp 0x41e61f
mov dword [esp + 0x3c], 0x51c0fc
cmp dword [esi + 0xc8], 0
je 0x41e643
cmp dword [esi + 0xcc], 7
lea eax, [esi + 0xb8]
mov dword [esp + 0x20], eax
jbe 0x41e64b
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x41e64b
mov dword [esp + 0x20], 0x51c108
cmp dword [esi + 0xe0], 0
je 0x41e66f
cmp dword [esi + 0xe4], 7
lea eax, [esi + 0xd0]
mov dword [esp + 0x24], eax
jbe 0x41e677
mov eax, dword [eax]
mov dword [esp + 0x24], eax
jmp 0x41e677
mov dword [esp + 0x24], 0x51c118
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [esp + 0x20]
push eax
push 0x7d0
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x48]
push ecx
push dword [esp + 0x30]
push 0x50030009
push edi
push str.button
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDpiForWindow]
push 0
push ecx
mov ecx, eax
call fcn.0041bfb0
add esp, 4
push eax
push 0x30
push edi
call ebx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x6c], edi
mov edi, dword [esp + 0x18]
add eax, edi
add dword [esp + 0x1c], eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [esp + 0x20]
push eax
push 0x7d1
push dword [esp + 0x1c]
push edi
push dword [esp + 0x48]
push ecx
push dword [esp + 0x30]
push 0x50010009
push dword [esp + 0x60]
push str.button
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDpiForWindow]
push 0
push ecx
mov ecx, eax
call fcn.0041bfb0
add esp, 4
push eax
push 0x30
push edi
call ebx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x70], edi
mov edi, dword [esp + 0x18]
add eax, edi
add dword [esp + 0x1c], eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x7d2
push dword [esp + 0x1c]
push edi
push dword [esp + 0x48]
push dword [esp + 0x34]
push dword [esp + 0x30]
push 0x50010009
push dword [esp + 0x44]
push str.button
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDpiForWindow]
push 0
push ecx
mov ecx, eax
call fcn.0041bfb0
add esp, 4
push eax
push 0x30
push edi
call ebx
push 0
push 0
mov dword [esi + 0x74], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push 0x7d3
push dword [esp + 0x1c]
push eax
push dword [esp + 0x48]
add eax, ecx
add eax, dword [esp + 0x44]
push eax
push dword [esp + 0x30]
push 0x50010009
push dword [esp + 0x48]
push str.button
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDpiForWindow]
push 0
push ecx
mov ecx, eax
call fcn.0041bfb0
add esp, 4
push eax
push 0x30
push edi
call ebx
mov ecx, dword [esp + 0x18]
mov eax, ecx
cdq
mov dword [esi + 0x78], edi
sub eax, edx
mov edi, dword [esp + 0x38]
sar eax, 1
lea ebx, [ecx*2 + 5]
sub edi, eax
add ebx, eax
sub edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
sub dword [esp + 0x28], eax
push 0
push 0
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 1
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x54]
push edi
push dword [esp + 0x44]
push 0x50010001
push 0x51c174
push str.button
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDpiForWindow]
push 0
push ecx
mov ecx, eax
call fcn.0041bfb0
add esp, 4
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov eax, dword [esp + 0x2c]
push 2
push dword [esp + 0x1c]
add eax, 5
push ebx
push dword [esp + 0x54]
add eax, ebx
mov ebx, dword [esp + 0x40]
push eax
push ebx
push 0x50010000
push 0x51c008
push str.button
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDpiForWindow]
push 0
push ecx
mov ecx, eax
call fcn.0041bfb0
add esp, 4
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
add eax, edi
mov ecx, dword [esp + 0x38]
sub ebx, dword [esp + 0x30]
push 0
mov dword [esp + 0x2c], ebx
push 0
lea ebx, [ecx + eax*2]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0xbb8
push dword [esp + 0x1c]
push edi
push dword [esp + 0x58]
push ebx
push dword [esp + 0x44]
push 0x50030009
push 0x51c17c
push str.button
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetDpiForWindow]
push 0
push ecx
mov ecx, eax
call fcn.0041bfb0
add esp, 4
push eax
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov dword [esi + 0x7c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov eax, dword [esp + 0x20]
push 0xbb9
push dword [esp + 0x1c]
push eax
push dword [esp + 0x58]
add eax, ebx
add eax, dword [esp + 0x44]
push eax
push dword [esp + 0x44]
push 0x50010009
push 0x51c188
push str.button
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push edi
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_GetDpiForWindow]
push 0
push ecx
mov ecx, eax
call fcn.0041bfb0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 4
push eax
push 0x30
push edi
call ebx
cmp word [esi + 0x26], 0
mov ecx, edi
mov dword [esi + 0x80], edi
jne 0x41e9b8
mov ecx, dword [esi + 0x7c]
movzx eax, word [esi + 0x24]
push 0
push 1
push 0xf1
push ecx
mov edi, eax
mov dword [esp + 0x40], eax
call ebx
mov eax, dword [esi + 0x6c]
test di, di
je 0x41e9f5
cmp edi, 1
jne 0x41e9e0
mov eax, dword [esi + 0x70]
jmp 0x41e9f5
cmp edi, 2
jne 0x41e9ea
mov eax, dword [esi + 0x74]
jmp 0x41e9f5
cmp word [esp + 0x30], 3
jne 0x41e9f5
mov eax, dword [esi + 0x78]
push 0
push 1
push 0xf1
push eax
call ebx
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x48]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004dadd7
mov esp, ebp
pop ebp
ret 0x10