joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449be0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449d8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449d6c
mov dl, 1
mov eax, dword [0x412178]
call fcn.00403be4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040494c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449d5b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00437c14
test al, al
je 0x449d4e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x449d9c
lea eax, [ebp - 0x254]
call fcn.004092d8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449d4e
xor eax, eax
push ebp
push 0x449d47
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x449dd4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449d30
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bbc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x449d30
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449d4e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449c51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415c54
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449d92
lea eax, [ebp - 0x260]
call fcn.0040494c
ret

Function at 0x44a6c0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x454bac]
cmp byte [eax + 0xa5], 0
jne 0x44a731
cmp dword [0x454bc4], 0
jne 0x44a6f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a67c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x454bc4], eax
cmp dword [0x454bc0], 0
jne 0x44a70d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x454bc0], eax
cmp dword [0x454bc8], 0
jne 0x44a731
push esp
push 0
push 0
push 0x44a620
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x454bc8], eax
pop edx
ret
Function at 0x44a828
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44a83f
add esp, 0xfffffff0
call fcn.00403f20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419ad4
mov eax, dword [0x452f60]
cmp word [eax + 2], 0
jne 0x44a867
mov eax, dword [0x452f60]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044bd94
mov eax, dword [0x453004]
cmp word [eax + 2], 0
jne 0x44a881
mov eax, dword [0x453004]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044bf8c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411d5c]
call fcn.00403be4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411d5c]
call fcn.00403be4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41bce8]
call fcn.00421930
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44aa08
mov eax, dword [0x452e8c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421d00
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44c52c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x452e8c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c914
test eax, eax
je 0x44a976
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ccc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c93c
test eax, eax
je 0x44a98a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404bbc
mov eax, dword [0x452d94]
cmp byte [eax], 0
jne 0x44a9be
mov eax, ebx
call fcn.0044ab30
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044c708
mov eax, ebx
call fcn.0044d0cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a9fe
call fcn.00403f78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44adb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x454bac]
cmp dword [eax + 0x30], 0
je 0x44ae5a
cmp dword [ebx + 0x94], 0
jne 0x44ae54
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ad40
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ae54
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44ae1a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ae54
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004140c4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ae29
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b9bc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44b9f1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a3c
jmp 0x44b9fe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c8e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c925
mov eax, esi
call fcn.0043341c
test al, al
je 0x44c925
mov eax, dword [ebx + 0x84]
call fcn.004331bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c925
push 0
mov eax, dword [ebx + 0x84]
call fcn.004331bc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44d21c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44d2ee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004049e4
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.004031d4
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x40
mov eax, dword [0x452fe8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
call fcn.00404e0c
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x44d2b8
mov eax, dword [0x452fe8]
mov eax, dword [eax]
call fcn.0044bc6c
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 4], 0x103
jne 0x44d2d8
mov eax, dword [0x452fe8]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
je 0x44d284
jmp 0x44d2d8
mov eax, dword [0x452e74]
mov edx, 0x44d304
call fcn.00404ffc
mov edx, ebx
call fcn.00404ffc
call fcn.004036dc
call fcn.0040286c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d2f5
lea eax, [ebp - 8]
call fcn.0040494c
ret
Function at 0x2e01a35d
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x2e01a683
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x2e01a6af
lea ecx, [ebp - 1]
call fcn.2e0193bf
mov al, byte [eax]
mov byte [ebp + 0xb], al
push 0x2e0435d0
lea eax, [ebp + 0xb]
push eax
call fcn.2e02ee42
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
cmp eax, edi
jne 0x2e01a6df
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xc]
call fcn.2e00e813
mov eax, dword [eax]
mov dword [ebp + 8], eax
push 0x2e041f6c
lea eax, [ebp + 8]
jmp 0x2e01a6a9
mov al, byte [ebp + 8]
mov byte [esi + 0x10], al
lea eax, [ebp - 8]
push eax
push edi
push esi
push 0x2e01a619
push edi
push edi
mov dword [ebp - 8], edi
call fcn.2e03079c
add esp, 0x18
push 0xffffffffffffffff
push dword [esi + 0xc]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xc]
call dword [0xec8b5510]
push ebp
mov ebp, esp
Function at 0x4442d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x34000]
push edi
jmp 0x4442ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4442f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4442e0
mov eax, 1
add ebx, ebx
jne 0x444303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x444314
jne 0x444333
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x444333
dec eax
add ebx, ebx
jne 0x444320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4442f8
add ebx, ebx
jne 0x44432f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x444385
xor ecx, ecx
sub eax, 3
jb 0x44434b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4443ba
sar eax, 1
mov ebp, eax
jmp 0x444356
add ebx, ebx
jne 0x444356
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x444324
inc ecx
add ebx, ebx
jne 0x444364
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x444324
add ebx, ebx
jne 0x444371
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x444366
jne 0x444382
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x444366
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4443a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x444396
jmp 0x4442e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4443a4
add edi, ecx
jmp 0x4442e6
pop esi
mov edi, esi
mov ecx, 0xc91
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4443c2
cmp byte [edi], 9
jne 0x4443c2
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 0x4443c7
lea edi, [esi + 0x42000]
mov eax, dword [edi]
or eax, eax
je 0x444436
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x63488]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x634c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4443f4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x634cc]
or eax, eax
je 0x444430
mov dword [ebx], eax
add ebx, 4
jmp 0x444411
call dword [esi + 0x634c8]
mov ebp, dword [esi + 0x634d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x44446a
sub esp, 0xffffff80
jmp 0x419fa6
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret
Function at 0x10001490
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10029040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1000
push edi
call fcn.1000c48a
add esp, 8
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.100094c1
mov esp, ebp
pop ebp
ret 4
Function at 0x100019a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10029040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], 0
test edi, edi
je 0x10001ad9
lea eax, [ebp - 8]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x40
push ebx
push esi
mov dword [ebp - 0x18], eax
call eax
push ebx
push esi
push edi
call fcn.1000beb0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
sub ecx, esi
mov byte [esi], 0xe9
sub ecx, 5
mov eax, ecx
mov byte [esi + 1], cl
shr eax, 8
mov byte [esi + 2], al
mov eax, ecx
push 0x40
push 0x3000
shr eax, 0x10
push ebx
shr ecx, 0x18
mov byte [esi + 3], al
push 0
mov byte [esi + 4], cl
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x10001ad9
mov byte [ebp - 0x10], 0xe9
cmp ebx, 5
jbe 0x10001a97
lea edx, [ebx - 5]
xor al, al
test edx, edx
je 0x10001a4e
xor ecx, ecx
nop
inc al
mov byte [ecx + esi + 5], 0x90
movzx ecx, al
cmp ecx, edx
jb 0x10001a40
lea eax, [ebx - 3]
push eax
mov eax, dword [ebp - 0x14]
add eax, 3
push eax
push edi
call fcn.1000beb0
mov eax, esi
add esp, 0xc
sub eax, edi
sub eax, 2
mov dword [ebp - 0xf], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + edi - 3], eax
mov al, byte [ebp - 0xc]
push 0
mov byte [ebx + edi + 1], al
push dword [ebp - 8]
push ebx
push esi
call dword [ebp - 0x18]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100094c1
mov esp, ebp
pop ebp
ret
mov ecx, ebx
mov byte [edi], 0xe9
sub ecx, edi
add ecx, 0xfffffffb
add ecx, esi
mov byte [edi + 1], cl
mov eax, ecx
shr eax, 8
mov byte [edi + 2], al
mov eax, ecx
shr eax, 0x10
push 0
mov byte [edi + 3], al
shr ecx, 0x18
mov byte [edi + 4], cl
push dword [ebp - 8]
push ebx
push esi
call dword [ebp - 0x18]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100094c1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100094c1
mov esp, ebp
pop ebp
ret

Function at 0x10001af0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10029040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
mov dword [ebp - 0xc], eax
push ebx
mov ebx, ecx
test eax, eax
jne 0x10001b1d
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100094c1
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push ebx
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push dword [ebp - 0xc]
push ebx
call fcn.1000beb0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.100094c1
mov esp, ebp
pop ebp
ret
Function at 0x10009030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x70
sub dword [ebp + 0xc], 1
jne 0x10009226
mov dword [esp + 8], 0x9045115e
mov dword [esp + 0xc], 0x567e2b28
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 8], 0xff51142a
mov dword [esp + 0xc], 0x45e41395
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], 0xbdadce92
mov dword [esp + 0xc], 0x5189c4b2
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 8], 0xaed39507
mov dword [esp + 0xc], 0xda37337
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], 0xa497ecb0
mov dword [esp + 0xc], 0xe43793b2
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 8], 0x6f9061ab
mov dword [esp + 0xc], 0xe68ac760
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 8], 0xd70a5d05
mov dword [esp + 0xc], 0x23330b75
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], 0xb7386046
mov dword [esp + 0xc], 0x658f70f4
mov dword [esp + 0x40], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], 0xdf8dbdb7
mov dword [esp + 0xc], 0x23cde4cb
mov dword [esp + 0x48], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], 0xf4b7fc68
mov dword [esp + 0xc], 0x2dcc0152
mov dword [esp + 0x50], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], 0xc1fd82d9
mov dword [esp + 0xc], 0x8052e7d1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], 0x6f906b8a
mov dword [esp + 0x60], eax
mov dword [esp + 0xc], 0xe68ac760
mov eax, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xc]
movaps xmm1, xmmword [esp + 0x10]
xorps xmm1, xmmword [esp + 0x40]
movaps xmmword [esp + 0x10], xmm1
movaps xmm1, xmmword [esp + 0x20]
xorps xmm1, xmmword [esp + 0x50]
movaps xmmword [esp + 0x20], xmm1
movaps xmm1, xmmword [esp + 0x30]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
xorps xmm1, xmmword [esp + 0x60]
movaps xmmword [esp + 0x30], xmm1
push 0x10026ca0
lea eax, [esp + 0x14]
push eax
sub esp, 0x18
mov ecx, esp
push str.SigTest.log
call fcn.10001500
call fcn.10001610
add esp, 0x20
push 0
push 0
push 0
push 0x10008fa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10014719
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10022b80
push 0x10022b78
push str.FlsAlloc
push 0x1e
call fcn.100145da
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001474d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10021158]
call esi
jmp 0x10014753
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10014797
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10022b90
push 0x10022b88
push str.FlsGetValue
push 0x20
call fcn.100145da
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100147ce
push dword [ebp + 8]
mov ecx, esi
call dword [0x10021158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1001686f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001690c
push ebx
push esi
call fcn.10016838
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100143f0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100168b9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001690b
push edi
push eax
call fcn.10012f14
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100168d9
call fcn.100129bb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001690a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100143f0
add esp, 0x20
test eax, eax
jne 0x100168f8
push edi
call fcn.100129bb
jmp 0x10016900
push ebx
call fcn.100129bb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001690f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10016920
pop esi
ret
push ebx
push edi
push esi
call fcn.10016838
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10012f14
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10016948
push ebx
push esi
push edi
call fcn.1000beb0
add esp, 0xc
push 0
call fcn.100129bb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10016d0c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001695d