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

Disassembly:
push 0xffffffffffffffff
push 0x10008f93
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x100122f8]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100122f8]
xor eax, esp
push eax
lea eax, [esp + 0x14c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x15c]
mov edx, dword [esp + 0x164]
mov edi, ecx
mov ecx, dword [esp + 0x160]
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x78]
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x20]
push ecx
push edx
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x48], edi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [edi + 0x78]
mov eax, dword [eax + 0x20]
mov ebp, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebp
push eax
call sub.mfc90.dll_Ordinal_2592
mov ecx, dword [edi + 0x78]
xor edi, edi
mov esi, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], edi
cmp esi, edi
je 0x100062d8
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000628e
mov ecx, esi
call sub.mfc90.dll_Ordinal_2896
mov ecx, dword [esi + 0x20]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1000628e
mov edx, edi
and edx, 0xffff
cmp edx, 0xffff
je 0x1000627c
mov ebx, edi
mov dword [esp + 0x2c], 1
mov ecx, sym.RTMUI.dll_class_CLocalizationManager_g_localizationManager
call sym.RTMUI.dll_public:_unsigned_long_int___thiscall_CLocalizationManager::GetDebugFlags_void_
test al, al
jns 0x1000628e
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x20]
push 2
push eax
call ebp
push eax
call sub.mfc90.dll_Ordinal_2592
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x10006223
cmp dword [esp + 0x2c], edi
je 0x100062d8
mov ecx, dword [esp + 0x28]
push ebx
call sub.mfc90.dll_Ordinal_2899
cmp eax, edi
je 0x100062d8
mov ecx, dword [eax + 0x20]
push 5
push ecx
mov dword [esp + 0x30], eax
call ebp
push eax
call sub.mfc90.dll_Ordinal_2592
mov esi, eax
cmp esi, edi
jne 0x10006217
mov esi, dword [esp + 0x30]
push 0x1000a508
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x154], edi
mov dword [esp + 0x3c], 1
cmp ebx, edi
je 0x1000630c
push ebx
push 0x1000b058
push esi
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0xc
cmp dword [esp + 0x14], edi
je 0x1000642f
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0x190
mov dword [esp + 0x24], 0x320
call sub.mfc90.dll_Ordinal_1144
cmp eax, edi
je 0x10006353
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x7c]
call eax
cmp eax, edi
je 0x10006353
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_MapDialogRect]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov eax, 0x51eb851f
add ecx, ecx
add ecx, ecx
imul ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
sar edx, 7
mov esi, edx
add ecx, ecx
add ecx, ecx
add ecx, ecx
shr esi, 0x1f
add esi, edx
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 8
mov edi, edx
shr edi, 0x1f
lea eax, [esp + 0x18]
add edi, edx
mov edx, dword [ecx + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
xor ebx, ebx
xor ebp, ebp
test esi, esi
je 0x100063d2
test edi, edi
je 0x100063d2
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
add eax, eax
add eax, eax
cdq
idiv esi
mov ebx, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
add eax, eax
add eax, eax
add eax, eax
cdq
idiv edi
mov ebp, eax
push 0x104
lea eax, [esp + 0x48]
push 0
push eax
call sub.MSVCR90.dll_memset
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x20]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [esp + 0x40]
push ebp
push ebx
push eax
lea ecx, [esp + 0x50]
push ecx
add edx, 0x90
push str.Class:__s_nID:__d_nSize:__d_x__d_dialog_units
push edx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov eax, dword [esp + 0x48]
add esp, 0x18
jmp 0x10006431
mov eax, esi
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.10007bce
add esp, 0x144
ret 0xc