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

Disassembly:
push 0xffffffffffffffff
push 0x100af588
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push 1
push 0xe
push str.Text_Font_Size
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0x190
push str.Text_Font_Width
push esi
push str.Register
mov dword [esp + 0x24], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Text_Font_Underline
push esi
push str.Register
mov ebp, eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0x100be380
push str.Text_Font_Name
push esi
push str.Register
mov ebx, eax
call sub.SkinsManager.dll_GetSkinsOption
add esp, 0x14
push eax
lea ecx, [esp + 0x18]
call fcn.10002440
push ebx
push 0
push ebp
push ecx
mov dword [esp + 0x90], 0
mov ecx, esp
mov dword [esp + 0x5c], esp
push esi
call fcn.10002440
call fcn.100411a0
fstp qword [esp + 0x6c]
mov ebx, dword [esp + 0x24]
add esp, 4
cmp dword [ebx - 4], 1
jle 0x1003f31c
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [esp + 0x24]
call fcn.10002910
mov ebx, dword [esp + 0x20]
fild dword [esp + 0x1c]
fmul qword [esp + 0x68]
call fcn.10085420
push eax
push ebx
push edi
call fcn.10039720
push 1
push 0x100bec10
push str.Text_Font_Name
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsOption
add esp, 0x14
test eax, eax
jne 0x1003f353
xor ecx, ecx
jmp 0x1003f36f
mov ecx, eax
lea ebx, [ecx + 2]
jmp 0x1003f360
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1003f360
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.10002a80
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
je 0x1003f457
push 1
push 0xe
push str.Text_Font_Size
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0x190
push str.TEXT_Font_Width
push esi
push str.Register
mov dword [esp + 0x24], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.TEXT_Font_Underline
push esi
push str.Register
mov ebx, eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
push esi
mov dword [esp + 0x20], eax
call fcn.10002440
call fcn.100411a0
fstp qword [esp + 0x60]
mov eax, dword [esp + 0x18]
add esp, 4
cmp dword [eax - 4], 1
jle 0x1003f40d
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.10002910
mov eax, dword [esp + 0x14]
lea ebp, [edi + 0x74]
mov ecx, ebp
mov dword [esp + 0x38], eax
call fcn.1005dbf1
fild dword [esp + 0x10]
mov eax, dword [esp + 0x38]
movzx ecx, byte [esp + 0x18]
push eax
fmul qword [esp + 0x60]
push 0
push 0
push 0
push 0
push 1
push 0
push ecx
push 0
push ebx
push 0
push 0
push 0
call fcn.10085420
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, ebp
call fcn.1005db99
push 1
push 0x100bec10
push str.Text_Hover_Font_Name
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsOption
add esp, 0x14
test eax, eax
jne 0x1003f479
xor ecx, ecx
jmp 0x1003f48f
mov ecx, eax
lea ebx, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1003f480
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.10002a80
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
je 0x1003f577
push 1
push 0xe
push str.Text_Hover_Font_Size
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0x190
push str.TEXT_Hover_Font_Width
push esi
push str.Register
mov dword [esp + 0x24], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.TEXT_Hover_Font_Underline
push esi
push str.Register
mov dword [esp + 0x44], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
push esi
mov dword [esp + 0x20], eax
call fcn.10002440
call fcn.100411a0
fstp qword [esp + 0x60]
mov eax, dword [esp + 0x18]
add esp, 4
cmp dword [eax - 4], 1
jle 0x1003f52f
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.10002910
mov eax, dword [esp + 0x14]
lea ebp, [edi + 0x7c]
mov ecx, ebp
mov ebx, eax
call fcn.1005dbf1
fild dword [esp + 0x10]
movzx ecx, byte [esp + 0x18]
mov edx, dword [esp + 0x30]
push ebx
fmul qword [esp + 0x60]
push 0
push 0
push 0
push 0
push 1
push 0
push ecx
push 0
push edx
push 0
push 0
push 0
call fcn.10085420
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, ebp
call fcn.1005db99
push 1
push 0x100bec10
push str.Text_Clicked_Font_Name
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsOption
add esp, 0x14
test eax, eax
jne 0x1003f599
xor ecx, ecx
jmp 0x1003f5af
mov ecx, eax
lea ebx, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1003f5a0
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.10002a80
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x1003f69a
push 1
push 0xe
push str.Text_Clicked_Font_Size
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0x190
push str.TEXT_Clicked_Font_Width
push esi
push str.Register
mov dword [esp + 0x24], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.TEXT_Clicked_Font_Underline
push esi
push str.Register
mov dword [esp + 0x44], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
push esi
mov dword [esp + 0x20], eax
call fcn.10002440
call fcn.100411a0
fstp qword [esp + 0x60]
mov eax, dword [esp + 0x18]
add esp, 4
cmp dword [eax - 4], 1
jle 0x1003f64f
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.10002910
mov eax, dword [esp + 0x14]
lea ebp, [edi + 0x84]
mov ecx, ebp
mov ebx, eax
call fcn.1005dbf1
fild dword [esp + 0x10]
movzx edx, byte [esp + 0x18]
mov eax, dword [esp + 0x30]
push ebx
fmul qword [esp + 0x60]
push 0
push 0
push 0
push 0
push 1
push 0
push edx
push 0
push eax
push 0
push 0
push 0
call fcn.10085420
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, ebp
call fcn.1005db99
push 1
push 0xffffffffffffffff
push str.Background_Color
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
mov ebp, eax
push ebp
push str.Background_Color_Hover
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
push ebp
push str.Background_Color_Clicked
push esi
push str.Register
mov ebx, eax
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
push ebp
push str.Background_Color_Disable
push esi
push str.Register
mov dword [esp + 0x2c], eax
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
push ebp
push str.Background_Color_Selected
push esi
push str.Register
mov dword [esp + 0x24], eax
call sub.SkinsManager.dll_GetSkinsColor
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [edi + 0xc4], ecx
add esp, 0x14
lea ecx, [esp + 0x64]
mov dword [edi + 0xbc], ebp
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc8], edx
mov dword [edi + 0xcc], eax
call fcn.1007098d
push 0x100bf638
push 1
push 0x100bec10
push str.Background_Color_Alpha
push esi
push str.Register
mov byte [esp + 0x98], 1
lea ebx, [esp + 0x7c]
call sub.SkinsManager.dll_GetSkinsOption
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.10002440
mov ecx, ebx
call fcn.10040f80
push str.ADT_SC_SERVICES
push esi
mov ebx, eax
mov dword [esp + 0x34], 0
call fcn.100805b7
add esp, 0x10
cmp ebx, 1
jne 0x1003f7fe
cmp dword [esp + 0x6c], 0
jg 0x1003f7ab
call fcn.1005c48f
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.100810e7
fmul qword [0x100caa20]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x40], eax
add esp, 8
fldcw word [esp + 0x38]
fistp dword [esp + 0x38]
mov al, byte [esp + 0x38]
movzx eax, al
fldcw word [esp + 0x10]
imul eax, eax, 0x1010101
mov dword [edi + 0xd0], eax
mov byte [edi + 0xd4], al
jmp 0x1003f831
xor ebp, ebp
test ebx, ebx
jle 0x1003f831
test ebp, ebp
jl 0x1003f7a6
cmp ebp, dword [esp + 0x6c]
jge 0x1003f7a6
mov eax, dword [esp + 0x68]
mov eax, dword [eax + ebp*4]
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.100810e7
fstp qword [esp]
mov edx, ebp
mov ecx, edi
call fcn.1003a510
inc ebp
cmp ebp, ebx
jl 0x1003f804
push 1
push 0
push str.Text_Color
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
mov ebp, eax
push ebp
push str.Text_Color_Hover
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
push ebp
push str.Text_Color_Clicked
push esi
push str.Register
mov ebx, eax
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
push ebp
push str.Text_Color_Disable
push esi
push str.Register
mov dword [esp + 0x2c], eax
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
push ebp
push str.Text_Color_Selected
push esi
push str.Register
mov dword [esp + 0x24], eax
call sub.SkinsManager.dll_GetSkinsColor
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 0x14
push 1
push 0
push str.Text_Margin_Left
push esi
push str.Register
mov dword [edi + 0x9c], ebp
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], edx
mov dword [edi + 0xa8], ecx
mov dword [edi + 0xac], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Text_Margin_Top
push esi
push str.Register
mov dword [esp + 0x34], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Text_Margin_Right
push esi
push str.Register
mov dword [esp + 0x30], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Text_Margin_Bottom
push esi
push str.Register
mov ebx, eax
call sub.SkinsManager.dll_GetSkinsToInt
mov edx, dword [esp + 0x30]
add esp, 0x14
push eax
push ebx
push edx
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [edi + 0x3ec]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
push 1
push 1
push str.Text_Singeline
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Text_Align
push esi
push str.Register
mov ebx, eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
or eax, 0x8014
cmp ebx, 1
jne 0x1003f98e
or eax, 0x20
push 1
push 0
push str.Border_Color
push esi
push str.Register
mov dword [edi + 0x3fc], eax
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
push 0
push str.Border_Width
push esi
push str.Register
mov ebp, eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Round_X
push esi
push str.Register
mov dword [esp + 0x48], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Round_Y
push esi
push str.Register
mov ebx, eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Show_Border
push esi
push str.Register
mov dword [esp + 0x4c], eax
call sub.SkinsManager.dll_GetSkinsToInt
mov edx, dword [esp + 0x48]
xor ecx, ecx
add esp, 0x14
test eax, eax
setne cl
mov dword [edi + 0x10c], ebp
mov dword [edi + 0x110], ebp
mov dword [edi + 0x114], ebp
mov dword [edi + 0x118], ebp
mov dword [edi + 0x11c], ebp
mov dword [edi + 0x124], edx
mov edx, dword [esp + 0x38]
push 0xffffffffffffffff
mov dword [edi + 0x120], ecx
push 0
lea ecx, [esp + 0x6c]
mov dword [edi + 0x128], ebx
mov dword [edi + 0x12c], edx
call fcn.10070a34
push 0x100bf638
push 1
push 0x100bec10
push str.Border_Color_Alpha
push esi
push str.Register
lea ebx, [esp + 0x7c]
call sub.SkinsManager.dll_GetSkinsOption
add esp, 0x10
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.10002440
mov ecx, ebx
call fcn.10040f80
mov ebx, eax
add esp, 8
cmp ebx, 1
jne 0x1003fb07
cmp dword [esp + 0x6c], 0
jg 0x1003fab1
call fcn.1005c48f
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.100810e7
fmul qword [0x100caa20]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x40], eax
add esp, 8
fldcw word [esp + 0x38]
fistp dword [esp + 0x38]
mov al, byte [esp + 0x38]
movzx eax, al
fldcw word [esp + 0x10]
imul eax, eax, 0x1010101
mov dword [edi + 0x130], eax
mov byte [edi + 0x134], al
jmp 0x1003fbae
xor ebp, ebp
test ebx, ebx
jle 0x1003fbae
test ebp, ebp
jl 0x1003f7a6
cmp ebp, dword [esp + 0x6c]
jge 0x1003f7a6
mov eax, dword [esp + 0x68]
mov eax, dword [eax + ebp*4]
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.100810e7
fmul qword [0x100caa20]
add esp, 8
cmp ebp, 4
jg 0x1003fb6e
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x38], eax
fldcw word [esp + 0x38]
fistp dword [esp + 0x38]
mov dl, byte [esp + 0x38]
mov byte [edi + ebp + 0x130], dl
fldcw word [esp + 0x10]
jmp 0x1003fba5
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x38], eax
fldcw word [esp + 0x38]
fistp dword [esp + 0x38]
mov al, byte [esp + 0x38]
movzx eax, al
fldcw word [esp + 0x10]
imul eax, eax, 0x1010101
mov dword [edi + 0x130], eax
mov byte [edi + 0x134], al
inc ebp
cmp ebp, ebx
jl 0x1003fb11
push 1
push 0
push str.Border_Color
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
mov ebp, eax
push ebp
push str.Border_Color_Hover
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
push ebp
push str.Border_Color_Clicked
push esi
push str.Register
mov ebx, eax
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
push ebp
push str.Border_Color_Disable
push esi
push str.Register
mov dword [esp + 0x2c], eax
call sub.SkinsManager.dll_GetSkinsColor
add esp, 0x14
push 1
push ebp
push str.Border_Color_Selected
push esi
push str.Register
mov dword [esp + 0x24], eax
call sub.SkinsManager.dll_GetSkinsColor
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov dword [edi + 0x10c], ebp
mov dword [edi + 0x110], ebx
mov dword [edi + 0x114], edx
mov dword [edi + 0x118], ecx
mov dword [edi + 0x11c], eax
call fcn.1005e14e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x1003fc69
push 0x80004005
call fcn.10002b30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x80], 2
call fcn.1005e14e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x1003fc9b
push 0x80004005
call fcn.10002b30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x80], 3
call fcn.1005e14e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x1003fccd
push 0x80004005
call fcn.10002b30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x80], 4
call fcn.1005e14e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x1003fcff
push 0x80004005
call fcn.10002b30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x80], 5
call fcn.1005e14e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x1003fd31
push 0x80004005
call fcn.10002b30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push 1
push 0x100bec10
push str.Background_Image
push esi
push str.Register
mov byte [esp + 0x94], 6
call sub.SkinsManager.dll_GetSkinsFile
add esp, 0x14
test eax, eax
jne 0x1003fd6b
xor ecx, ecx
jmp 0x1003fd7f
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1003fd70
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.10002a80
mov ebx, dword [esp + 0x10]
push 1
push ebx
push str.Background_Image_Hover
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsFile
add esp, 0x14
test eax, eax
jne 0x1003fdac
xor ecx, ecx
jmp 0x1003fdc0
mov ecx, eax
lea ebp, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1003fdb1
sub ecx, ebp
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10002a80
push 1
push ebx
push str.Background_Image_Clicked
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsFile
add esp, 0x14
test eax, eax
jne 0x1003fde9
xor ecx, ecx
jmp 0x1003fdff
mov ecx, eax
lea ebp, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1003fdf0
sub ecx, ebp
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.10002a80
push 1
push ebx
push str.Background_Image_Selected
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsFile
add esp, 0x14
test eax, eax
jne 0x1003fe28
xor ecx, ecx
jmp 0x1003fe3f
mov ecx, eax
lea ebp, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1003fe30
sub ecx, ebp
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10002a80
push 1
push ebx
push str.Background_Image_Disable
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsFile
add esp, 0x14
test eax, eax
jne 0x1003fe68
xor ecx, ecx
jmp 0x1003fe7f
mov ecx, eax
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1003fe70
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.10002a80
mov ebp, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebp, 0xfffffff0
mov dword [esp + 0x54], esp
mov dword [esp + 0x40], esp
call eax
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x1003fec1
cmp eax, dword [ebp]
jne 0x1003fec1
mov ebx, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x1003fefd
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x1003feda
call fcn.10002b50
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebp, 0x10
lea edx, [eax + eax + 2]
push ebp
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.1007fe46
add esp, 0x10
mov ecx, dword [esp + 0x40]
add ebx, 0x10
mov dword [ecx], ebx
mov byte [esp + 0x88], 7
mov ebp, dword [esp + 0x30]
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebp, 0xfffffff0
mov dword [esp + 0x54], esp
mov dword [esp + 0x44], esp
call eax
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x1003ff43
cmp eax, dword [ebp]
jne 0x1003ff43
mov ebx, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x1003ff7f
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x1003ff5c
call fcn.10002b50
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebp, 0x10
lea edx, [eax + eax + 2]
push ebp
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.1007fe46
add esp, 0x10
mov ecx, dword [esp + 0x44]
add ebx, 0x10
mov dword [ecx], ebx
mov byte [esp + 0x8c], 8
mov ebp, dword [esp + 0x38]
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebp, 0xfffffff0
mov dword [esp + 0x54], esp
mov dword [esp + 0x48], esp
call eax
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x1003ffc5
cmp eax, dword [ebp]
jne 0x1003ffc5
mov ebx, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x10040001
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x1003ffde
call fcn.10002b50
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebp, 0x10
lea edx, [eax + eax + 2]
push ebp
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.1007fe46
add esp, 0x10
mov ecx, dword [esp + 0x48]
add ebx, 0x10
mov dword [ecx], ebx
mov byte [esp + 0x90], 9
mov ebp, dword [esp + 0x40]
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebp, 0xfffffff0
mov dword [esp + 0x54], esp
mov dword [esp + 0x4c], esp
call eax
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x10040047
cmp eax, dword [ebp]
jne 0x10040047
mov ebx, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x10040083
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x10040060
call fcn.10002b50
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebp, 0x10
lea edx, [eax + eax + 2]
push ebp
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.1007fe46
add esp, 0x10
mov ecx, dword [esp + 0x4c]
add ebx, 0x10
mov dword [ecx], ebx
mov byte [esp + 0x94], 0xa
mov ebp, dword [esp + 0x24]
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebp, 0xfffffff0
mov dword [esp + 0x50], esp
mov dword [esp + 0x50], esp
call eax
cmp dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
jl 0x100400c9
cmp eax, dword [ebp]
jne 0x100400c9
mov ebx, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x10040105
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x100400e2
call fcn.10002b50
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebp, 0x10
lea edx, [eax + eax + 2]
push ebp
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.1007fe46
add esp, 0x10
mov ecx, dword [esp + 0x50]
add ebx, 0x10
mov dword [ecx], ebx
mov ecx, edi
mov byte [esp + 0x98], 6
call fcn.10038d90
mov eax, dword [edi + 0x400]
xor edx, edx
test eax, eax
setne dl
push 1
push edx
push str.Show_Back
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0x100bec10
push str.Icon
push esi
push str.Register
mov dword [edi + 0x400], eax
call sub.SkinsManager.dll_GetSkinsFile
add esp, 0x14
test eax, eax
jne 0x10040168
xor ecx, ecx
jmp 0x1004017f
mov ecx, eax
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10040170
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.10002a80
mov ebx, dword [esp + 0x10]
push 1
push ebx
push str.Icon_Hover
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsFile
add esp, 0x14
test eax, eax
jne 0x100401ac
xor ecx, ecx
jmp 0x100401c0
mov ecx, eax
lea ebp, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x100401b1
sub ecx, ebp
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10002a80
push 1
push ebx
push str.Icon_Clicked
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsFile
add esp, 0x14
test eax, eax
jne 0x100401e9
xor ecx, ecx
jmp 0x100401ff
mov ecx, eax
lea ebp, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x100401f0
sub ecx, ebp
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.10002a80
push 1
push ebx
push str.Icon_Selected
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsFile
add esp, 0x14
test eax, eax
jne 0x10040228
xor ecx, ecx
jmp 0x1004023f
mov ecx, eax
lea ebp, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10040230
sub ecx, ebp
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10002a80
push 1
push ebx
push str.Icon_Disable
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsFile
add esp, 0x14
test eax, eax
jne 0x10040268
xor ecx, ecx
jmp 0x1004027f
mov ecx, eax
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10040270
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.10002a80
mov ebp, dword [esp + 0x18]
push 1
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add ebp, 0xfffffff0
mov dword [esp + 0x58], esp
mov dword [esp + 0x48], esp
mov dword [esp + 0x40], ebp
call edx
cmp dword [ebp + 0xc], 0
lea edx, [ebp + 0xc]
jl 0x100402c3
cmp eax, dword [ebp]
jne 0x100402c3
mov eax, 1
lock xadd dword [edx], eax
jmp 0x10040301
mov edx, dword [eax]
mov edx, dword [edx]
mov ebx, ebp
mov ecx, dword [ebx + 4]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
jne 0x100402de
call fcn.10002b50
mov eax, dword [ebx + 4]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.1007fe46
add esp, 0x10
mov ecx, dword [esp + 0x48]
add ebp, 0x10
mov dword [ecx], ebp
mov byte [esp + 0x88], 0xb
mov ebx, dword [esp + 0x30]
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
mov dword [esp + 0x60], esp
mov dword [esp + 0x4c], esp
mov dword [esp + 0x50], ebx
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x1004034a
cmp eax, dword [ebx]
jne 0x1004034a
mov ebp, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x10040386
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
jne 0x10040363
call fcn.10002b50
mov eax, dword [ebx + 4]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.1007fe46
add esp, 0x10
mov ecx, dword [esp + 0x4c]
add ebp, 0x10
mov dword [ecx], ebp
mov byte [esp + 0x8c], 0xc
mov ebx, dword [esp + 0x38]
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
mov dword [esp + 0x68], esp
mov dword [esp + 0x50], esp
mov dword [esp + 0x58], ebx
call eax
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
jl 0x100403cf
cmp eax, dword [ebx]
jne 0x100403cf
mov ebp, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x1004040b
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
jne 0x100403e8
call fcn.10002b50
mov eax, dword [ebx + 4]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.1007fe46
add esp, 0x10
mov ecx, dword [esp + 0x50]
add ebp, 0x10
mov dword [ecx], ebp
mov byte [esp + 0x90], 0xd
mov ebx, dword [esp + 0x40]
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
mov dword [esp + 0x70], esp
mov dword [esp + 0x54], esp
mov dword [esp + 0x60], ebx
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x10040454
cmp eax, dword [ebx]
jne 0x10040454
mov ebp, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x10040490
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
jne 0x1004046d
call fcn.10002b50
mov eax, dword [ebx + 4]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.1007fe46
add esp, 0x10
mov ecx, dword [esp + 0x54]
add ebp, 0x10
mov dword [ecx], ebp
mov byte [esp + 0x94], 0xe
mov ebx, dword [esp + 0x24]
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
mov dword [esp + 0x58], esp
mov dword [esp + 0x58], esp
call eax
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
jl 0x100404d5
cmp eax, dword [ebx]
jne 0x100404d5
mov ebp, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x10040511
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
jne 0x100404ee
call fcn.10002b50
mov eax, dword [ebx + 4]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp + 0x10]
push ecx
call fcn.1007fe46
add esp, 0x10
mov edx, dword [esp + 0x58]
add ebp, 0x10
mov dword [edx], ebp
mov eax, edi
mov byte [esp + 0x98], 6
call fcn.100390c0
push 1
push 0
push str.Icon_Margin_Left
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Icon_Margin_Top
push esi
push str.Register
mov dword [esp + 0x34], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Icon_Margin_Right
push esi
push str.Register
mov dword [esp + 0x30], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Icon_Margin_Bottom
push esi
push str.Register
mov ebp, eax
call sub.SkinsManager.dll_GetSkinsToInt
mov ecx, dword [esp + 0x34]
add esp, 0x14
push eax
mov eax, dword [esp + 0x20]
push ebp
push eax
push ecx
lea edx, [edi + 0x3dc]
push edx
call dword [sym.imp.USER32.dll_SetRect]
push 1
push 4
push str.Text_Icon_Show
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
xor ecx, ecx
cmp eax, dword [edi + 0x498]
je 0x100405ce
mov ecx, 1
mov dword [edi + 0x498], eax
test ecx, ecx
je 0x100405e6
mov eax, dword [edi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 1
push str.Icon_Align
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x3c]
push edx
mov dword [edi + 0x318], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
push str.Register
call sub.SkinsManager.dll_GetControlPos
add esp, 0x1c
push 1
push 0
push str.NoMove
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.NoMove
push esi
push str.Register
mov ebp, 0xc
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
test eax, eax
je 0x10040663
mov ebp, 0xe
push 1
push 0
push str.NoSize
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
test eax, eax
je 0x10040681
or ebp, 1
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push ebp
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push 0
mov ecx, edi
call fcn.100641af
push 1
push 0
push str.AutoSizeWnd
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
dec eax
add esp, 0x14
neg eax
sbb eax, eax
add eax, 1
mov dword [edi + 0x574], eax
je 0x10040725
mov eax, dword [esp + 0x34]
push 1
push eax
push str.Max_Width
push esi
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
mov ecx, dword [esp + 0x50]
add esp, 0x14
push 1
push ecx
push str.Max_Height
push esi
push str.Register
mov ebp, eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0
push str.Window_Align
push esi
push str.Register
mov dword [edi + 0x4c0], ebp
mov dword [edi + 0x4c4], eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
mov dword [edi + 0x4c8], eax
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x44]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1004074a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
mov byte [esp + 0x80], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004076f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x48]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10040794
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x4c]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100407b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100407da
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0
call fcn.10070b6a
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10040816
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x78
ret