joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007ef0
Capabilities:
Encode data using xor

Disassembly:
mov dword [ebp - 0x20], 0xfa1dccaa
sub dword [ebp - 0x20], 0xfa1dccaa
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x39a75937
add eax, 0xd65c9715
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x45b83
push 0
call eax
mov ecx, 0x18f231b3
sub ecx, 0x18f1ebbf
mov edi, eax
mov ebx, 0x8b3f1d73
add ebx, 0x84c6308d
add ebx, dword [ebp - 0x1c]
mov edx, 0xb42d6357
add edx, 0x73f5242e
mov esi, dword [ebx]
add dword [ebp - 0x18], esi
sub esi, edx
xor dword [ebp - 0x10], 0xcc6819fd
mov dword [edi], esi
sub dword [ebp - 4], 0x670e5391
add edi, 4
add ebx, 0xd4c4581e
sub ebx, 0xd4c4581a
loop 0x10007f57
add eax, 0xc7437ed7
sub eax, 0xc7427434
xor ebx, ebx
add ebx, eax
add eax, 0x10f2c18b
add eax, 0xef0d3e7a
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x1000fc60
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x74], 0x10
lea eax, [edi + 0x60]
jb 0x1000fc6e
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [edi + 0x78], eax
test eax, eax
je 0x1000fd92
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.IMS_createRef
push eax
call esi
push str.IMS_createRefEx
push dword [edi + 0x78]
mov dword [edi + 0x84], eax
call esi
push str.IMS_releaseRef
push dword [edi + 0x78]
mov dword [edi + 0x88], eax
call esi
push str.IMS_fetchDefaultUserInfoForClientId
push dword [edi + 0x78]
mov dword [edi + 0x8c], eax
call esi
push str.IMS_fetchAccessToken
push dword [edi + 0x78]
mov dword [edi + 0x90], eax
call esi
push str.IMS_registerClientToGroup
push dword [edi + 0x78]
mov dword [edi + 0x94], eax
call esi
push str.IMS_getProxyCredentialsFromIMSLibSession
push dword [edi + 0x78]
mov dword [edi + 0x98], eax
call esi
push str.IMS_releaseData
push dword [edi + 0x78]
mov dword [edi + 0x9c], eax
call esi
cmp dword [edi + 0x98], 0
mov dword [edi + 0xa0], eax
pop esi
je 0x1000fd8b
cmp dword [edi + 0x84], 0
je 0x1000fd8b
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x1000fd8b
cmp dword [edi + 0x8c], 0
je 0x1000fd8b
cmp dword [edi + 0x90], 0
je 0x1000fd8b
cmp dword [edi + 0x94], 0
je 0x1000fd8b
cmp dword [edi + 0x9c], 0
je 0x1000fd8b
test eax, eax
je 0x1000fd8b
cmp dword [edi + 0x5c], 0x10
lea eax, [edi + 0x48]
jb 0x1000fd55
mov eax, dword [eax]
push eax
push edi
call ecx
add esp, 8
mov dword [edi + 0x7c], eax
test eax, eax
je 0x1000fd8b
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x1000fd6d
mov ecx, dword [edi]
push 0
push ecx
push eax
mov eax, dword [edi + 0x98]
call eax
add esp, 0xc
test eax, eax
jne 0x1000fd8b
mov byte [edi + 0x80], 1
mov al, 1
pop edi
ret
mov byte [edi + 0x80], 0
xor al, al
pop edi
ret
Function at 0x100366e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e348
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004e2d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004e28c]
cmp eax, 0xffffffff
jne 0x10036716
xor ebx, ebx
jmp 0x1003671f
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003675f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003679e
test esi, esi
jne 0x100367a2
push 0x10035270
push 0x1004fad8
call fcn.10007e30
mov eax, dword [0x1004e28c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003675f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003678c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003678c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100367e4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x100367cd
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x100367a2
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10036730
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10036809
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x10036809
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10007e30
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100367f0
jmp 0x10036730
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401c66
pop dword [ebp - 0x28]
mov eax, 0xfbd2725d
add eax, 0x46daa09
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xcf3c7d2
add dword [ebp - 0x38], 0x415e7d79
mov dword [ebp - 0x34], 0xafa6cc98
add dword [ebp - 0x34], 0x828c7fad
mov dword [ebp - 0x30], 0x4911ee45
sub dword [ebp - 0x30], 0xfcc5aa17
mov dword [ebp - 0x2c], 0x674775f7
sub dword [ebp - 0x2c], 0x674775f7
lea eax, [ebp - 0x38]
push eax
mov eax, 0xa6dcd228
sub eax, 0xa69ca1d4
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x61892b
add dword [ebp - 0x38], 0x7410e02b
mov dword [ebp - 0x34], 0xc163f6b2
sub dword [ebp - 0x34], 0x7ff7953d
mov dword [ebp - 0x30], 0xa905d66b
add dword [ebp - 0x30], 0xba699601
mov dword [ebp - 0x2c], 0xaabb3e6f
sub dword [ebp - 0x2c], 0xaabb3e6f
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xbca45afd
sub eax, 0xbc642ad1
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x39d22
push 0
call eax
mov ecx, 0x135ea66f
sub ecx, 0x135e5113
mov edi, eax
mov edx, 0x5c24eb21
sub edx, 0x5be47b21
add edx, dword [ebp - 0x28]
mov esi, 0x39d55e6f
add esi, 0x6c55b3b8
sub dword [ebp - 0x14], esi
mov ebx, dword [edx]
sub dword [ebp - 0x20], ecx
xor ebx, esi
sub dword [ebp - 0x18], 0x7b1d100
mov dword [edi], ebx
add dword [ebp - 8], ebx
add edi, 4
add edx, 0x6f9c2233
sub edx, 0x6f9c222f
loop 0x401d88
add eax, 0x64d56561
add eax, 0x9b2be2e2
xor ebx, ebx
add ebx, eax
add eax, 0xd0414b1d
sub eax, 0xd0414b18
mov ecx, 0x22431ae3
add ecx, 0xddfce51d
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10009276
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94c
mov eax, dword [0x10046040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.100119dd
test eax, eax
js 0x10009504
push 0x104
lea eax, [ebp - 0x13c]
push eax
push dword [0x1004603c]
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
mov edi, 0x100012dc
push edi
lea eax, [ebp - 0x34]
push 0x2d
push eax
call fcn.1001e64a
add esp, 0xc
xor ebx, ebx
push ebx
lea eax, [ebp - 0x13c]
push eax
push ebx
push 0x10001354
push 2
push 0x10003584
mov byte [ebp - 0x2f], 0x5c
call fcn.1001e64a
test eax, eax
je 0x100092f3
mov eax, 0x80040201
jmp 0x10009504
push ebx
lea eax, [ebp - 0x13c]
push eax
push ebx
push 0x1000136c
push 3
push 0x10003234
call fcn.1001e64a
test eax, eax
jne 0x100092e9
push 1
lea eax, [ebp - 0x13c]
push eax
push ebx
push 0x10001388
push 4
mov esi, 0x10003304
push esi
call fcn.1001e64a
test eax, eax
jne 0x100092e9
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
push 0x800
lea eax, [ebp - 0x93c]
push eax
push 5
push dword [0x1004603c]
call ebx
test eax, eax
jne 0x10009357
mov byte [ebp - 0x93c], al
lea eax, [ebp - 0x93c]
push eax
push 0
push 0
push 0x100013a4
call fcn.1001e64a
test eax, eax
jne 0x100092e9
lea eax, [ebp - 0x2e]
push eax
push esi
call fcn.1001e64a
lea eax, [ebp - 0x2e]
push eax
push edi
push 0
push 0x100013a4
call fcn.1001e64a
test eax, eax
jne 0x100092e9
push eax
lea eax, [ebp - 0x13c]
push eax
push 0
push 0x100013c0
push 6
push 0x10003434
call fcn.1001e64a
test eax, eax
jne 0x100092e9
push eax
lea eax, [ebp - 0x13c]
push eax
push 0
push 0x100013dc
push 7
push 0x10003444
call fcn.1001e64a
test eax, eax
jne 0x100092e9
push eax
lea eax, [ebp - 0x13c]
push eax
push 0
push 0x100013fc
push 9
push 0x10003454
call fcn.1001e64a
test eax, eax
jne 0x100092e9
push 0x10001424
mov dword [ebp - 0x940], eax
mov dword [ebp - 0x944], eax
mov dword [ebp - 0x94c], eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov esi, eax
lea eax, [ebp - 0x940]
push eax
push 1
push 0
push 0x10001434
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009502
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x944]
push eax
push 0
lea eax, [ebp - 0x948]
push eax
push 0
push 0x100012a8
push dword [ebp - 0x940]
call edi
test eax, eax
jne 0x10009502
mov eax, dword [ebp - 0x944]
inc eax
add eax, esi
mov dword [ebp - 0x944], eax
call fcn.10009f0e
mov esi, esp
test esi, esi
je 0x10009502
lea eax, [ebp - 0x94c]
push eax
push esi
lea eax, [ebp - 0x948]
push eax
push 0
push 0x100012a8
push dword [ebp - 0x940]
call edi
test eax, eax
jne 0x10009502
push dword [ebp - 0x940]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10001424
push dword [ebp - 0x944]
push esi
call fcn.1001e64a
push 0x10001450
lea eax, [ebp - 0x13c]
push 0x106
push eax
call fcn.1001e64a
add esp, 0xc
push 0x800
lea eax, [ebp - 0x93c]
push eax
push 1
push dword [0x1004603c]
call ebx
test eax, eax
jne 0x10009502
mov eax, 0xc7ce0017
jmp 0x10009504
xor eax, eax
lea esp, [ebp - 0x958]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009f00
leave
ret
Function at 0x10009bb9
Capabilities:
Accept command line arguments

Disassembly:
push 8
push 0x10042958
call fcn.1000aecb
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10009c47
call fcn.1000ae99
test eax, eax
jne 0x10009bdd
xor eax, eax
jmp 0x10009d13
call fcn.1000a293
test eax, eax
jne 0x10009bed
call fcn.1000aeb7
jmp 0x10009bd6
call fcn.1000ae4d
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x10049d38], eax
call fcn.1001e64a
mov dword [0x10048aa4], eax
call fcn.1001e64a
test eax, eax
jns 0x10009c17
call fcn.10009f6a
jmp 0x10009be6
call fcn.1001e64a
test eax, eax
js 0x10009c40
call fcn.1000aa85
test eax, eax
js 0x10009c40
push 0
call fcn.1001e64a
pop ecx
test eax, eax
jne 0x10009c40
inc dword [0x10048aa0]
jmp 0x10009d10
call fcn.1000aa32
jmp 0x10009c10
xor edi, edi
cmp eax, edi
jne 0x10009ca6
cmp dword [0x10048aa0], edi
jle 0x10009bd6
dec dword [0x10048aa0]
mov dword [ebp - 4], edi
cmp dword [0x10048ad8], edi
jne 0x10009c6b
call fcn.1000a7c0
cmp dword [ebp + 0x10], edi
jne 0x10009c7f
call fcn.1000aa32
call fcn.10009f6a
call fcn.1000aeb7
mov dword [ebp - 4], 0xfffffffe
call fcn.10009c92
jmp 0x10009d10
cmp eax, 2
jne 0x10009d04
call fcn.10009f36
push 0x214
push 1
call fcn.1001e64a
pop ecx
pop ecx
mov esi, eax
cmp esi, edi
je 0x10009bd6
push esi
push dword [0x10046048]
push dword [0x10048ab8]
call dword [sym.imp.kernel32.dll_DecodePointer]
call eax
test eax, eax
je 0x10009cf8
push edi
push esi
call fcn.10009fad
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov dword [esi], eax
or dword [esi + 4], 0xffffffff
jmp 0x10009d10
push esi
call fcn.1001e64a
pop ecx
jmp 0x10009bd6
cmp eax, 3
jne 0x10009d10
push edi
call fcn.1001e64a
pop ecx
xor eax, eax
inc eax
call fcn.1000af10
ret 0xc

Function at 0x10009f00
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10046040]
jne 0x1000b4a0
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10048cf8], eax
mov dword [0x10048cf4], ecx
mov dword [0x10048cf0], edx
mov dword [0x10048cec], ebx
mov dword [0x10048ce8], esi
mov dword [0x10048ce4], edi
mov word [0x10048d10], ss
mov word [0x10048d04], cs
mov word [0x10048ce0], ds
mov word [0x10048cdc], es
mov word [0x10048cd8], fs
mov word [0x10048cd4], gs
pushfd
pop dword [0x10048d08]
mov eax, dword [ebp]
mov dword [0x10048cfc], eax
mov eax, dword [ebp + 4]
mov dword [0x10048d00], eax
lea eax, [ebp + 8]
mov dword [0x10048d0c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10048c48], 0x10001
mov eax, dword [0x10048d00]
mov dword [0x10048bfc], eax
mov dword [0x10048bf0], 0xc0000409
mov dword [0x10048bf4], 1
mov eax, dword [0x10046040]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10046044]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10048c40], eax
push 1
call fcn.1000ce11
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10001564
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10048c40], 0
jne 0x1000b58c
push 1
call fcn.1000ce11
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x1001100d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100418d8
call fcn.10037358
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1001106e
call fcn.1000e3e2
mov esi, eax
jmp 0x10011146
push dword [ebp - 0x41c]
push esi
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1001108c
call fcn.1000e3e2
jmp 0x1001113d
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x10011082
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x41c], esi
cmp eax, esi
jae 0x100110bf
mov esi, 0x8007000e
jmp 0x1001113f
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1001e64a
mov dword [ebp - 4], 1
jmp 0x100110f3
cmp dword [ebp - 0x418], 0
je 0x100110b5
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10011082
mov eax, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor edx, edx
mov word [eax + ecx*2], dx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.1001e64a
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001115f
lea ecx, [ebp - 0x418]
call fcn.10011269
mov eax, esi
call fcn.100373b1
ret 0x10
Function at 0x1001e64a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1001e659
pop dword [ebp - 0x24]
mov eax, 0x1001e659
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xf3f2c9bc
add dword [ebp - 0x34], 0x5a5f7b8f
mov dword [ebp - 0x30], 0xe113aea6
add dword [ebp - 0x30], 0x511f9d9f
mov dword [ebp - 0x2c], 0x1fd95a08
sub dword [ebp - 0x2c], 0xd38d15da
mov dword [ebp - 0x28], 0xa571c96d
add dword [ebp - 0x28], 0x5a8e3693
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x3a54ffe
add dword [ebp - 0x34], 0x70cd1958
mov dword [ebp - 0x30], 0x9867684a
add dword [ebp - 0x30], 0xa904f92b
mov dword [ebp - 0x2c], 0xf1f3f7a0
add dword [ebp - 0x2c], 0x717b74cc
mov dword [ebp - 0x28], 0xefbab186
sub dword [ebp - 0x28], 0xefbab186
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xca3a68e9
add eax, 0x45c5a717
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x46d24
push 0
call eax
mov ecx, 0x5381
mov esi, eax
mov edx, 0x10051800
add edx, dword [ebp - 0x24]
mov ebx, 0x2a8c0abd
sub dword [ebp - 0xc], esi
mov edi, dword [edx]
sub dword [ebp - 8], 0xb0abc60b
xor edi, ebx
add dword [ebp - 0x14], 0x3e9280fc
mov dword [esi], edi
sub dword [ebp - 0x14], edi
add esi, 4
add edx, 0x695332a7
sub edx, 0x695332a3
loop 0x1001e75f
add eax, 0x140d7
mov ebx, eax
add eax, 5
mov ecx, 0x3bc4a5df
sub ecx, 0x2bc4a5df
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x10024a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10024a7f
pop dword [ebp - 0x24]
mov eax, 0x10024a7f
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3b468
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x3aad7c87
sub ecx, 0x3aad321e
mov ebx, eax
mov esi, 0x2202f139
add esi, 0xee017ac7
add esi, dword [ebp - 0x24]
mov edx, 0xc6384cdd
sub edx, 0x26bbbd2
add dword [ebp - 0x20], 0xe09731c5
mov edi, dword [esi]
xor dword [ebp - 0x14], 0x4431f016
add edi, edx
sub dword [ebp - 4], 0x73917c51
mov dword [ebx], edi
xor dword [ebp - 0x18], esi
add ebx, 0xde368f04
sub ebx, 0xde368f00
add esi, 0x6b300000
add esi, 0x94d00004
loop 0x10024ad4
add eax, 0x11c77
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x402030
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40e044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40e03c]
sub esp, 4
test ebx, ebx
je 0x40207b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402074
test esi, esi
je 0x402074
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402050
mov dword [esp], 0x40e044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402260
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4022b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402388
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4022ee
cmp eax, 4
jne 0x402310
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4022fe
cmp edx, 4
je 0x4022fe
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402260
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.10007073
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.10007073
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10007073
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10007073
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10007073
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.10007073
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.10007073
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.10007073
push 0xd008
push edi
call fcn.10007073
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10007073
int3

Function at 0x10007073
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10007082
pop dword [ebp - 0x40]
mov eax, 0x10007082
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3d075
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x57ff
xor ebx, ebx
add ebx, eax
mov esi, 0x10018600
add esi, dword [ebp - 0x40]
mov edx, 0x409ccfc1
xor dword [ebp - 0x3c], 0xfc451721
mov edi, dword [esi]
add dword [ebp - 0x34], ecx
add edi, edx
sub dword [ebp - 0x3c], ebx
mov dword [ebx], edi
xor dword [ebp - 0x2c], 0x836607e0
add ebx, 0xc4654441
sub ebx, 0xc465443d
add esi, 4
loop 0x100070c7
add eax, 0x8ec6786e
sub eax, 0x8ec5259f
xor ebx, ebx
add ebx, eax
add eax, 0x6725c722
add eax, 0x98da38e3
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10001dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10001dcf
pop dword [ebp - 0x48]
mov eax, 0xa04095a9
sub eax, 0x904077da
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x3f661
push 0
mov eax, 0xcf81498
sub eax, 0xfcf622bc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x545c
mov edx, eax
mov edi, 0x1bd8fea
sub edi, 0xf1b5adea
add edi, dword [ebp - 0x48]
mov esi, 0x7270caf5
sub dword [ebp - 0x18], 0xfbba9918
mov ebx, dword [edi]
add dword [ebp - 0x40], ecx
xor ebx, esi
add dword [ebp - 0x34], eax
mov dword [edx], ebx
xor dword [ebp - 8], esi
add edx, 0x1d2d4187
sub edx, 0x1d2d4183
add edi, 4
loop 0x10001e22
add eax, 0x14443
mov ebx, eax
add eax, 5
mov ecx, 0x8389fd1a
sub ecx, 0x7389fd1a
add ecx, dword [ebp - 0x48]
call ebx
leave
ret