Function at 0x410b60
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4417b6
mov eax, dword fs:[0]
push eax
sub esp, 0x508
mov eax, dword [0x462524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x510], esi
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x508]
mov dword [esi + 0x738], 1
push edx
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
mov dword [ebp - 4], 0
call dword [sym.imp.CoreUI.dll_public:_wchar_t_const____thiscall_UiLib::CDuiString::operator_wchar_t_const__void_const]
lea ecx, [ebp - 0x508]
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
call dword [sym.imp.CoreUI.dll_public:_void___thiscall_UiLib::CDuiString::destructor_void_]
mov ecx, dword [str.use_thumbnail]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410c07
test dx, dx
je 0x410c03
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410c07
add eax, 4
add ecx, 4
test dx, dx
jne 0x410be1
xor eax, eax
jmp 0x410c0c
sbb eax, eax
or eax, 1
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x410c1d
push 3
jmp 0x411073
mov ecx, dword [str.use_aerial]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410c4b
test dx, dx
je 0x410c47
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410c4b
add eax, 4
add ecx, 4
test dx, dx
jne 0x410c25
xor eax, eax
jmp 0x410c50
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410c5b
push 4
jmp 0x411073
mov ecx, dword [str.use_multi]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410c89
test dx, dx
je 0x410c85
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410c89
add eax, 4
add ecx, 4
test dx, dx
jne 0x410c63
xor eax, eax
jmp 0x410c8e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410cbf
mov ecx, dword [esi + 0x7c4]
call dword [sym.imp.CoreUI.dll_public:_bool___thiscall_UiLib::COptionUI::IsSelected_void_const]
mov ecx, dword [esi + 0x7c8]
mov byte [ebp - 0x50c], al
push dword [ebp - 0x50c]
mov eax, dword [ecx]
call dword [eax + 0xe0]
push 5
jmp 0x411073
mov ecx, dword [str.use_multi_frame]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410ced
test dx, dx
je 0x410ce9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410ced
add eax, 4
add ecx, 4
test dx, dx
jne 0x410cc7
xor eax, eax
jmp 0x410cf2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410cfd
push 6
jmp 0x411073
mov ecx, dword [str.bk_transparent_area]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410d2b
test dx, dx
je 0x410d27
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410d2b
add eax, 4
add ecx, 4
test dx, dx
jne 0x410d05
xor eax, eax
jmp 0x410d30
sbb eax, eax
or eax, 1
test eax, eax
je 0x41106a
mov ecx, dword [str.show_grid]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410d66
test dx, dx
je 0x410d62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410d66
add eax, 4
add ecx, 4
test dx, dx
jne 0x410d40
xor eax, eax
jmp 0x410d6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41106a
mov ecx, dword [str.show_solid]
mov eax, ebx
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410da6
test dx, dx
je 0x410da2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410da6
add eax, 4
add ecx, 4
test dx, dx
jne 0x410d80
xor eax, eax
jmp 0x410dab
sbb eax, eax
or eax, 1
test eax, eax
je 0x41106a
mov ecx, dword [str.shadow_edge]
mov eax, ebx
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410de6
test dx, dx
je 0x410de2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410de6
add eax, 4
add ecx, 4
test dx, dx
jne 0x410dc0
xor eax, eax
jmp 0x410deb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410df5
push eax
jmp 0x411073
mov ecx, dword [str.custom_bkcolor]
mov eax, ebx
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410e26
test dx, dx
je 0x410e22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410e26
add eax, 4
add ecx, 4
test dx, dx
jne 0x410e00
xor eax, eax
jmp 0x410e2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410e3d
mov ecx, esi
call fcn.0040fad0
push 1
jmp 0x411073
mov ecx, dword [str.use_mouse_wheel]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410e6b
test dx, dx
je 0x410e67
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410e6b
add eax, 4
add ecx, 4
test dx, dx
jne 0x410e45
xor eax, eax
jmp 0x410e70
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410e82
mov ecx, esi
call fcn.0040fcb0
push 0xf
jmp 0x411073
mov ecx, dword [str.topmost_wnd]
mov eax, ebx
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410eb6
test dx, dx
je 0x410eb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410eb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x410e90
xor eax, eax
jmp 0x410ebb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410f16
push 7
push 0x4156f0
call edi
call fcn.00408680
mov ecx, eax
call dword [sym.imp.CoreUI.dll_public:_struct_HWND______thiscall_UiLib::CWindowWnd::GetFamilyWnd_void_]
test eax, eax
jne 0x41107a
mov ecx, dword [esi + 0x748]
call dword [sym.imp.CoreUI.dll_public:_bool___thiscall_UiLib::COptionUI::IsSelected_void_const]
push 3
push 0
xor ecx, ecx
test al, al
push 0
push 0
setne cl
add ecx, 0xfffffffe
push 0
push ecx
mov ecx, dword [esi + 0x170]
call dword [sym.imp.CoreUI.dll_public:_struct_HWND______thiscall_UiLib::CPaintManagerUI::GetPaintWindow_void_const]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x41107a
mov ecx, dword [str.page_mode]
mov eax, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410f46
test dx, dx
je 0x410f42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410f46
add eax, 4
add ecx, 4
test dx, dx
jne 0x410f20
xor eax, eax
jmp 0x410f4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x411066
mov ecx, dword [str.scale_mode]
mov eax, ebx
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410f86
test dx, dx
je 0x410f82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410f86
add eax, 4
add ecx, 4
test dx, dx
jne 0x410f60
xor eax, eax
jmp 0x410f8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x411066
mov ecx, dword [str.roll_mode]
mov eax, ebx
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410fc6
test dx, dx
je 0x410fc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410fc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x410fa0
xor eax, eax
jmp 0x410fcb
sbb eax, eax
or eax, 1
test eax, eax
je 0x411066
mov ecx, dword [str.use_news_mini]
mov eax, ebx
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411006
test dx, dx
je 0x411002
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411006
add eax, 4
add ecx, 4
test dx, dx
jne 0x410fe0
xor eax, eax
jmp 0x41100b
sbb eax, eax
or eax, 1
test eax, eax
je 0x411046
mov ecx, dword [str.use_news_flash]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41103d
test dx, dx
je 0x411039
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41103d
add eax, 4
add ecx, 4
test dx, dx
jne 0x411017
xor eax, eax
jmp 0x411042
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41107a
mov ecx, dword [esi + 0x7b0]
mov edi, dword [sym.imp.CoreUI.dll_public:_bool___thiscall_UiLib::COptionUI::IsSelected_void_const]
test ecx, ecx
je 0x411058
call edi
mov ecx, dword [esi + 0x7b4]
test ecx, ecx
je 0x41107a
call edi
jmp 0x41107a
push 0x10
jmp 0x411073
mov ecx, esi
call fcn.0040fd20
push 2
push 0x4156f0
call edi
mov ecx, dword [str.grid_frist_clr]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4110a8
test dx, dx
je 0x4110a4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4110a8
add eax, 4
add ecx, 4
test dx, dx
jne 0x411082
xor eax, eax
jmp 0x4110ad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41118e
mov ecx, dword [esi + 0x778]
call dword [sym.imp.CoreUI.dll_public:_unsigned_long_int___thiscall_UiLib::CControlUI::GetBkColor_void_const]
mov edi, eax
mov dword [ebp - 0x50c], 0xff000000
mov eax, dword [0x463720]
test eax, eax
jne 0x41110b
push 0x8d8
call fcn.0041e94b
add esp, 4
mov dword [ebp - 0x514], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4110fd
mov ecx, eax
call fcn.0040ba40
jmp 0x4110ff
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x463720], eax
lea ecx, [ebp - 0x50c]
push ecx
mov ecx, eax
call fcn.0040c500
test al, al
je 0x411366
mov eax, dword [ebp - 0x50c]
cmp edi, eax
je 0x411366
mov ecx, dword [esi + 0x778]
push eax
call dword [sym.imp.CoreUI.dll_public:_void___thiscall_UiLib::CControlUI::SetBkColor_unsigned_long_int_]
push 0x64
lea eax, [ebp - 0x74]
lea edi, [esi + 0x7dc]
mov esi, dword [ebp - 0x50c]
push 0
push eax
mov dword [edi], esi
call fcn.00429120
push esi
lea eax, [ebp - 0x74]
push 0x44944c
push eax
call fcn.00406e60
add esp, 0x18
lea eax, [ebp - 0x74]
push eax
push 0xc
call fcn.004074f0
mov ecx, eax
call fcn.0041a2c0
mov esi, dword [ebp - 0x510]
lea eax, [esi + 0x7e0]
push eax
push edi
jmp 0x411264
mov ecx, dword [str.grid_second_clr]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4111bc
test dx, dx
je 0x4111b8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4111bc
add eax, 4
add ecx, 4
test dx, dx
jne 0x411196
xor eax, eax
jmp 0x4111c1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41129e
mov ecx, dword [esi + 0x77c]
call dword [sym.imp.CoreUI.dll_public:_unsigned_long_int___thiscall_UiLib::CControlUI::GetBkColor_void_const]
mov edi, eax
mov dword [ebp - 0x50c], 0xff000000
lea eax, [ebp - 0x50c]
push eax
call fcn.00408680
mov ecx, eax
call fcn.0040c500
test al, al
je 0x411366
mov eax, dword [ebp - 0x50c]
cmp edi, eax
je 0x411366
mov ecx, dword [esi + 0x77c]
push eax
call dword [sym.imp.CoreUI.dll_public:_void___thiscall_UiLib::CControlUI::SetBkColor_unsigned_long_int_]
push 0x64
lea eax, [ebp - 0x74]
lea edi, [esi + 0x7e0]
mov esi, dword [ebp - 0x50c]
push 0
push eax
mov dword [edi], esi
call fcn.00429120
push esi
lea eax, [ebp - 0x74]
push 0x44944c
push eax
call fcn.00406e60
add esp, 0x18
lea eax, [ebp - 0x74]
push eax
push 0xd
call fcn.004074f0
mov ecx, eax
call fcn.0041a2c0
mov esi, dword [ebp - 0x510]
push edi
lea eax, [esi + 0x7dc]
push eax
mov ecx, dword [esi + 0x774]
call fcn.00408e40
mov ecx, dword [esi + 0x774]
add ecx, 0x720
push 0
push eax
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.0040f880
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
push 2
push 0x4156f0
call edi
jmp 0x41136c
mov ecx, dword [str.solid_clr]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4112cc
test dx, dx
je 0x4112c8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4112cc
add eax, 4
add ecx, 4
test dx, dx
jne 0x4112a6
xor eax, eax
jmp 0x4112d1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x411366
mov ecx, dword [esi + 0x784]
call dword [sym.imp.CoreUI.dll_public:_unsigned_long_int___thiscall_UiLib::CControlUI::GetBkColor_void_const]
mov edi, eax
mov dword [ebp - 0x50c], 0xff000000
lea eax, [ebp - 0x50c]
push eax
call fcn.00408680
mov ecx, eax
call fcn.0040c500
test al, al
je 0x411366
mov eax, dword [ebp - 0x50c]
cmp edi, eax
je 0x411366
mov ecx, dword [esi + 0x784]
push eax
call dword [sym.imp.CoreUI.dll_public:_void___thiscall_UiLib::CControlUI::SetBkColor_unsigned_long_int_]
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00429120
push dword [ebp - 0x50c]
lea eax, [ebp - 0x74]
push 0x44944c
push eax
call fcn.00406e60
add esp, 0x18
lea eax, [ebp - 0x74]
push eax
push 0xd
call fcn.004074f0
mov ecx, eax
call fcn.0041a2c0
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
push 2
push 0x4156f0
call edi
jmp 0x41136c
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [str.grid_size_up]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41139a
test dx, dx
je 0x411396
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41139a
add eax, 4
add ecx, 4
test dx, dx
jne 0x411374
xor eax, eax
jmp 0x41139f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41145c
push 0x208
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00429120
inc dword [esi + 0x7d8]
add esp, 0xc
cmp dword [esi + 0x7d8], 0x63
jle 0x4113d5
mov dword [esi + 0x7d8], 0x63
push dword [esi + 0x7d8]
lea eax, [ebp - 0x27c]
push 0x449444
push eax
call fcn.00406e60
mov ecx, dword [esi + 0x768]
lea edx, [ebp - 0x27c]
add esp, 0xc
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov eax, dword [0x463714]
test eax, eax
jne 0x41143f
push 0xbc
call fcn.0041e94b
add esp, 4
mov dword [ebp - 0x514], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x411431
mov ecx, eax
call fcn.004182c0
jmp 0x411433
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x463714], eax
push dword [esi + 0x7d8]
push 0xa
mov ecx, eax
call fcn.0041a250
mov ecx, esi
call fcn.0040f880
push 2
jmp 0x4115a9
mov ecx, dword [str.grid_size_down]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41148a
test dx, dx
je 0x411486
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41148a
add eax, 4
add ecx, 4
test dx, dx
jne 0x411464
xor eax, eax
jmp 0x41148f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4114ff
push 0x208
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.00429120
dec dword [esi + 0x7d8]
add esp, 0xc
cmp dword [esi + 0x7d8], 4
jge 0x4114c1
mov dword [esi + 0x7d8], 4
push dword [esi + 0x7d8]
lea eax, [ebp - 0x484]
push 0x449444
push eax
call fcn.00406e60
mov ecx, dword [esi + 0x768]
lea edx, [ebp - 0x484]
add esp, 0xc
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
push dword [esi + 0x7d8]
push 0xa
call fcn.004074f0
jmp 0x411447
mov ecx, dword [str.switch_show_mode]
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41152d
test dx, dx
je 0x411529
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41152d
add eax, 4
add ecx, 4
test dx, dx
jne 0x411507
xor eax, eax
jmp 0x411532
sbb eax, eax
or eax, 1
test eax, eax
je 0x4115a7
mov ecx, dword [str.db_click_null]
mov eax, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411566
test dx, dx
je 0x411562
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411566
add eax, 4
add ecx, 4
test dx, dx
jne 0x411540
xor eax, eax
jmp 0x41156b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4115a7
mov eax, dword [str.auto_renmae]
mov cx, word [ebx]
cmp cx, word [eax]
jne 0x41159a
test cx, cx
je 0x411596
mov cx, word [ebx + 2]
cmp cx, word [eax + 2]
jne 0x41159a
add ebx, 4
add eax, 4
test cx, cx
jne 0x411574
xor eax, eax
jmp 0x41159f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4115b0
push 0xc
jmp 0x4115a9
push 0xe
push 0x4156f0
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e99a
mov esp, ebp
pop ebp
ret 4