Function at 0x512b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55ed89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0x1c], edi
call fcn.0054ed65
mov dword [esi], method.CComboBox.virtual_0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 1
call fcn.00512900
mov eax, dword [0x59a620]
lea ecx, [esi + 0x90]
mov dword [ecx], eax
lea edx, [esp + 0x40]
mov byte [esp + 0x1c], 3
push edx
mov dword [esi], method.CComboBox.virtual_0
mov dword [esi + 0x8c], 4
call fcn.0054d811
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov edi, dword [esp + 0x28]
mov dword [esi + 0x88], ecx
mov dword [esi + 0x9c], eax
mov dword [esi + 0x7c], eax
mov ebp, dword [edi + 0xc]
mov eax, dword [edi + 4]
push 3
or ebx, 0x50a00040
sub ebp, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, ebp
mov ecx, dword [esp + 0x24]
imul edx, dword [esi + 0x8c]
add eax, edx
mov edx, dword [edi + 0xc]
add edx, eax
mov eax, dword [esp + 0x30]
push eax
push ecx
push edi
push ebx
mov ecx, esi
mov dword [edi + 0xc], edx
call fcn.00556370
test eax, eax
je 0x512e1b
mov eax, dword [esp + 0x3c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x512c82
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], 0
test ecx, ecx
jle 0x512c82
jmp 0x512c56
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x1c]
mov eax, dword [edx + eax*4]
push eax
push 0
push 0x143
push ecx
call ebx
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
inc eax
mov ecx, dword [edx + 8]
mov dword [esp + 0x34], eax
cmp eax, ecx
jl 0x512c52
mov eax, dword [esp + 0x24]
push 0
push 0
push 0x31
mov ecx, dword [eax + 0x1c]
push ecx
call ebx
push eax
call fcn.00554640
test eax, eax
je 0x512c9f
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x1c]
push 1
push eax
push 0x30
push edx
call ebx
mov eax, dword [esi + 0x1c]
and ebp, 0xffff
push ebp
push 0xffffffffffffffff
push 0x153
push eax
call ebx
mov eax, dword [edi + 8]
mov edx, dword [edi]
mov ecx, dword [esi + 0x1c]
sub eax, edx
push 0
push eax
push 0x160
push ecx
call ebx
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x15e
push edx
call ebx
mov eax, dword [esi + 0x90]
push eax
mov eax, dword [esi + 0x1c]
push 0xffffffffffffffff
push 0x14d
push eax
call ebx
cmp eax, 0xffffffff
jne 0x512d09
mov eax, dword [esi + 0x90]
mov ecx, esi
push eax
call fcn.00551c76
mov ecx, dword [esp + 0x2c]
and ecx, 3
cmp cl, 3
je 0x512e14
lea ebp, [esi + 0x3c]
push esi
push 0x3e9
mov ecx, ebp
call fcn.00551a79
mov ecx, esi
call fcn.00551dcc
mov edx, dword [esp + 0x44]
lea eax, [edx - 1]
cmp eax, 0x27
ja case.0x512d48.5
xor ecx, ecx
mov cl, byte [eax + 0x512e58]
jmp dword [ecx*4 + 0x512e44]
mov edx, dword [esi + 0x1c]
push 0
push 1
push 0x14f
push edx
call ebx
jmp 0x512e1b
mov edi, dword [esi + 0x90]
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x1c]
not ecx
dec ecx
push ecx
push 0xb1
push eax
call ebx
mov ecx, dword [ebp + 0x1c]
push 0
push 0
push 0xb7
push ecx
call ebx
jmp 0x512e1b
mov edi, dword [esi + 0x90]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0xffffffffffffffff
push ecx
push 0xb1
push edx
call ebx
mov eax, dword [ebp + 0x1c]
push 0
push 0
push 0xb7
push eax
jmp 0x512dfe
mov ecx, dword [ebp + 0x1c]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call ebx
mov edx, dword [ebp + 0x1c]
push 0
push 0
push 0xb7
push edx
call ebx
jmp 0x512e1b
mov eax, dword [ebp + 0x1c]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call ebx
mov ecx, dword [ebp + 0x1c]
push 0
push 0
push 0xb7
push ecx
call ebx
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 0x58]
push 0
push edx
push 0x102
push eax
call ebx
jmp 0x512e1b
mov ecx, esi
call fcn.00551dcc
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0054d724
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24