joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499d90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538878
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x57c06c]
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 ebx, ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
jne 0x499dcc
xor eax, eax
jmp 0x499f4d
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x499dfa
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x499dfa
lea eax, [edi - 1]
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
jmp 0x499f4d
cmp dword [ebx + 0x4c], 0
jne 0x499e08
or eax, 0xffffffff
jmp 0x499f4d
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x499e29
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x54]
mov dword [esi], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
cmp dword [ebx + 0x38], 0
jne 0x499e4e
push dword [ebx + 0x4c]
movsx eax, cl
push eax
call fcn.004f77e1
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x499f4d
push 0
mov byte [ebp - 0x11], cl
lea ecx, [ebp - 0x2c]
push 8
call fcn.0041bb70
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x18]
nop word [eax + eax]
cmp esi, 0x10
lea eax, [ebp - 0x30]
mov esi, dword [ebx + 0x38]
lea ecx, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
cmovae ecx, edi
cmovae edx, edi
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x11]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x499f40
cmp eax, 1
jg 0x499f1e
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
cmp esi, 0x10
mov ecx, dword [ebp - 0x30]
cmovae eax, edi
sub ecx, eax
mov dword [ebp - 0x38], ecx
je 0x499eef
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, edi
push 1
push eax
call fcn.004eee7d
mov ecx, dword [ebp - 0x38]
add esp, 0x10
cmp ecx, eax
jne 0x499f40
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x11]
mov byte [ebx + 0x3d], 1
cmp dword [ebp - 0x34], eax
jne 0x499f19
test ecx, ecx
jne 0x499e70
cmp dword [ebp - 0x1c], 0x20
jae 0x499f40
push ecx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0041af80
jmp 0x499e64
mov ebx, dword [ebp + 8]
jmp 0x499f43
cmp eax, 3
jne 0x499f40
push dword [ebx + 0x4c]
movsx eax, byte [ebp - 0x11]
push eax
call fcn.004f77e1
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x499f43
or ebx, 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040ee10
mov eax, ebx
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.004e24d7
mov esp, ebp
pop ebp
ret 4
Function at 0x49a140
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5388a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x57c06c]
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 ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x49a25b
cmp byte [ebx + 0x3d], 0
je 0x49a25b
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x49a194
xor al, al
jmp 0x49a25d
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0041bb70
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
nop dword [eax]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x49a1f3
sub eax, 1
je 0x49a1f7
sub eax, 2
je 0x49a24d
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.0040ee10
mov al, bl
jmp 0x49a25d
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x49a22f
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004eee7d
add esp, 0x10
cmp esi, eax
jne 0x49a1e5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x49a24d
test esi, esi
jne 0x49a1b0
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0041af80
jmp 0x49a1a7
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.0040ee10
mov al, bl
jmp 0x49a25d
mov al, 1
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.004e24d7
mov esp, ebp
pop ebp
ret
Function at 0x4a0bd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x57fb50], 0
push ebx
mov dword [ebp - 4], 0
je 0x4a0d18
push dword [0x57fb58]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call ebx
test eax, eax
je 0x4a0c37
cmp dword [eax], 0xc
jbe 0x4a0c37
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x4a0c37
push 0
push 0x5999cc
push 0x5999ac
push 0
push eax
call fcn.0052cb07
add esp, 0x14
test eax, eax
je 0x4a0c37
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4a0d6e
cmp dword [0x57fb50], 0
je 0x4a0d18
push esi
push edi
push 0x5a1e4c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 4]
call fcn.004a0ed0
mov esi, dword [ebp - 4]
test esi, esi
jne 0x4a0d04
push 0x10
call fcn.004e24e8
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
cmp dword [0x57fb50], 0
je 0x4a0d04
push dword [0x57fb58]
call ebx
test eax, eax
je 0x4a0d04
cmp dword [eax], 0xc
jbe 0x4a0d04
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x4a0cfe
push 8
call fcn.004e24e8
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
mov dword [edi], vtable.t_visualDataItemPtr_struct_CherryUIPoint_.0
mov dword [edi + 4], esi
cmp dword [0x57fb50], 0
je 0x4a0d04
push dword [0x57fb58]
call ebx
test eax, eax
je 0x4a0d04
cmp dword [eax], 0xc
jbe 0x4a0d04
mov eax, dword [eax + 8]
push 0x5a1e4c
mov dword [eax + 0x30], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx]
push esi
call dword [edx + 0xc]
push 0x5a1e4c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5a21a4]
test eax, eax
jne 0x4a0d6e
push 0x5a1e4c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5a958c]
test al, 1
jne 0x4a0d54
or eax, 1
xorps xmm0, xmm0
mov dword [0x5a958c], eax
push 0x53bd20
movups xmmword [0x5a9590], xmm0
call fcn.004e27b4
add esp, 4
push 0x5a1e4c
mov dword [0x5a21a4], 0x5a9590
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5a21a4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a0ed0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x57fb50], 0
push esi
mov esi, edx
je 0x4a0f23
push dword [0x57fb58]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a0f23
cmp dword [eax], 0xc
jbe 0x4a0f23
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x4a0f23
push 0
push 0x5999cc
push 0x5999ac
push 0
push eax
call fcn.0052cb07
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x4a0f23
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi], eax
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x4a1aa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538c09
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57c06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x78
call fcn.004e24e8
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.t_cuObject.0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 1
mov dword [edi], vtable.t_cuResourceManager.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
lea esi, [edi + 0x54]
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a2cb0
mov dword [esi], eax
lea eax, [edi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x74], 0
mov eax, ebx
mov dword [ebx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a2040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x59b48c]
push 0x55b42c
push 0x83
push esi
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x4a2072
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a2068
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x4a21e8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4a21e8
push 0x230
call fcn.004e24e8
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
call fcn.004a9280
mov ebx, eax
mov edx, 0xc
push 0xc
push edi
mov dword [ebp - 4], ebx
lea ecx, [ebx + 0x214]
call fcn.004a3f80
add esp, 8
cmp dword [ebx + 0x214], 0x43555450
jne 0x4a21e0
cmp dword [ebx + 0x218], 1
jg 0x4a21e0
mov eax, dword [ebx + 0x21c]
cmp eax, 0xffff
jg 0x4a21e0
mov byte [ebx + 0x22c], 1
mov dword [ebp - 0x10], 0
test eax, eax
jle 0x4a21c5
lea eax, [ebx + 0x220]
mov esi, 0xc
mov dword [ebp - 0x18], eax
push 0xc
call fcn.004e24e8
mov edi, dword [esi + edi]
mov ebx, eax
add esi, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], esi
xor ecx, ecx
mov esi, edi
mov edx, 2
shr esi, 1
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e2aee
mov ecx, dword [ebp - 8]
mov edx, edi
add ecx, dword [ebp - 0xc]
push edi
push ecx
mov ecx, eax
mov dword [ebx], eax
call fcn.004a3f80
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax + esi*2], cx
mov esi, dword [ebp - 8]
add esi, edi
mov edi, dword [ebp - 0xc]
mov eax, dword [esi + edi]
add esi, 4
push eax
mov dword [ebx + 8], eax
call fcn.004e2aee
mov dword [ebx + 4], eax
lea ecx, [esi + edi]
mov edx, dword [ebx + 8]
push edx
push ecx
mov ecx, eax
call fcn.004a3f80
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
add esi, dword [ebx + 8]
add esp, 0x1c
push eax
call fcn.0040b270
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [eax + 0x21c]
jl 0x4a2127
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
push eax
add ecx, 0x48
call fcn.0040b270
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a2cd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538c6d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x57c06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x57fb50], 0
mov dword [ebp - 0x10], 0
je 0x4a2e43
push dword [0x57fb58]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call ebx
test eax, eax
je 0x4a2d58
cmp dword [eax], 3
jbe 0x4a2d58
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4a2d58
push 0
push 0x599a5c
push 0x5999ac
push 0
push eax
call fcn.0052cb07
add esp, 0x14
test eax, eax
je 0x4a2d58
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4a2ea0
cmp dword [0x57fb50], 0
je 0x4a2e43
push 0x5a1e4c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0x10]
call fcn.004a2ec0
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x4a2e24
push 4
call fcn.004e24e8
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.004a1aa0
mov dword [ebp - 4], 0xffffffff
mov esi, eax
cmp dword [0x57fb50], 0
je 0x4a2e24
push dword [0x57fb58]
call ebx
test eax, eax
je 0x4a2e24
cmp dword [eax], 3
jbe 0x4a2e24
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4a2e1e
push 8
call fcn.004e24e8
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.t_visualDataItemPtr_struct_t_cuResourceManagerWrap_.0
mov dword [edi + 4], esi
cmp dword [0x57fb50], 0
je 0x4a2e24
push dword [0x57fb58]
call ebx
test eax, eax
je 0x4a2e24
cmp dword [eax], 3
jbe 0x4a2e24
mov eax, dword [eax + 8]
push 0x5a1e4c
mov dword [eax + 0xc], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx]
push esi
call dword [edx + 0xc]
push 0x5a1e4c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5a21a8]
test eax, eax
jne 0x4a2ea0
push 0x5a1e4c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5a95a0]
test al, 1
jne 0x4a2e86
or eax, 1
mov dword [0x5a95a0], eax
mov ecx, 0x5a95a4
mov dword [ebp - 4], 1
call fcn.004a1aa0
push 0x53bd30
call fcn.004e27b4
add esp, 4
push 0x5a1e4c
mov dword [0x5a21a8], 0x5a95a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5a21a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a2ec0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x57fb50], 0
push esi
mov esi, edx
je 0x4a2f13
push dword [0x57fb58]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a2f13
cmp dword [eax], 3
jbe 0x4a2f13
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4a2f13
push 0
push 0x599a5c
push 0x5999ac
push 0
push eax
call fcn.0052cb07
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x4a2f13
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi], eax
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x4a8260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
cmp ebx, 0x1c
jne 0x4a82b1
test edi, edi
jne 0x4a82ff
cmp byte [esi + 0x30], 0
je 0x4a828e
mov eax, dword [esi]
mov ecx, esi
push edi
mov byte [esi + 0x30], 0
call dword [eax + 0x48]
cmp dword [esi + 0x84], esi
je 0x4a829a
mov byte [esi + 0x64], 1
push 0
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x14
cmp ebx, 0x113
jne 0x4a82ff
cmp edi, 0x3e9
jne 0x4a82ff
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a82ee
push 0x213
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4a82ff
push 0x3e9
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [ebp + 0x18]
push edi
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0049ca90
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x4a8930
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ebx, dword [esi + 0x18c]
mov edi, dword [esi + 0x188]
cmp edi, ebx
je 0x4a8953
mov ecx, edi
call fcn.004a0980
add edi, 0xc
cmp edi, ebx
jne 0x4a8945
mov eax, dword [esi + 0x188]
xor edi, edi
mov dword [esi + 0x18c], eax
mov eax, dword [esi + 0x180]
sub eax, dword [esi + 0x17c]
sar eax, 2
test eax, eax
je 0x4a8998
mov eax, dword [esi + 0x17c]
mov ecx, esi
push dword [eax + edi*4]
call fcn.0049f050
mov eax, dword [esi + 0x180]
inc edi
sub eax, dword [esi + 0x17c]
sar eax, 2
cmp edi, eax
jb 0x4a8974
mov eax, dword [esi + 0x17c]
mov dword [esi + 0x180], eax
cmp byte [esi + 0x30], 0
je 0x4a89b7
mov eax, dword [esi]
mov ecx, esi
push 0
mov byte [esi + 0x30], 0
call dword [eax + 0x48]
cmp dword [esi + 0x84], esi
je 0x4a89c3
mov byte [esi + 0x64], 1
push 0
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
ret
Function at 0x4aa770
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538e02
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x57c06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx], vtable.t_cuObject.0
mov dword [edx + 4], 0xffffffff
mov dword [edx + 8], 1
mov dword [ebp - 4], 0
lea edi, [edx + 0x74]
mov dword [edx], vtable.t_ccTheme.0
mov ecx, edi
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov byte [edx + 0x30], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], 0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], 0
mov dword [edx + 0x54], 0
mov dword [edx + 0x58], 0
mov dword [edx + 0x5c], 0
mov dword [edx + 0x60], 0
mov dword [edx + 0x64], 0
mov byte [edx + 0x68], 0
call fcn.004aaa90
lea ecx, [edx + 0xf0]
call fcn.004aaa90
mov dword [edx + 0x174], 0
lea eax, [edx + 0x1a4]
mov dword [edx + 0x178], 0
lea esi, [edx + 0x204]
mov dword [edx + 0x17c], 0
mov dword [edx + 0x180], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov byte [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [edx + 0x1ec], 0
mov dword [edx + 0x1f0], 0
mov dword [edx + 0x1f4], 0
mov dword [edx + 0x1f8], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004131c0
mov dword [esi], eax
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
add esi, 0x20c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004131c0
mov dword [esi], eax
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
add esi, 0x214
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004131c0
mov dword [esi], eax
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x10]
add esi, 0x21c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004131c0
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
mov dword [esi + 0xc], 0
push 0x2c
lea eax, [esi + 0x10]
push 0
push eax
call fcn.004e5200
push 0x7c
push 0
push edi
call fcn.004e5200
push 0x7c
lea eax, [esi + 0xf0]
push 0
push eax
call fcn.004e5200
push 0x38
lea eax, [esi + 0x16c]
push 0
push eax
call fcn.004e5200
push 0x40
lea eax, [esi + 0x1a4]
push 0
push eax
call fcn.004e5200
push 0x38
xorps xmm0, xmm0
lea eax, [esi + 0x3c]
push 0
movups xmmword [esi + 0x1e4], xmm0
push eax
movups xmmword [esi + 0x1f4], xmm0
call fcn.004e5200
add esp, 0x48
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ab5d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538e3d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x57c06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x57fb50], 0
mov dword [ebp - 0x10], 0
je 0x4ab743
push dword [0x57fb58]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call ebx
test eax, eax
je 0x4ab658
cmp dword [eax], 4
jbe 0x4ab658
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4ab658
push 0
push 0x599c34
push 0x5999ac
push 0
push eax
call fcn.0052cb07
add esp, 0x14
test eax, eax
je 0x4ab658
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4ab7a0
cmp dword [0x57fb50], 0
je 0x4ab743
push 0x5a1e4c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0x10]
call fcn.004ab7c0
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x4ab724
push 4
call fcn.004e24e8
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.004aa710
mov dword [ebp - 4], 0xffffffff
mov esi, eax
cmp dword [0x57fb50], 0
je 0x4ab724
push dword [0x57fb58]
call ebx
test eax, eax
je 0x4ab724
cmp dword [eax], 4
jbe 0x4ab724
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4ab71e
push 8
call fcn.004e24e8
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.t_visualDataItemPtr_struct_t_ccThemeWrap_.0
mov dword [edi + 4], esi
cmp dword [0x57fb50], 0
je 0x4ab724
push dword [0x57fb58]
call ebx
test eax, eax
je 0x4ab724
cmp dword [eax], 4
jbe 0x4ab724
mov eax, dword [eax + 8]
push 0x5a1e4c
mov dword [eax + 0x10], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx]
push esi
call dword [edx + 0xc]
push 0x5a1e4c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5a21ac]
test eax, eax
jne 0x4ab7a0
push 0x5a1e4c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5a95ac]
test al, 1
jne 0x4ab786
or eax, 1
mov dword [0x5a95ac], eax
mov ecx, 0x5a95a8
mov dword [ebp - 4], 1
call fcn.004aa710
push 0x53bd90
call fcn.004e27b4
add esp, 4
push 0x5a1e4c
mov dword [0x5a21ac], 0x5a95a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5a21ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ab7c0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x57fb50], 0
push esi
mov esi, edx
je 0x4ab813
push dword [0x57fb58]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ab813
cmp dword [eax], 4
jbe 0x4ab813
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4ab813
push 0
push 0x599c34
push 0x5999ac
push 0
push eax
call fcn.0052cb07
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x4ab813
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi], eax
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x4abe90
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x57fb50], 0
push esi
mov esi, edx
je 0x4abee5
push dword [0x57fb58]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4abee5
cmp dword [eax], 1
jbe 0x4abee5
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x4abee5
push 0
push 0x599c84
push 0x5999ac
push 0
push eax
call fcn.0052cb07
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x4abee5
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov byte [esi], al
mov al, 1
pop esi
ret
xor al, al
pop esi
ret