joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032cc0
Capabilities:
Create directory
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b39d3
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100e18d0]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor edi, edi
cmp dword [ebx + 0x9ed8], edi
jne 0x10032ebe
push 0x40
lea eax, [esp + 0x28]
push edi
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], vtable.CMD5Checksum.0
mov dword [esp + 0x2c], edi
call fcn.10083840
add esp, 0xc
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], 0x67452301
mov dword [esp + 0x70], 0xefcdab89
mov dword [esp + 0x74], 0x98badcfe
mov dword [esp + 0x78], 0x10325476
mov dword [esp + 0x90], edi
call fcn.1005e14e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x10032d74
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
lea esi, [esp + 0x14]
mov byte [esp + 0x90], 1
call fcn.10043fe0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 2
call fcn.10003c40
mov byte [esp + 0x90], 1
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 0x10032dcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xd
push str.ProfilePhotos
lea ecx, [esp + 0x18]
call fcn.10003ce0
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10032df6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push edi
push str.ForceUpdate
push str.MASD_Profile_Photo
push str.Register
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 0x14
push str.Size
push str.MASD_Profile_Photo
push str.Register
mov esi, eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
push 1
push 1
push str.FixCircle
push str.MASD_Profile_Photo
push str.Register
mov edi, eax
call sub.SkinsManager.dll_GetSkinsToInt
add esp, 0x14
test eax, eax
je 0x10032e52
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [ebx + 0x20]
push edi
mov edi, dword [esp + 0x18]
push 0x8b0
push eax
push esi
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push edi
call fcn.10002b60
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0xac], 3
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.1005a3e0
lea ecx, [ebx + 0x8be0]
mov byte [esp + 0xac], 1
call fcn.10029330
mov byte [esp + 0x90], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10032ebe
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.1007fe37
mov esp, ebp
pop ebp
ret
Function at 0x100342b0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
cmp dword [esi + 0xa0], 0
je 0x10034313
cmp dword [esi + 0x94], 0
je 0x10034319
mov ecx, dword [esi + 0xe4]
sub ecx, dword [esi + 0xe0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x10034319
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x100348c0
push 0
push 0
call fcn.10081b01
add esp, 0x18
mov dword [esi + 0xbc], eax
test eax, eax
je 0x10034313
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add esp, 8
ret
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x10034313
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push edi
lea ecx, [esp + 8]
push ecx
push eax
call edx
mov eax, dword [esi + 0xc4]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0xc4]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x78]
push 0
push ecx
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, dword [esi + 0xa4]
push 0
push 0
push ecx
push eax
call edx
pop edi
test eax, eax
jne 0x10034313
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add esp, 8
ret
Function at 0x100358b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ac3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push edi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
mov ecx, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push ecx
call ebx
push eax
call fcn.10060e04
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x2c]
push edx
push eax
call edi
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x74]
add edx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x78]
add eax, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x20]
push ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call ebx
push eax
call fcn.10060e04
push eax
lea ecx, [esp + 0x40]
call fcn.1005d95f
mov dword [esp + 0x58], 0
mov edx, dword [esi + 0xa4]
push edx
call fcn.1005d8b3
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push 0xcc0020
push edx
mov edi, eax
mov eax, dword [esp + 0x20]
push ebx
sub eax, edx
mov edx, dword [esp + 0x4c]
push edx
push eax
mov eax, dword [edi + 4]
sub ecx, ebx
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x54]
test edx, edx
je 0x100359b4
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [edi + 4]
push 0
push 0
push ecx
call ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 0xffffffff
call fcn.1005d9b3
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x50
ret
Function at 0x10038c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ad1d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.10002b60
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.10002b60
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x34], 2
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.10002b60
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.10002b60
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x3c], 4
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.10002b60
mov ecx, dword [esp + 0x48]
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x3c], 0
call fcn.10038d90
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10038d77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 0xc
Function at 0x10038d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ad188
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], 4
call fcn.10038820
mov eax, dword [esp + 0x24]
push eax
lea ebx, [esi + 0x138]
push ebx
call fcn.10006a40
mov ecx, dword [esp + 0x28]
push ecx
lea edi, [esi + 0x168]
push edi
call fcn.10006a40
mov edx, dword [esp + 0x2c]
push edx
lea ebp, [esi + 0x198]
push ebp
call fcn.10006a40
mov ecx, dword [esp + 0x30]
lea eax, [esi + 0x1c8]
push ecx
push eax
call fcn.10006a40
mov edx, dword [esp + 0x34]
lea eax, [esi + 0x1f8]
push edx
push eax
call fcn.10006a40
call fcn.100424a0
mov ebx, edi
call fcn.100424a0
mov ebx, ebp
call fcn.100424a0
lea ebx, [esi + 0x1c8]
call fcn.100424a0
lea ebx, [esi + 0x1f8]
call fcn.100424a0
mov eax, dword [esp + 0x38]
mov dword [esi + 0x41c], eax
call fcn.10036e90
mov byte [esp + 0x1c], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10038e75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10038e9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10038ebf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10038ee4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10038f0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x18
Function at 0x10038f30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push esi
push 0x100c4868
mov ebx, ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10038f4c
pop esi
pop ebx
pop ecx
ret
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x10038fc6
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10038fc6
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10038fc6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10038fbf
push edi
push ebx
push eax
call fcn.10087120
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x10038fb8
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x1003cba0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x100ac988
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100e18d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], dx
mov eax, ecx
mov dword [esp + 0x44], ebp
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x1003cbf7
sub eax, esi
sar eax, 1
push eax
push ecx
lea eax, [esp + 0x24]
call fcn.1003cfe0
push 7
push str.__t_n_r
lea eax, [esp + 0x24]
call fcn.10014a80
xor ebx, ebx
lea esi, [esp + 0x1c]
call fcn.1000db30
mov eax, dword [esp + 0x20]
mov ebx, 8
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x34], ebx
jae 0x1003cc43
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push eax
mov eax, dword [esp + 0x30]
push eax
call sub.Config.dll_Ordinal_20
add esp, 0x24
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
cmp esi, ebp
jne 0x1003ccb5
mov eax, dword [edi + 0x20]
cmp eax, ebp
je 0x1003cc85
push eax
call sub.Config.dll_Ordinal_1
add esp, 4
mov dword [edi + 0x20], ebp
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
mov dword [edi + 0x20], ecx
push ebp
lea ecx, [edi + 4]
lea eax, [esp + 0x24]
call fcn.1000ca10
cmp dword [esp + 0x34], ebx
jb 0x1003ccae
mov edx, dword [esp + 0x20]
push edx
call fcn.1005c1a6
add esp, 4
mov eax, 1
jmp 0x1003ccca
cmp dword [esp + 0x34], ebx
jb 0x1003ccc8
mov eax, dword [esp + 0x20]
push eax
call fcn.1005c1a6
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1007fe37
add esp, 0x38
ret 4
Function at 0x1003d3e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ad378
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], vtable.CBitmap.0
lea eax, [esp + 0x10]
mov dword [esp + 0x38], 0
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10060e04
mov ecx, eax
call fcn.1005d626
cmp dword [esi + 0x78], 0
je 0x1003d466
lea ecx, [esi + 0x74]
call fcn.1005d930
test edi, edi
jne 0x1003d46e
xor eax, eax
jmp 0x1003d471
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x74]
call fcn.1005d8c7
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0xc]
call fcn.1005db99
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x78]
push ecx
push edx
call fcn.1005dc28
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
push 0xcc0020
push edx
mov edx, dword [esp + 0x28]
push edx
push edi
push eax
mov eax, dword [esi + 0x78]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 8]
call fcn.1005dbf1
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 8]
mov dword [esp + 8], vtable.CBitmap.0
call fcn.10002760
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret

Function at 0x1003da60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
cmp byte [edi + 4], 0
push esi
mov esi, ecx
jne 0x1003da89
push 0x100e3afc
lea ecx, [esp + 8]
call fcn.100811eb
push 0x100d4d9c
lea eax, [esp + 8]
push eax
call fcn.1008373e
xor ecx, ecx
cmp dword [edi + 0x3cc], ecx
jle 0x1003daa2
mov dl, byte [esi]
xor byte [eax], dl
inc ecx
inc esi
inc eax
cmp ecx, dword [edi + 0x3cc]
jl 0x1003da93
pop esi
add esp, 0xc
ret
Function at 0x100411a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100addf0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov dword [esp + 0x2c], 0
fld1
push 0x100bec10
fstp qword [esp + 0x18]
lea ecx, [esp + 0x14]
call fcn.10002440
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.10041340
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10041213
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x100efe00]
cmp dword [eax - 0xc], 0
jne 0x10041276
push 1
push 0x100c0fd0
push str.Font_Scaling
push str.Font
push str.Register
call sub.SkinsManager.dll_GetSkinsOption
add esp, 0x14
test eax, eax
jne 0x10041244
xor ecx, ecx
jmp 0x1004125f
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10041250
sub ecx, esi
sar ecx, 1
push ecx
push eax
mov ecx, 0x100efe00
call fcn.10002a80
mov eax, dword [0x100efe00]
cmp dword [eax - 0xc], 0
je 0x100412c0
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esp + 0x14], 0
call fcn.100810e7
fst qword [esp + 0x1c]
fld qword [0x100caab8]
add esp, 8
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x100412a7
fstp st(1)
fst qword [esp + 0x14]
jmp 0x100412c8
fstp st(0)
fld qword [0x100caab0]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x100412c6
fstp st(1)
fst qword [esp + 0x14]
jmp 0x100412c8
fld qword [esp + 0x14]
jmp 0x100412c8
fstp st(0)
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100412f3
mov ecx, dword [eax]
fstp st(0)
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld qword [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10041321
mov ecx, dword [eax]
fstp st(0)
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fld qword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x10041820
Capabilities:
Create thread

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, edx
test eax, eax
jne 0x10041832
or eax, 0xffffffff
pop ebx
add esp, 0x1c
ret
cmp dword [esi + 8], 0
push edi
lea edi, [esi + 8]
je 0x10041847
pop edi
mov eax, 0xfffffffe
pop ebx
add esp, 0x1c
ret
push 0
push 0
push esi
push 0x100418e0
push 0
push 0
mov dword [esi + 4], ecx
mov dword [esi], eax
call fcn.10081b01
add esp, 0x18
mov dword [edi], eax
mov dword [esi + 0xc], ebx
test eax, eax
je 0x100418cc
test ebx, ebx
je 0x100418b3
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
lea esp, [esp]
push 0x4ff
push 0xffffffffffffffff
push 0
push edi
push 1
call ebx
test eax, eax
je 0x100418b2
push 1
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call ebp
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esi + 0xc], 0
jne 0x10041880
pop ebp
cmp dword [esi + 0xc], 0
je 0x100418cc
mov eax, dword [edi]
test eax, eax
je 0x100418cc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
pop edi
xor eax, eax
pop ebx
add esp, 0x1c
ret
Function at 0x10041c00
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100adcd0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp esi, ebx
jne 0x10041c55
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.1005d8b3
mov dword [ebp + 8], eax
mov dword [esp + 0x10], 1
mov esi, eax
lea ecx, [esp + 0x24]
call fcn.1005d2c3
mov dword [esp + 0x50], ebx
cmp esi, ebx
jne 0x10041c6a
xor eax, eax
jmp 0x10041c6d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call fcn.1005d8c7
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CBitmap.0
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 1
mov edx, dword [edi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x40]
sub esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
sub ebx, dword [esp + 0x34]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push esi
push ebx
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call fcn.1005db99
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10041cdf
mov edx, dword [esp + 0x28]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0xcc], 0
je 0x10041cfa
lea eax, [esp + 0x24]
push eax
mov esi, edi
call fcn.10041e00
mov esi, dword [esp + 0xc]
jmp 0x10041d30
mov ecx, dword [edi + 0x90]
push ecx
lea ecx, [esp + 0x20]
call fcn.1005dd7b
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.10002760
cmp dword [edi + 0x98], 0
je 0x10041d6f
mov eax, dword [edi + 0xa4]
mov ecx, dword [edi + 0xa0]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
mov al, byte [edi + 0xc4]
push 0
push 0
push ecx
lea esi, [edi + 0x94]
call fcn.10006ee0
mov esi, dword [esp + 0xc]
mov edx, dword [edi]
mov edx, dword [edx + 0x168]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push 0xcc0020
push 0
push 0
push ecx
push esi
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x10], 0
je 0x10041db9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x50], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBitmap.0
call fcn.10002760
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], 0xffffffff
call fcn.1005d946
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100439c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100adb88
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.1005d626
mov eax, 1
sub dword [esp + 0x24], eax
sub dword [esp + 0x28], eax
push 0
push eax
push 0
lea ecx, [esp + 0x18]
call fcn.1005dd32
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.1005dc84
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
mov edi, eax
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.1005d5e7
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.1005d195
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.1005d195
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.1005d195
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.1005d195
push edi
mov ecx, esi
call fcn.1005dc84
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.CPen.0
call fcn.10002760
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4