joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d5470eb
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5d560624]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x3ed
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 0
je 0x5d547171
push 0x3f4
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
push 0x15
push esi
push esi
add eax, 4
push eax
push dword [ebp - 0x14]
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
or dword [ebx + 0xac], 1
jmp 0x5d547191
push 0x178a
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5d50eed0
leave
ret 8

Function at 0x5d5472bf
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x5d560624]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 0x804], ax
mov eax, dword [ecx + 0xb4]
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 1
jne 0x5d5472f4
push 0x74
jmp 0x5d5472fa
test eax, eax
jne 0x5d54734f
push 0x73
pop eax
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push eax
push dword [0x5d560df4]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x5d54734f
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1798
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.5d50eed0
leave
ret 8
Function at 0x5d549e74
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx + 0xfc]
push ebx
push esi
push edi
mov ebx, dword [eax + 0x18]
lea esi, [ecx + 0xac]
mov edx, dword [eax + 0x14]
mov dword [ebp - 4], ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push 2
mov dword [ebp - 0x14], ebx
pop ebx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
cmp dword [esi], 0
je 0x5d549f5c
xor edi, edi
cmp dword [ebp - 4], edi
jbe 0x5d549eff
mov eax, dword [ebp - 4]
mov ebx, edx
cmp dword [ebx], 0
je 0x5d549ef1
push dword [ebx]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x5d549eee
cmp dword [esi + 4], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x18], edi
je 0x5d549eee
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [esi + 4], 0
mov eax, dword [ebp - 4]
inc edi
add ebx, 0x28
cmp edi, eax
jb 0x5d549ebe
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
xor edi, edi
test eax, eax
je 0x5d549f26
mov eax, dword [ebp - 0x14]
push dword [eax + edi*4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x5d549f1f
inc edi
cmp edi, dword [ebp - 8]
jb 0x5d549f05
jmp 0x5d549f26
mov dword [esi + 0x10], 1
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
cmp byte [eax], 1
jne 0x5d549f56
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
cmp eax, 0xff
mov eax, dword [ebp - 8]
ja 0x5d549f5c
mov dword [esi + 0x14], 1
jmp 0x5d549f5c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add esi, 0x20
sub ebx, 1
mov dword [ebp - 0x10], ebx
jne 0x5d549ea9
pop edi
pop esi
pop ebx
leave
ret

Function at 0x5d54a01f
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x5d54a082
mov eax, dword [esi + 0xac]
test eax, eax
je 0x5d54a072
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x5d54a072
push dword [esi + 0xc8]
mov ecx, esi
call fcn.5d54a0b1
cmp dword [esi + 0xb4], 0
je 0x5d54a062
mov byte [ebp - 4], 0
jmp 0x5d54a098
mov eax, dword [esi + 0x120]
mov al, byte [eax + 0x65]
and al, 1
mov byte [ebp - 4], al
jmp 0x5d54a098
mov eax, dword [esi + 0x120]
mov al, byte [eax + 0x65]
and al, 1
mov byte [ebp - 4], al
jmp 0x5d54a086
mov byte [ebp - 4], 0
cmp byte [esi + 0x104], 0
je 0x5d54a098
push 3
mov ecx, esi
call fcn.5d54a0b1
push dword [ebp - 4]
mov ecx, dword [esi + 0x128]
call fcn.5d51f184
pop esi
leave
ret 4
Function at 0x5d54a1d2
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
push 0x7c
push edi
lea ebx, [esi + 0xd8]
mov dword [esi + 0xc4], edi
push esi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [ebx], 1
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x800
push edi
push 0x5d509364
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5d54a280
lock inc dword [ebx]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push esi
push 0x5d54b760
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xcc], eax
test eax, eax
jne 0x5d54a280
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, esi
call fcn.5d54cb4c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x5d54b430
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, edx
test esi, esi
je 0x5d54b4d3
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x5d54b4d3
xor ecx, ecx
call fcn.5d53ff9b
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x5d54b4fb
xor ecx, ecx
inc ecx
call fcn.5d53ff9b
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_EqualPrefixSid]
test eax, eax
jne 0x5d54b4fb
push 0x10
pop ecx
call fcn.5d53ff9b
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_EqualPrefixSid]
test eax, eax
je 0x5d54b495
push 4
jmp 0x5d54b4fd
push esi
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
test eax, eax
jne 0x5d54b4a4
push 8
jmp 0x5d54b4fd
cmp byte [eax], 1
jne 0x5d54b4d3
push 0xf
pop ecx
call fcn.5d53ff9b
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_EqualPrefixSid]
test eax, eax
je 0x5d54b4d3
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
cmp dword [eax], edi
je 0x5d54b4d3
cmp dword [eax], 0xc
ja 0x5d54b4f6
cmp dword [eax], 5
jne 0x5d54b4fb
test ebx, ebx
je 0x5d54b4ef
push dword [edi*8 + 0x5d505ab8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x5d54b500
inc edi
cmp edi, 6
jb 0x5d54b4d7
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret
cmp dword [eax], 0x12
jne 0x5d54b4d3
push 5
pop eax
jmp 0x5d54b4f2
mov eax, dword [edi*8 + 0x5d505abc]
jmp 0x5d54b4f2
Function at 0x5d54b67d
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5d560624]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], eax
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x5d54b702
test edi, edi
je 0x5d54b702
test ebx, ebx
je 0x5d54b702
test eax, eax
je 0x5d54b702
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x44
push eax
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetWindowsAccountDomainSid]
test eax, eax
je 0x5d54b702
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x5d54b702
push ecx
push dword [ebp - 0x50]
lea eax, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x58]
push ebx
push eax
push esi
push dword [ebp - 0x54]
call fcn.5d54bfb1
test eax, eax
js 0x5d54b702
xor eax, eax
inc eax
jmp 0x5d54b704
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5d50eed0
leave
ret 0x1c

Function at 0x5d54cd1d
Capabilities:
Get domain controller name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x5d54cd31
push 0x57
pop eax
jmp 0x5d54cd8f
push ebx
push esi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x10000
push ebx
push ebx
push edx
push ecx
mov dword [ebp - 8], ebx
mov dword [edi], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.logoncli.dll_DsGetDcNameW]
mov esi, eax
test esi, esi
jne 0x5d54cd8b
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 8]
jne 0x5d54cd60
sub ecx, ebx
push edi
sar ecx, 1
push ecx
push ecx
push edx
call fcn.5d54e204
push dword [ebp - 4]
call dword [sym.imp.netutils.dll_NetApiBufferFree]
xor eax, eax
cmp dword [edi], eax
jne 0x5d54cd8b
push 0xe
pop esi
mov eax, esi
pop esi
pop ebx
pop edi
leave
ret 4

Function at 0x5d54cd9a
Capabilities:
Get user security identifier

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x5d560624]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x260]
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x25c], 0x48
push eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x258], 0x104
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x4c]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
je 0x5d54ce18
lea ecx, [ebp - 0x4c]
call fcn.5d53fc9b
mov dword [ebx], eax
test eax, eax
je 0x5d54ce16
test edi, edi
je 0x5d54ce18
mov eax, dword [ebp - 0x260]
mov dword [edi], eax
jmp 0x5d54ce18
xor esi, esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5d50eed0
leave
ret 8
Function at 0x5d54dd2e
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x5d56125c]
push esi
push edi
test eax, eax
jne 0x5d54dd47
call fcn.5d54de0b
test eax, eax
je 0x5d54dd8f
mov eax, dword [0x5d56125c]
cmp eax, 1
jne 0x5d54dd5f
push 0xd
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x5d54ddd5
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov ecx, eax
test ecx, ecx
je 0x5d54dd78
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, ecx
jmp 0x5d54ddd5
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x5d54dd93
xor eax, eax
jmp 0x5d54ddd5
mov eax, dword [esi]
push dword [0x5d56125c]
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x5d54ddb9
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x5d54ddd5
lea edi, [esi + 0xff0]
push esi
push dword [0x5d56125c]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x5d54ddbf
mov eax, esi
pop edi
pop esi
ret

Function at 0x5d54df91
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x5d54dfcc

Function at 0x5d54e204
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or al, 0x50
push esi
push dword [ebp + 8]
call fcn.5d54df16
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x5d54e23f
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
invalid
inc ebp
invalid

Function at 0x5d54e29e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 8]
call fcn.5d54df16
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.5d54df51
xor eax, 0x8d0dd121
inc ebp
call 0xae3d4047
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40

Function at 0x5d54e2c6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.5d54df61
push eax
push esi
push dword [ebp + 8]
call fcn.5d54df16
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
invalid
inc ebp
Function at 0x5d54ec0d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [eax - 1]
jne 0x5d54ec1a
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x5d54ec45
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x5d54ee0f
cmp dword [ebp + 0xc], 1
je 0x5d54ee0f
cmp dword [ebp + 0xc], 8
jne 0x5d54edd7
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
call fcn.5d54df51
out dx, eax
mov bh, 0xb7
imul eax, dword [eax - 0x5435b], 0xffffffff
add byte [edx], ch
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.5d54df51
push esp
outsb dx, byte [esi]
scasd eax, dword es:[edi]
dec ebp
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.5d54df2f
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
invalid
invalid
cdq
Function at 0x5d5531e3
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, ebx
mov dword [edi + 0x20], eax
test edx, edx
je 0x5d553226
cmp dword [edi], ebx
jne 0x5d553226
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x5d553208
sub ecx, esi
push edi
sar ecx, 1
push ecx
push ecx
push edx
call fcn.5d54e204
mov esi, eax
test esi, esi
js 0x5d553293
push ebx
push ebx
push 0x5d509364
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
je 0x5d55327e
lock inc dword [edi + 4]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push edi
push 0x5d552f70
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
test eax, eax
jne 0x5d553293
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x5d55326e
movzx esi, si
or esi, 0x80070000
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, edi
call fcn.5d528340
jmp 0x5d553293
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x5d553293
movzx esi, si
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x5d5532a2
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor eax, eax
push esi
mov esi, eax
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [ebp + 0xc], eax
jne 0x5d553363
mov edx, dword [ebp + 8]
test edx, edx
je 0x5d5532f5
lea ebx, [edi + 0x20]
cmp dword [ebx], eax
jne 0x5d5532f5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x5d5532d0
sub ecx, esi
push ebx
sar ecx, 1
push ecx
push ecx
push edx
call fcn.5d54e204
mov esi, eax
test esi, esi
js 0x5d553377
xor eax, eax
push eax
push eax
push 0x5d509364
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
je 0x5d55334c
lock inc dword [edi]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push edi
push 0x5d5530d0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
test eax, eax
jne 0x5d553377
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x5d55333c
movzx esi, si
or esi, 0x80070000
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, edi
call fcn.5d553732
jmp 0x5d553377
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x5d553377
movzx esi, si
or esi, 0x80070000
jmp 0x5d553377
push dword [ebp + 0xc]
mov word [edi + 0x24], 0x101
mov byte [edi + 0x26], 1
call fcn.5d551892
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x5d5557a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
movzx eax, si
xor edi, edi
shr eax, 4
push 6
inc eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x5d5557fc
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5d5557fc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
je 0x5d5557fc
movzx edi, word [ecx]
add ecx, 2
and esi, 0xf
je 0x5d5557fc
movzx eax, di
lea ecx, [ecx + eax*2]
movzx edi, word [ecx]
lea ecx, [ecx + 2]
sub esi, 1
jne 0x5d5557eb
mov ax, di
pop edi
pop esi
pop ebx
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100062eb
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100062eb
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100062eb
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100062eb
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100062eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100062eb
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100062eb
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100062eb
push 0xd008
push edi
call fcn.100062eb
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100062eb
int3

Function at 0x100062eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x100062fa
pop dword [ebp - 0x3c]
mov eax, 0x77bd5259
add eax, 0x984310a1
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x39a44
push 0
mov eax, 0xb3f5c57c
add eax, 0x5c0b7ae8
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x806ed43d
add ecx, 0x7f91763d
mov esi, eax
mov edx, 0xb7494b8
sub edx, 0xfb730eb8
add edx, dword [ebp - 0x3c]
mov ebx, 0x3d060190
add dword [ebp - 8], 0x8965bbdb
mov edi, dword [edx]
sub dword [ebp - 0x34], edi
sub edi, ebx
add dword [ebp - 0x28], ebx
mov dword [esi], edi
xor dword [ebp - 4], 0x5a339f7e
add esi, 4
add edx, 0x145674e9
sub edx, 0x145674e5
loop 0x10006353
add eax, 0xc5d5d985
add eax, 0x3a2b4336
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret