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

Disassembly:
sub esp, 0x284
mov ax, word [0x4ffec0]
push ebx
push ebp
push esi
push edi
mov word [esp + 0x8c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x8e]
mov dword [esp + 0x50], 0x42a
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x500b34]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], 3
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 2
mov dword [esp + 0x38], 0x41b
mov dword [esp + 0x3c], 0x407
mov dword [esp + 0x70], 0x3f6
mov dword [esp + 0x74], 0x413
mov dword [esp + 0x78], 0x40e
mov dword [esp + 0x7c], 0x40f
mov dword [esp + 0x80], 0x410
mov dword [esp + 0x84], 0x412
mov dword [esp + 0x88], 0x401
je 0x421146
mov edx, dword [0x6dcf80]
lea ecx, [esp + 0x8c]
push 0x104
push ecx
push 0x11c
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [esp + 0x298]
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [0x500b38]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
sub ecx, ebp
add ecx, ebx
push 6
sub edx, eax
push ecx
push edx
push edi
push edi
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov edx, dword [ecx]
mov dword [esp + 0x24], edi
push edx
push esi
call ebx
mov ebp, eax
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4210a0
lea edx, [esp + 0x20]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [0x500b38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 5
push edi
add ecx, eax
push edi
push ecx
push edx
push edi
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, 4
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x42105c
mov dword [0x500b38], edi
lea edi, [esp + 0x38]
mov ebp, 2
mov eax, dword [edi]
push 5
push eax
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add edi, 4
dec ebp
jne 0x4210e2
lea ebp, [esp + 0x70]
mov dword [esp + 0x10], 7
mov edi, dword [ebp]
cmp edi, 0x40e
je 0x421116
cmp edi, 0x40f
jne 0x421126
push 0x3f6
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x421133
push 1
push edi
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x10]
add ebp, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x421103
jmp 0x4212dd
mov esi, dword [esp + 0x298]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edi
push ecx
push 0x417
push esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call ebx
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call ebp
lea edx, [esp + 0x60]
push edx
push 0x418
push esi
call ebx
push eax
call ebp
lea eax, [esp + 0x18]
push eax
push esi
call ebp
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x24]
push 6
sub ecx, edx
mov edx, dword [esp + 0x24]
sub ecx, eax
mov dword [0x500b38], eax
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push edi
push edi
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [esp + 0x50]
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov edx, dword [ecx]
mov dword [esp + 0x34], edi
push edx
push esi
call ebx
mov ebp, eax
lea eax, [esp + 0x28]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x421238
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x2c]
mov edx, dword [0x500b38]
mov ecx, dword [esp + 0x28]
push 5
push edi
sub eax, edx
push edi
push eax
push ecx
push edi
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, 4
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x4211f4
lea ebp, [esp + 0x38]
mov dword [esp + 0x10], 2
mov edx, dword [ebp]
push edi
push edx
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
add ebp, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x421278
lea ebp, [esp + 0x70]
mov dword [esp + 0x10], 7
mov eax, dword [ebp]
push edi
push eax
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x10]
add ebp, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4212a1
mov edx, dword [0x6dcf80]
lea ecx, [esp + 0x8c]
push 0x104
push ecx
push 0x11b
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x8c]
push eax
push 0x42a
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x42a
push esi
mov ecx, 0x5008c0
call fcn.00446080
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x284
ret 8