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

Disassembly:
push 0xffffffffffffffff
push 0x57be0d
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5d480c]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d480c]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x21], 0
jge 0x52c6ff
mov esi, dword [esi + 0x44]
test esi, esi
je 0x52c6f8
push str.SetLanguageString___m_curLang_0
push esi
call fcn.00527ec0
add esp, 8
xor eax, eax
jmp 0x52cd34
call fcn.0045e1b2
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x52c71b
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x38]
sub ecx, dword [esi + 0x34]
movsx ebx, byte [esi + 0x21]
lea edi, [esi + 0x28]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0xbc], ebp
cmp ebx, ecx
jb 0x52c758
call fcn.004945e3
mov eax, dword [edi + 0xc]
lea edx, [ebx + ebx*2]
lea eax, [eax + edx*4]
push eax
lea ecx, [esi + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0041a190
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc0], 1
call fcn.0041a0d0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52c7ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x52c7c7
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.00419290
mov ecx, dword [esi + 0x40]
push ebp
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xc4], 2
call fcn.00527050
cmp dword [esp + 0x50], 8
mov bl, al
mov byte [esp + 0xbc], 0
jb 0x52c819
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00450c56
add esp, 4
test bl, bl
jne 0x52c864
mov esi, dword [esi + 0x44]
cmp esi, ebp
je 0x52c832
push str.SetLanguageString___m_pIni__Load_failed
push esi
call fcn.00527ec0
add esp, 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0xbc], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x52c85d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x52cd34
mov eax, dword [esi + 0x78]
cmp eax, ebp
je 0x52c875
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x78], ebp
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
movsx ebx, byte [esi + 0x21]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x52c898
call fcn.004945e3
mov eax, dword [edi + 0xc]
lea edx, [ebx + ebx*2]
mov ecx, dword [eax + edx*4 + 4]
mov eax, dword [ecx - 0xc]
cmp eax, ebp
je 0x52c938
push 0x5c
lea edx, [esp + 0x58]
push ebp
push edx
call fcn.00493420
movsx eax, byte [esi + 0x21]
add esp, 0xc
push eax
mov ecx, edi
call fcn.005282d0
add eax, 4
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x74]
push 0x20
push ecx
call fcn.0049650a
movsx edx, byte [esi + 0x21]
add esp, 0xc
push edx
mov ecx, edi
mov byte [esp + 0x6f], 1
call fcn.005282d0
mov eax, dword [eax + 8]
push ebp
push ebp
push ebp
push 0x58d008
mov dword [esp + 0x64], eax
call dword [sym.imp.GDI32.dll_CreateICW]
push 0x48
mov edi, eax
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [esp + 0x58]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push edi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x78], eax
call fcn.0045e1b2
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x52c952
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x581258
lea ecx, [esp + 0x28]
mov byte [esp + 0xc0], 3
call fcn.00409120
mov byte [esp + 0xbc], 4
call fcn.0045e1b2
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x52c99a
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x54]
mov byte [esp + 0xbc], 5
sar ecx, 3
mov dword [esp + 0x28], ebp
test ecx, ecx
jbe 0x52cb8f
mov edx, dword [esi + 0x58]
sub edx, dword [esi + 0x54]
sar edx, 3
cmp dword [esp + 0x28], edx
jb 0x52c9db
call fcn.004945e3
mov ebp, dword [esp + 0x28]
mov eax, dword [esi + 0x54]
add ebp, ebp
add ebp, ebp
add ebp, ebp
mov eax, dword [eax + ebp + 4]
push eax
lea ecx, [esp + 0x18]
push str.DIALOG__d
push ecx
mov dword [esp + 0x28], eax
call fcn.00404280
mov ebx, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
xor edx, edx
mov eax, ebx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
mov dword [esp + 0x48], esp
mov word [ecx + 4], dx
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x52ca26
sub eax, edi
sar eax, 1
push eax
push ebx
call fcn.00419290
mov ecx, dword [esi + 0x40]
call fcn.005195e0
mov edi, eax
test edi, edi
je 0x52cd5c
push 0xc
push str.DIALOG_TITLE
lea ecx, [esp + 0x28]
call fcn.00407240
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
mov word [ecx + 4], ax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], esp
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x52ca82
mov edx, dword [esp + 0x3c]
sub eax, ebx
sar eax, 1
push eax
push edx
call fcn.00419290
lea eax, [esp + 0x54]
push eax
mov ecx, edi
call fcn.0051bf70
cmp dword [eax + 0x18], 8
mov byte [esp + 0xbc], 6
jb 0x52cabb
mov eax, dword [eax + 4]
jmp 0x52cabe
add eax, 4
push eax
lea ecx, [esp + 0x28]
push 0x5859d4
push ecx
call fcn.00404280
add esp, 0xc
cmp dword [esp + 0x50], 8
mov byte [esp + 0xbc], 5
jb 0x52caed
mov edx, dword [esp + 0x3c]
push edx
call fcn.00450c56
add esp, 4
mov eax, dword [esi + 0x58]
sub eax, dword [esi + 0x54]
sar eax, 3
cmp dword [esp + 0x28], eax
jb 0x52cb01
call fcn.004945e3
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + ebp]
add eax, ebp
push ecx
call fcn.004599c5
mov edx, dword [esp + 0x24]
mov ebx, eax
push edx
mov ecx, ebx
call fcn.00452880
mov ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x78]
sar ecx, 3
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
cmp dword [esp + 0x28], ecx
jb 0x52cb3c
call fcn.004945e3
mov eax, dword [esi + 0x54]
lea edx, [esp + 0x30]
push edx
add eax, ebp
mov eax, dword [eax]
push 0x52c2e0
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
test eax, eax
je 0x52ce0e
mov eax, dword [esi + 0x78]
test eax, eax
je 0x52cb73
push eax
call fcn.0045573d
push 1
push eax
mov ecx, ebx
call fcn.00405110
mov ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x54]
mov eax, dword [esp + 0x28]
inc eax
sar ecx, 3
mov dword [esp + 0x28], eax
cmp eax, ecx
jb 0x52c9c7
xor ebp, ebp
mov ecx, dword [esi + 0x70]
sub ecx, dword [esi + 0x6c]
xor edi, edi
sar ecx, 3
test ecx, ecx
jbe 0x52cc8c
mov edx, dword [esi + 0x70]
sub edx, dword [esi + 0x6c]
sar edx, 3
cmp edi, edx
jb 0x52cbb4
call fcn.004945e3
mov eax, dword [esi + 0x6c]
lea ebx, [edi*8]
mov eax, dword [ebx + eax + 4]
push eax
lea ecx, [esp + 0x18]
push str.MENU__d
push ecx
mov dword [esp + 0x28], eax
call fcn.00404280
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
mov dword [esp + 0x48], esp
mov word [ecx + 4], dx
lea ebp, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x52cc00
sub eax, ebp
sar eax, 1
push eax
mov eax, dword [esp + 0x34]
push eax
call fcn.00419290
mov ecx, dword [esi + 0x40]
call fcn.005195e0
mov ebp, eax
test ebp, ebp
je 0x52ce84
mov ecx, dword [esi + 0x70]
sub ecx, dword [esi + 0x6c]
sar ecx, 3
cmp edi, ecx
jb 0x52cc3e
call fcn.004945e3
mov eax, dword [esi + 0x6c]
mov edx, dword [eax + ebx]
add eax, ebx
push edx
call fcn.00467571
mov ebx, eax
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov dword [esp + 0x20], esp
push eax
call fcn.00406320
mov ecx, dword [esp + 0x24]
add esp, 4
add eax, 0x10
push ebx
push ebp
mov dword [ecx], eax
call fcn.0052acb0
mov edx, dword [esi + 0x70]
sub edx, dword [esi + 0x6c]
inc edi
sar edx, 3
add esp, 0xc
cmp edi, edx
jb 0x52cba2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52ccb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52ccdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52cd04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0xbc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52cd2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00493eee
add esp, 0xac
ret
mov esi, dword [esi + 0x44]
test esi, esi
je 0x52cd76
mov edx, dword [esp + 0x1c]
push edx
push str.SetLanguageString___GetSection_DIALOG__d_failed
push esi
call fcn.00527ec0
add esp, 0xc
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52cd9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52cdc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0xbc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52cdea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0xbc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x52c851
mov esi, dword [esi + 0x44]
test esi, esi
je 0x52ce28
mov ecx, dword [esp + 0x1c]
push ecx
push str.SetLanguageString___EnumChildWindows_failed
push esi
call fcn.00527ec0
add esp, 0xc
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x52ce50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52ce78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x52cdc9
mov esi, dword [esi + 0x44]
test esi, esi
je 0x52ce9e
mov eax, dword [esp + 0x1c]
push eax
push str.SetLanguageString___GetSection_MENU__d_failed
push esi
call fcn.00527ec0
add esp, 0xc
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xbc], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x52ce44