joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4288d0
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov dword [esp], edi
call sym._strlen
mov ebx, eax
add eax, 0x31
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x41]
shr eax, 4
shl eax, 4
call fcn.00428830
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
lea esi, [esp + 0xc]
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp], eax
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sym._memcpy
lea eax, [ebx + 0x10]
lea edi, [esi + eax]
mov dword [ebp - 0x24], eax
mov dword [edi], 0x61616161
mov dword [edi + 4], 0x61616161
mov dword [edi + 8], 0x61616161
mov dword [edi + 0xc], 0x61616161
mov dword [edi + 0x10], 0x61616161
mov dword [edi + 0x14], 0x61616161
mov dword [edi + 0x18], 0x61616161
mov dword [edi + 0x1c], 0x61616161
mov byte [esp + ebx + 0x3c], 0
mov byte [esp + ebx + 0x1b], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateMutexA_12
sub esp, 0xc
mov byte [esi + ebx + 0xf], 0x2d
mov dword [ebp - 0x20], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
test eax, eax
je 0x4289c0
int3
mov dword [esp], esi
call sym._FindAtomA_4
sub esp, 4
test ax, ax
jne 0x428a60
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._malloc
mov edx, edi
mov ebx, eax
mov eax, 0x20
nop
lea esi, [esi]
bt ebx, eax
jae 0x4289f8
mov byte [edx], 0x41
add edx, 1
sub eax, 1
jne 0x4289f0
mov dword [esp], esi
call sym._AddAtomA_4
sub esp, 4
test ax, ax
je 0x428a54
mov ecx, dword [ebp - 0x24]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call dbg.get_ptr_from_atom
cmp ebx, eax
mov esi, eax
je 0x428a77
mov dword [esp], ebx
call sym._free
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
call sym._ReleaseMutex_4
sub esp, 4
mov dword [esp], edi
call sym._CloseHandle_4
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
int3
mov ecx, dword [ebp - 0x24]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call dbg.get_ptr_from_atom
mov esi, eax
jmp 0x428a31
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x428a31
mov dword [esp], esi
call dword [ebp + 0x10]
jmp 0x428a31
Function at 0x431d10
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [0x4c91d4]
test ebx, ebx
je 0x431d40
call sym._TlsAlloc_0
mov dword [ebx], eax
mov eax, dword [0x4c91d4]
test eax, eax
je 0x431d65
cmp dword [eax], 0xffffffff
je 0x431d88
add esp, 0x18
pop ebx
ret
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov ebx, eax
mov dword [0x4c91d4], eax
jmp 0x431d1e
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4c91d4], eax
jmp 0x431d2e
call sym._abort
lea esi, [esi]

Function at 0x432210
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov eax, dword [0x4c91d8]
test eax, eax
je 0x432360
cmp dword [eax], 1
je 0x43222d
call sym.__pthread_once_raw.part.1.constprop.5
mov eax, dword [0x4c91d4]
test eax, eax
je 0x432390
mov eax, dword [eax]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
test eax, eax
je 0x432252
add esp, 0x20
pop ebx
pop esi
pop edi
ret
call sym._pop_pthread_mem
mov ebx, eax
mov eax, dword [entry3]
test eax, eax
je 0x4323dc
test ebx, ebx
je 0x4323dc
mov dword [ebx + 0x24], 1
call sym._GetCurrentThreadId_0
mov dword [ebx + 0x38], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call sym._CreateEventA_16
mov dword [ebx + 0x1c], 0xffffffff
sub esp, 0x10
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x34], 0xffffffff
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x14], 0
call sym._GetCurrentProcess_0
mov edi, eax
call sym._GetCurrentThread_0
mov esi, eax
call sym._GetCurrentProcess_0
lea edx, [ebx + 0x14]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._DuplicateHandle_28
sub esp, 0x1c
test eax, eax
je 0x4323e3
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call sym._GetThreadPriority_4
mov dword [ebx + 0x68], eax
movzx eax, byte [ebx + 0x20]
sub esp, 4
mov dword [ebx + 0x64], 0
and eax, 0xffffffcf
or eax, 0x10
mov byte [ebx + 0x20], al
mov eax, dword [0x4c91d4]
test eax, eax
je 0x4323b6
mov dword [esp + 4], ebx
mov eax, dword [eax]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
test eax, eax
je 0x4323e3
mov eax, ebx
jmp 0x43224b
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_once_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4c91d8], eax
jmp 0x432223
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4c91d4], eax
jmp 0x43223a
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4c91d4], eax
jmp 0x43233e
xor eax, eax
jmp 0x43224b
call sym._abort
nop
lea esi, [esi]
Function at 0x432960
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
sub esp, 0x18
cmp dword [esp + 0x24], 3
je 0x432980
add esp, 0x18
mov eax, 1
pop ebx
ret 0xc
mov eax, dword [0x4c91d4]
test eax, eax
je 0x432af0
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x43296b
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
test eax, eax
mov ebx, eax
je 0x43296b
test byte [eax + 0x20], 0x30
je 0x432a40
mov eax, dword [eax + 0xb0]
test eax, eax
jne 0x432ae0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4329ef
mov dword [esp], eax
call sym._CloseHandle_4
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x4329e1
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call sym._pthread_mutex_destroy
mov edx, dword [ebx + 0xac]
mov dword [ebx + 0x34], 0xffffffff
test edx, edx
je 0x432b46
mov eax, dword [0x4c91d4]
test eax, eax
je 0x432b20
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
mov eax, 1
add esp, 0x18
pop ebx
ret 0xc
mov eax, dword [eax + 0x64]
test eax, eax
mov eax, dword [ebx + 0x18]
jne 0x432aa0
test eax, eax
je 0x432a59
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x64], 1
test eax, eax
jne 0x432ad0
test byte [ebx + 0x24], 4
je 0x432ab6
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x4329e8
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
jmp 0x4329e8
test eax, eax
je 0x432aaf
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov dword [ebx + 0x18], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call sym._pthread_mutex_destroy
mov dword [ebx + 0x34], 0xffffffff
jmp 0x43296b
call sym.__pthread_cleanup_dest.part.3
jmp 0x432a71
call sym.__pthread_cleanup_dest.part.3
jmp 0x4329bd
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4c91d4], eax
jmp 0x43298d
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4c91d4], eax
jmp 0x432a1c
mov eax, ebx
call sym._push_pthread_mem.part.0
jmp 0x432a0f
Function at 0x433cc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call sym.___pthread_self_lite
mov ebx, eax
mov dword [eax + 4], esi
mov eax, dword [eax + 0xb0]
test eax, eax
jne 0x433d50
test byte [ebx + 0x20], 0x30
je 0x433e46
mov eax, dword [0x4c91d4]
test eax, eax
je 0x433df0
mov eax, dword [eax]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
test eax, eax
mov ebx, eax
je 0x433d3b
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x433db5
mov esi, dword [eax + 4]
mov dword [eax + 0x64], 1
mov eax, dword [eax + 0x18]
test eax, eax
je 0x433d2e
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
test byte [ebx + 0x24], 4
mov dword [ebx + 0x18], 0
jne 0x433d60
mov dword [esp + 0x20], esi
add esp, 0x14
pop ebx
pop esi
jmp sym.__endthreadex
call sym.__pthread_cleanup_dest.part.3
jmp 0x433cdd
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call sym._CloseHandle_4
mov eax, dword [ebx + 0xac]
sub esp, 4
mov dword [ebx + 0x14], 0
test eax, eax
je 0x433de1
mov eax, dword [0x4c91d4]
test eax, eax
je 0x433e20
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
mov dword [esp + 0x20], esi
add esp, 0x14
pop ebx
pop esi
jmp sym.__endthreadex
mov dword [eax], 0xdeadbeef
mov eax, dword [eax + 0x18]
test eax, eax
je 0x433dcd
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov edx, dword [ebx + 0xac]
mov dword [ebx + 0x18], 0
mov esi, dword [ebx + 4]
test edx, edx
jne 0x433d85
mov eax, ebx
call sym._push_pthread_mem.part.0
jmp 0x433d85
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4c91d4], eax
jmp 0x433cf4
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x4c91d4], eax
jmp 0x433d92
add ebx, 0x6c
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym._longjmp
lea esi, [esi]
Function at 0x4372c0
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov dword [esp], edi
call sym._strlen
mov ebx, eax
add eax, 0x30
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x40]
shr eax, 4
shl eax, 4
call fcn.00428830
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
lea esi, [esp + 0xc]
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp], eax
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sym._memcpy
lea eax, [ebx + 0x10]
lea edi, [esi + eax]
mov dword [ebp - 0x24], eax
mov dword [edi], 0x61616161
mov dword [edi + 4], 0x61616161
mov dword [edi + 8], 0x61616161
mov dword [edi + 0xc], 0x61616161
mov dword [edi + 0x10], 0x61616161
mov dword [edi + 0x14], 0x61616161
mov dword [edi + 0x18], 0x61616161
mov dword [edi + 0x1c], 0x61616161
mov byte [esp + ebx + 0x3c], 0
mov byte [esp + ebx + 0x1b], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateMutexA_12
sub esp, 0xc
mov byte [esi + ebx + 0xf], 0x2d
mov dword [ebp - 0x20], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
test eax, eax
je 0x4373b0
int3
mov dword [esp], esi
call sym._FindAtomA_4
sub esp, 4
test ax, ax
jne 0x437450
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._malloc
mov edx, edi
mov ebx, eax
mov eax, 0x20
nop
lea esi, [esi]
bt ebx, eax
jae 0x4373e8
mov byte [edx], 0x41
add edx, 1
sub eax, 1
jne 0x4373e0
mov dword [esp], esi
call sym._AddAtomA_4
sub esp, 4
test ax, ax
je 0x437444
mov ecx, dword [ebp - 0x24]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call sym._get_ptr_from_atom_1
cmp ebx, eax
mov esi, eax
je 0x437467
mov dword [esp], ebx
call sym._free
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
call sym._ReleaseMutex_4
sub esp, 4
mov dword [esp], edi
call sym._CloseHandle_4
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
int3
mov ecx, dword [ebp - 0x24]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call sym._get_ptr_from_atom_1
mov esi, eax
jmp 0x437421
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x437421
mov dword [esp], esi
call dword [ebp + 0x10]
jmp 0x437421
Function at 0x4b3a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x71000]
push edi
jmp 0x4b3a9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b3aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3a90
mov eax, 1
add ebx, ebx
jne 0x4b3ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b3ac4
jne 0x4b3ae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3ae3
dec eax
add ebx, ebx
jne 0x4b3ad0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b3aa8
add ebx, ebx
jne 0x4b3adf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b3b35
xor ecx, ecx
sub eax, 3
jb 0x4b3afb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b3b6a
sar eax, 1
mov ebp, eax
jmp 0x4b3b06
add ebx, ebx
jne 0x4b3b06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3ad4
inc ecx
add ebx, ebx
jne 0x4b3b14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3ad4
add ebx, ebx
jne 0x4b3b21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b3b16
jne 0x4b3b32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b3b16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b3b54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b3b46
jmp 0x4b3a96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b3b54
add edi, ecx
jmp 0x4b3a96
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b3b72
cmp byte [edi], 0x11
jne 0x4b3b72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b3b77
lea edi, [esi + 0xaf000]
mov eax, dword [edi]
or eax, eax
je 0x4b3bef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb6044]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb6198]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b3ba4
mov ecx, edi
jns 0x4b3bd3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb619c]
or eax, eax
je 0x4b3be9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b3bc1
call dword [esi + 0xb61ac]
mov ebp, dword [esi + 0xb61a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b3c23
sub esp, 0xffffff80
jmp 0x416310
Function at 0x414594
Capabilities:
Acquire debug privileges
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1114
call fcn.00421ba0
push 1
push str.SeDebugPrivilege
mov byte [ebp - 1], 0
call fcn.00413b5a
test eax, eax
pop ecx
pop ecx
je 0x4145d1
lea eax, [ebp - 0xc]
push eax
push 0x1000
lea eax, [ebp - 0x1114]
push eax
call dword [0x458c04]
test eax, eax
jne 0x4145d5
xor eax, eax
leave
ret
mov eax, dword [ebp - 0xc]
shr eax, 2
je 0x41468a
push esi
push edi
lea esi, [ebp - 0x1114]
mov dword [ebp - 8], eax
push str.unknown
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esi]
push 0
push 0x411
call dword [0x458b44]
mov edi, eax
test edi, edi
je 0x41466b
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push edi
call dword [0x458c5c]
test eax, eax
je 0x414662
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x10]
push edi
call dword [0x458adc]
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x414662
push eax
push edi
call dword [0x458b84]
test eax, eax
je 0x414662
mov byte [ebp - 1], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41467c
cmp dword [esi], 0
jbe 0x41467c
push esi
push 0x405ed7
call dword [sym.imp.USER32.dll_EnumWindows]
add esi, 4
dec dword [ebp - 8]
jne 0x4145ec
pop edi
pop esi
movzx eax, byte [ebp - 1]
leave
ret
Function at 0x41bbe8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x41bc7c
push ebx
push edi
push esi
call fcn.00410adc
pop ecx
mov ebx, eax
push ebx
push esi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x42a3a8
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
push ebx
call fcn.00410b23
push esi
push str.Higher:__x_n
call fcn.004228ed
push edi
push str.Lower:__x_n
call fcn.004228ed
mov ecx, dword [ebp + 0xc]
mov eax, esi
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
movzx eax, si
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
mov eax, edi
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
movzx eax, di
add esp, 0x14
mov dword [ecx], eax
xor eax, eax
pop edi
inc eax
pop ebx
pop esi
leave
ret
Function at 0x41e545
Capabilities:
Get geographical location

Disassembly:
push edi
mov edi, dword [esp + 8]
push 0x42a438
push edi
call fcn.00421d10
test eax, eax
pop ecx
pop ecx
je 0x41e6f6
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push str.PSTN_BALANCE
push edi
mov byte [eax], 0
lea ebx, [eax + 1]
call esi
test eax, eax
je 0x41e6ee
push str.FULLNAME
push edi
call esi
test eax, eax
jne 0x41e59a
push ebx
push 0x45b1fc
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41e6ee
push str.BIRTHDAY
push edi
call esi
test eax, eax
je 0x41e6ee
push 0x42b224
push edi
call esi
test eax, eax
jne 0x41e5de
mov bl, byte [ebx]
cmp bl, 0x4d
jne 0x41e5c9
mov byte [0x45b305], 1
jmp 0x41e6ee
cmp bl, 0x46
jne 0x41e6ee
mov byte [0x45b305], 2
jmp 0x41e6ee
push str.COUNTRY
push edi
call esi
test eax, eax
jne 0x41e5f7
push 3
push ebx
push 0x45b309
jmp 0x41e6ce
push str.IPCOUNTRY
push edi
call esi
test eax, eax
jne 0x41e62a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 3
push ebx
mov esi, 0x45b30c
push esi
call edi
push esi
call fcn.0041f2af
pop ecx
push 2
push esi
push 0x459461
call edi
jmp 0x41e6ee
push str.CITY
push edi
call esi
test eax, eax
jne 0x41e643
push 0x20
push ebx
push 0x45b32f
jmp 0x41e6ce
push str.PHONE_HOME
push edi
call esi
test eax, eax
jne 0x41e659
push 0x10
push ebx
push 0x45b34f
jmp 0x41e6ce
push str.PHONE_OFFICE
push edi
call esi
test eax, eax
jne 0x41e66f
push 0x10
push ebx
push 0x45b35f
jmp 0x41e6ce
push str.PHONE_MOBILE
push edi
call esi
test eax, eax
jne 0x41e685
push 0x10
push ebx
push 0x45b36f
jmp 0x41e6ce
push str.HOMEPAGE
push edi
call esi
test eax, eax
jne 0x41e69e
push 0x100
push ebx
push 0x45b37f
jmp 0x41e6ce
push str.ABOUT
push edi
call esi
test eax, eax
jne 0x41e6b7
push 0x100
push ebx
push 0x45b47f
jmp 0x41e6ce
push str.MOOD_TEXT
push edi
call esi
test eax, eax
jne 0x41e6d6
push 0x100
push ebx
push 0x45b57f
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x41e6ee
push str.TIMEZONE
push edi
call esi
test eax, eax
jne 0x41e6f4
push ebx
call fcn.00421dee
pop ecx
mov dword [0x45b680], eax
inc dword [0x45b904]
pop esi
pop ebx
pop edi
ret
Function at 0x41f043
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push edi
push 0x3f
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x100], bl
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SkypeControlAPIAttach
mov byte [0x449320], 1
mov byte [0x45b030], 1
stosb byte es:[edi], al
call esi
push str.SkypeControlAPIDiscover
mov dword [0x45b0dc], eax
call esi
mov dword [0x45b0e0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x40
call dword [0x458b44]
cmp dword [0x45b0dc], ebx
mov dword [0x45b050], eax
je 0x41f188
cmp dword [0x45b0e0], ebx
je 0x41f188
push ebx
push ebx
push ebx
push 0x41eebf
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41f0dc
push 0xa
call esi
cmp dword [0x45b04c], ebx
je 0x41f0d8
push ebx
push 0x3e8
push ebx
push ebx
push dword [0x45b04c]
push dword [0x45b0e0]
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
xor edi, edi
jmp 0x41f111
cmp edi, 0x64
jge 0x41f149
push 0xa
inc edi
call esi
cmp dword [0x45b0e4], ebx
je 0x41f107
jmp 0x41f149
lea eax, [ebp - 0x100]
push eax
push dword [0x45a340]
call fcn.00413ff3
test eax, eax
pop ecx
pop ecx
jne 0x41f13a
push ebx
call fcn.0040c57b
pop ecx
push ebx
call fcn.00414583
mov dword [esp], 0x2710
call esi
cmp byte [0x463910], bl
jne 0x41f11b
push dword [0x45b050]
push 0x45b058
call dword [sym.imp.USER32.dll_UnregisterClassA]
push dword [0x45b050]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x45b04c]
cmp eax, ebx
mov dword [0x45b050], ebx
je 0x41f188
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [ebp - 0x100]
push eax
push dword [0x45a340]
call fcn.00413ff3
test eax, eax
pop ecx
pop ecx
jne 0x41f1a7
push ebx
call fcn.0040c57b
pop ecx
pop edi
pop esi
pop ebx
leave
ret