joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4542e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x454313
push esi
call fcn.00462680
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45430c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x454399
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x454382
mov eax, dword [esi + 8]
test eax, eax
je 0x454337
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45437e
cmp eax, 2
je 0x454382
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45432a
cmp eax, 3
je 0x45435d
cmp eax, 1
jne 0x45432a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45432a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45432a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004543c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4543a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004543c0
add esp, 4
pop esi
ret

Function at 0x454c30
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x454c51
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x454c51
mov eax, dword [eax + 0x44]
test eax, eax
je 0x454c51
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess_1]

Function at 0x4703af
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x7e0ef6], 0
jne 0x47042f
cmp dword [0x7e0eda], 0
jle 0x470406
mov dword [ebp - 4], esp
push 2
push dword [0x7e0eda]
call dword [sym.imp.user32.dll_GetAncestor]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4703fc
push 6
call fcn.006881b0
add esp, 4
mov dword [0x7e0ef6], eax
jmp 0x47042f
mov dword [ebp - 4], esp
push 0x7e0ef6
push 0x47059a
call dword [sym.imp.user32.dll_EnumWindows]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x47042f
push 6
call fcn.006881b0
add esp, 4
mov eax, dword [0x7e0ef6]
jmp 0x470439
mov esp, ebp
pop ebp
ret
Function at 0x4d5919
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push dword [ebp + 8]
call fcn.004d5b46
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4d5b36
cmp dword [ebp + 0xc], 3
jne 0x4d595c
call fcn.004d5bc7
mov dword [0x7e0fee], 0
jmp 0x4d5afa
cmp dword [ebp + 0xc], 1
jne 0x4d5a5e
mov ebx, dword [0x7e0fe2]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 4]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x4d59e5
mov eax, dword [ebp + 0x10]
cmp dword [0x7e0ff2], eax
jne 0x4d59ac
mov eax, 0
jmp 0x4d5b40
mov eax, dword [ebp + 0x10]
mov dword [0x7e0ff2], eax
call fcn.004d5bc7
mov eax, dword [ebp - 4]
mov dword [0x7e0fee], eax
mov eax, dword [ebp + 8]
mov dword [0x7e0ff6], eax
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0x7e0ffa], eax
jmp 0x4d5a59
mov ebx, dword [0x7e0fe2]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 4]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 2
jne 0x4d5a59
mov eax, dword [ebp + 0x10]
cmp dword [0x7e0ff2], eax
jne 0x4d5a2b
mov eax, 0
jmp 0x4d5b40
mov eax, dword [ebp + 0x10]
mov dword [0x7e0ff2], eax
cmp dword [0x7e0ffe], 0
je 0x4d5a59
call fcn.004d5bc7
mov dword [0x7e0fee], 0
mov dword [0x7e0ff6], 0
jmp 0x4d5afa
cmp dword [ebp + 0xc], 2
jne 0x4d5afa
mov ebx, dword [0x7e0fe2]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 4]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 1
je 0x4d5ac6
mov ebx, dword [0x7e0fe2]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 4]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
je 0x4d5ac6
xor eax, eax
jmp 0x4d5acb
mov eax, 1
test eax, eax
je 0x4d5afa
mov eax, dword [ebp - 4]
mov dword [0x7e0fee], eax
mov eax, dword [ebp + 8]
mov dword [0x7e0ff6], eax
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0x7e0ffa], eax
mov ebx, dword [0x7e0fe2]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 4]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 8], ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ebx, dword [ebp - 8]
push dword [ebx]
call fcn.00474728
jmp 0x4d5b40
mov eax, 0
jmp 0x4d5b40
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d5da2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [0x7e0fee], 0
je 0x4d5edd
cmp dword [0x7e0ff6], 0
je 0x4d5e4d
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0x7e1016], eax
fild dword [0x7e1016]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fild dword [0x7e0ffa]
fstp qword [ebp - 0x10]
fsub qword [ebp - 0x10]
fstp qword [ebp - 0x18]
mov ebx, dword [0x7e0fe2]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [0x7e0fee]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
fild dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x18]
fsub qword [ebp - 0x24]
fcomp qword [0x7a5d44]
fnstsw ax
test ah, 0x41
jne 0x4d5e48
mov eax, dword [0x7e1016]
mov dword [0x7e0ffa], eax
call fcn.004d5ee1
jmp 0x4d5edd
cmp dword [0x7e1002], 0
jle 0x4d5edd
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0x7e1016], eax
fild dword [0x7e1016]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fild dword [0x7e1002]
fstp qword [ebp - 0x10]
fsub qword [ebp - 0x10]
fstp qword [ebp - 0x18]
mov ebx, dword [0x7e0fe2]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [0x7e0fee]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
fild dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x18]
fsub qword [ebp - 0x24]
fcomp qword [0x7a5d4c]
fnstsw ax
test ah, 1
jne 0x4d5edd
call fcn.004d5bc7
mov dword [0x7e0fee], 0
mov esp, ebp
pop ebp
ret
Function at 0x538a6d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
inc eax
push dword [eax]
pop word [ebp - 4]
cmp dword [ebp - 4], 0xc25e
je 0x538aa2
cmp dword [ebp - 4], 0xc35e
je 0x538aa2
jmp 0x538aa5
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x538a87
cmp dword [ebp - 4], 0xc25e
jne 0x538b31
push eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push dword [ebp - 8]
push 0xffffffff
call dword [sym.imp.kernel32.dll_VirtualProtectEx]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x538aee
push 6
call fcn.006881b0
add esp, 4
pop eax
push 0x9090c35e
pop dword [eax]
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push 4
push dword [ebp - 8]
push 0xffffffff
call dword [sym.imp.kernel32.dll_VirtualProtectEx]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x538b31
push 6
call fcn.006881b0
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x689a40
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x689ad2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x689ac4
mov ebp, dword [sym.imp.kernel32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x689abc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x689a85
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x68a220
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x68a23e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x68a233
pop esi
ret

Function at 0x68a300
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x68a369
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00689420
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.kernel32.dll_ReadFile]
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x68aa90
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x208
test eax, eax
push ebx
push esi
push edi
jne 0x68aabb
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
jne 0x68aae3
mov byte [esp + 0xc], al
jmp 0x68aae3
mov edi, dword [esp + 0x21c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0xc]
mov cl, byte [esp + ecx + 0xb]
cmp cl, 0x5c
je 0x68ab01
mov byte [eax], 0x5c
mov esi, dword [sym.imp.user32.dll_wsprintfA]
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
mov ebx, dword [sym.imp.shlwapi.dll_PathFileExistsA]
call edi
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x118]
push str._s_x.tmp
push edx
call esi
add esp, 0x10
lea eax, [esp + 0x110]
push eax
call ebx
test eax, eax
jne 0x68ab13
lea edi, [esp + 0x110]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00689420
mov edx, eax
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x208
ret

Function at 0x68ade0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x68ae30
push esi
push 1
call dword [sym.imp.user32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x68ae25
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.0068c480
add esp, 8
mov edi, eax
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
call dword [sym.imp.user32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret
Function at 0x68bdd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push eax
push 0x104
xor esi, esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x68be13
push edi
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xc]
push ecx
call fcn.0068c480
add esp, 8
pop edi
pop esi
add esp, 0x104
ret
mov eax, esi
pop esi
add esp, 0x104
ret

Function at 0x69a1a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x808c78]
xor edx, edx
cmp eax, edx
jne 0x69a1c6
xor eax, eax
mov byte [eax + 0x808b78], al
inc eax
cmp eax, 0x100
jl 0x69a1ae
mov dword [0x808c78], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x808b78
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x69a257
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x69a22a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x69a1f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x69a260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x69a2b3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x69a29a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6a0c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6cdbfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.006a1550
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x789e44
call fcn.006bf676
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x6a0cc3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006bf676
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x6a0cbc
push 0
mov ecx, eax
call fcn.00697dd0
mov dword [esi + 0xc], eax
jmp 0x6a0cc5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x6a0cc5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x6c1d03
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x6c1d3b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.006bfd90
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.006bfd68
jmp 0x6c1d47
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x6c33fd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x6c343f
call fcn.006c8ead
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x6c343f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x6c3436
xor eax, eax
jmp 0x6c3447
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.006c344d
pop edi
pop esi
pop ebx
ret 4

Function at 0x6c93dd
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection_1]
cmp dword [esp + 0x10], 0
jne 0x6c940b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue_1]
test eax, eax
je 0x6c9429
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.006c9343
jmp 0x6c9429
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6c9429
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.006c9343
test edi, edi
mov eax, edi
jne 0x6c9413
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection_1]
pop esi
pop ebx
ret 8
Function at 0x10001f28
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
push ebx
push esi
push edi
mov ebx, ecx
movlpd qword [ebp - 8], xmm0
jb 0x10001f77
ja 0x10001f49
cmp dword [ebp + 8], 0
jbe 0x10001f77
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edx, dword [ebp + 0x14]
and ecx, 7
shl ecx, 3
call fcn.10018390
xor byte [esi + ebx], al
add esi, 1
adc edi, 0
cmp edi, dword [ebp + 0xc]
jb 0x10001f4f
ja 0x10001f77
cmp esi, dword [ebp + 8]
jb 0x10001f4f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001f7c
Capabilities:
Hash data using fnv

Disassembly:
mov al, byte [ecx]
test al, al
je 0x10001f95
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
call fcn.10001f7c
mov edx, eax
mov eax, edx
ret

Function at 0x10001f98
Capabilities:
Hash data using fnv
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov eax, 0x5a4d
push edi
cmp word [esi], ax
jne 0x10002029
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x10002029
cmp word [eax + 0x14], 0x60
jb 0x10002029
xor edi, edi
cmp dword [eax + 0x74], edi
je 0x10002029
mov eax, dword [eax + 0x78]
test eax, eax
je 0x10002029
mov ebx, dword [eax + esi + 0x24]
mov edx, dword [eax + esi + 0x20]
add ebx, esi
mov ecx, dword [eax + esi + 0x1c]
add edx, esi
mov eax, dword [eax + esi + 0x18]
add ecx, esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10002029
mov ecx, dword [edx + edi*4]
add ecx, esi
mov al, byte [ecx]
test al, al
jne 0x10002007
mov eax, 0x811c9dc5
jmp 0x1000201e
movsx eax, al
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc ecx
call fcn.10001f7c
mov edx, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x10002030
inc edi
cmp edi, dword [ebp - 0xc]
jb 0x10001ff5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
movzx eax, word [ebx + edi*2]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x1000202b

Function at 0x100021a3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
movaps xmm0, xmmword [0x1001e1f0]
mov eax, dword [0x1013aec4]
mov dword [esp + 0x18], 0xc575967
mov dword [esp + 0x1c], 0x7b56477b
mov dword [esp + 0x20], 0x3c695554
mov byte [esp + 0x24], 1
movups xmmword [esp + 8], xmm0
test al, 1
jne 0x1000221e
xorps xmm0, xmm0
mov byte [0x1013ae7d], 1
movlpd qword [esp], xmm0
or eax, 1
mov edx, dword [esp + 4]
mov ecx, dword [esp]
mov dword [0x1013aec4], eax
mov al, byte [esp + ecx + 8]
mov byte [ecx + 0x1013ae60], al
add ecx, 1
adc edx, 0
jne 0x10002213
cmp ecx, 0x1d
jb 0x100021fc
push 0x1001858c
call fcn.1000ca28
pop ecx
mov eax, 0x1013ae60
mov esp, ebp
pop ebp
ret
Function at 0x100024a5
Capabilities:
Parse pe header
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d8
push ebx
push esi
push edi
mov edx, ecx
lea edi, [ebp - 0x50]
push 0x10
pop ecx
mov esi, edx
mov dword [ebp - 4], edx
mov eax, 0x5a4d
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
cmp word [ebp - 0x50], ax
jne 0x10002668
mov esi, dword [ebp - 0x14]
cmp esi, 0x40
jbe 0x100024f3
lea eax, [esi - 0x40]
push eax
lea eax, [edx + 0x40]
push eax
lea eax, [ebp - 0x6d8]
push eax
call fcn.1000d8f0
mov edx, dword [ebp - 4]
add esp, 0xc
add edx, esi
lea edi, [ebp - 0x148]
push 0x3e
pop ecx
mov esi, edx
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x148], 0x4550
jne 0x10002668
mov eax, dword [ebp - 0x144]
shr eax, 0x10
mov dword [ebp - 0x10], eax
imul eax, eax, 0x28
push eax
mov dword [ebp - 0xc], eax
lea eax, [edx + 0xf8]
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.1000d8f0
mov eax, dword [0x1013ae94]
add esp, 0xc
test eax, eax
jne 0x10002555
push ecx
mov ecx, 0x3285501
call fcn.1000203e
pop ecx
mov dword [0x1013ae94], eax
push 0x40
push 0x103000
push dword [ebp - 0xf8]
push 0
call eax
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x10002668
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x50]
push 0x10
pop ecx
push 0x3e
mov edi, ebx
add eax, ebx
rep movsd dword es:[edi], dword [esi]
pop ecx
push dword [ebp - 0xc]
mov edi, eax
lea esi, [ebp - 0x148]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x2d8]
add eax, 0xf8
push ecx
push eax
call fcn.1000d8f0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 0x40
jbe 0x100025c6
add eax, 0xffffffc0
push eax
lea eax, [ebp - 0x6d8]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.1000d8f0
add esp, 0xc
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x100025f2
lea esi, [ebp - 0x2c4]
push dword [esi - 4]
mov eax, dword [esi]
add eax, dword [ebp - 4]
push eax
mov eax, dword [esi - 8]
add eax, ebx
push eax
call fcn.1000d8f0
add esp, 0xc
lea esi, [esi + 0x28]
sub edi, 1
jne 0x100025d3
mov ecx, ebx
call fcn.1000241c
test eax, eax
je 0x10002606
call fcn.1000232b
test eax, eax
jne 0x10002619
push 0x8000
push 0
push ebx
call fcn.1000b685
call eax
xor ebx, ebx
jmp 0x10002668
test dword [ebp - 0x132], 0x2000
jne 0x1000262e
mov eax, dword fs:[0x30]
mov dword [eax + 8], ebx
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax + ebx + 0xc0]
test esi, esi
je 0x10002656
mov esi, dword [esi + ebx + 0xc]
test esi, esi
je 0x10002656
jmp 0x10002650
push 0
push 1
push ebx
call eax
lea esi, [esi + 4]
mov eax, dword [esi]
test eax, eax
jne 0x10002646
mov eax, dword [ebp - 0x120]
add eax, dword [ebp - 8]
push 0
push 1
push dword [ebp - 8]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret