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

Disassembly:
sub esp, 0x284
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x1fe
push eax
mov word [esp + 0x90], ax
lea eax, [esp + 0x92]
push eax
call fcn.004b6030
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 0x32
push ebx
call ebp
push 0xba0318e2
mov edx, 0x605c111c
mov ecx, 0x554b913
mov esi, eax
call fcn.004014a6
pop ecx
mov edx, eax
mov ecx, esi
call fcn.0040bfcb
mov ecx, dword [0x521818]
lea eax, [esp + 0x88]
mov edi, 0x100
push edi
push eax
push 8
call fcn.0041c148
test eax, eax
jne 0x412885
movzx edx, word [0x516b70]
lea eax, [esp + 0x88]
push edi
push eax
xor edx, 0xc7c7
mov ecx, 0x516b72
call fcn.00415bfb
pop ecx
pop ecx
lea ecx, [esp + 0x88]
call fcn.004056c0
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 0x33
push ebx
call edi
mov ecx, dword [0x521818]
lea eax, [esp + 0x88]
push 0x100
push eax
push 9
call fcn.0041c148
test eax, eax
jne 0x4128e1
movzx edx, word [0x516c12]
lea eax, [esp + 0x88]
push 0x100
push eax
xor edx, 0xc7c7
mov ecx, 0x516c14
call fcn.00415bfb
pop ecx
pop ecx
lea ecx, [esp + 0x88]
call fcn.004056c0
push eax
push 0x34
push ebx
call edi
mov ecx, dword [0x521818]
lea eax, [esp + 0x88]
push 0x100
push eax
push 0xa
call fcn.0041c148
test eax, eax
jne 0x412937
movzx edx, word [0x516c84]
lea eax, [esp + 0x88]
push 0x100
push eax
xor edx, 0xc7c7
mov ecx, 0x516c86
call fcn.00415bfb
pop ecx
pop ecx
lea ecx, [esp + 0x88]
call fcn.004056c0
push eax
push 0x35
push ebx
call edi
lea eax, [esp + 0x78]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x20
push 0
push 0x1036
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
and dword [esp + 0x14], eax
mov edi, 0x100
mov ecx, dword [0x521818]
lea eax, [esp + 0x88]
push edi
push eax
push 0x3d
mov dword [esp + 0x1c], 7
mov dword [esp + 0x24], 0xbe
call fcn.0041c148
test eax, eax
jne 0x4129c5
movzx edx, word [0x5177f4]
lea eax, [esp + 0x88]
push edi
push eax
xor edx, 0xc7c7
mov ecx, 0x5177f6
call fcn.00415bfb
pop ecx
pop ecx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x88]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x1061
push esi
call edi
mov ecx, dword [0x521818]
lea eax, [esp + 0x88]
and dword [esp + 0x14], 0
push 0x100
push eax
push 0x3e
mov dword [esp + 0x24], 0x64
call fcn.0041c148
test eax, eax
jne 0x412a36
movzx edx, word [0x517804]
lea eax, [esp + 0x88]
push 0x100
push eax
xor edx, 0xc7c7
mov ecx, 0x517806
call fcn.00415bfb
pop ecx
pop ecx
lea eax, [esp + 0x10]
push eax
push 1
push 0x1061
push esi
call edi
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
mov ecx, dword [0x521818]
sub eax, 0x122
and dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x88]
push 0x100
push eax
push 0x3f
call fcn.0041c148
test eax, eax
jne 0x412aa2
movzx edx, word [0x517814]
lea eax, [esp + 0x88]
push 0x100
push eax
xor edx, 0xc7c7
mov ecx, 0x517816
call fcn.00415bfb
pop ecx
pop ecx
lea eax, [esp + 0x10]
push eax
push 2
push 0x1061
push esi
call edi
mov ecx, esi
call fcn.00418a16
push 0
push 0
push 0x1004
push esi
call edi
test eax, eax
jne 0x412b11
xor edi, edi
push edi
push 4
push ebx
call ebp
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push edi
push 0x36
push ebx
call ebp
push eax
call esi
push edi
push 0x37
push ebx
call ebp
push eax
call esi
push edi
push 0x38
push ebx
call ebp
push eax
call esi
push edi
push 0x33
push ebx
call ebp
push eax
call esi
push edi
push 0x34
push ebx
call ebp
push eax
call esi
push edi
push 0x35
push ebx
call ebp
push eax
call esi
jmp 0x412b37
push 2
pop eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0x102b
push esi
call edi
push 0
mov edx, esi
mov ecx, ebx
call fcn.004125b4
pop ecx
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x284
ret