joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008f6e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
jne 0x10008f97
push str.native_memory_allocation_failed
push dword [esp + 0xc]
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
xor eax, eax
jmp 0x10008ff2
push esi
xor esi, esi
lea eax, [esp + 0x1c]
push esi
push esi
push esi
push esi
push eax
push edi
push dword [esp + 0x30]
push dword [esp + 0x30]
call dword [sym.imp.advapi32.dll_RegEnumValueA]
test eax, eax
jne 0x10008fe7
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x10]
inc eax
push ebp
push eax
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x2c0]
mov ebp, eax
test ebp, ebp
je 0x10008fe3
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
inc ecx
push edi
push ecx
push esi
push ebp
push ebx
call dword [edx + 0x340]
mov esi, ebp
pop ebp
pop ebx
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov eax, esi
pop esi
pop edi
ret 0x14

Function at 0x10009653
Capabilities:
Check if file exists

Disassembly:
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x10009689
cmp eax, 0x10b
je 0x10009689
cmp eax, 3
je 0x10009689
cmp eax, 0x35
je 0x10009689
cmp eax, 0x43
je 0x10009689
cmp eax, 5
je 0x10009689
cmp eax, 0x4cf
je 0x10009689
cmp eax, 0x41
je 0x10009689
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x1000af58
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x68
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x84]
push edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push 9
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp], eax
pop ecx
test eax, eax
je 0x1000b10d
mov ebp, dword [sym.imp.kernel32.dll_GetLocaleInfoA]
lea eax, [esp + 0x1c]
push 0x56
push eax
push 0x5c
push ebx
call ebp
test eax, eax
je 0x1000aff3
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
lea eax, [ecx + 1]
push eax
push ecx
lea eax, [esp + 0x24]
push str.__a_z___1_A_Z___a_z_
push eax
call fcn.1000b524
add esp, 0x10
test eax, eax
je 0x1000aff3
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
cmp eax, 4
je 0x1000affc
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov byte [eax], 0
push 9
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esi], eax
pop ecx
test eax, eax
je 0x1000b10d
push 9
push eax
push 0x5a
push ebx
call ebp
test eax, eax
jne 0x1000b02d
push 9
push dword [esi]
push 0x68
push ebx
call ebp
test eax, eax
jne 0x1000b02d
mov eax, dword [esi]
mov byte [eax], 0
push 9
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [edi], eax
pop ecx
test eax, eax
je 0x1000b10d
push 9
push eax
push 0x59
push ebx
call ebp
test eax, eax
jne 0x1000b074
push 9
push dword [edi]
push 0x67
push ebx
call ebp
test eax, eax
jne 0x1000b074
push 0x10017bdc
push dword [edi]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
push 0x10017be0
push dword [esi]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 0x10
push 9
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebp, dword [esp + 0x18]
pop ecx
mov dword [ebp], eax
test eax, eax
je 0x1000b10d
mov byte [eax], 0
push 0x10017be4
push dword [edi]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
mov ecx, dword [edi]
test eax, eax
jne 0x1000b0bf
push 0x10017be8
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
push 0x10017bec
push dword [esi]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 0x10
jmp 0x1000b0f8
push 0x10017bf0
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1000b0f8
push 0x10017be8
push dword [edi]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
push 0x10017bec
push dword [esi]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
push 0x10017bf4
push dword [ebp]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 0x18
push ebx
call fcn.1000b220
pop ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
test eax, eax
je 0x1000b10d
mov al, 1
jmp 0x1000b10f
xor al, al
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10014785
add esp, 0x68
ret
Function at 0x1000b220
Capabilities:
Get common file path
Get geographical location

Disassembly:
sub esp, 0x114
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x110], eax
push edi
push 0x10
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000b3b2
push ebx
push ebp
push esi
push 0xe
lea esi, [edi + 2]
push esi
push 0x1004
push dword [esp + 0x134]
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
xor ebx, ebx
mov ebp, 0x10017ab8
test eax, eax
je 0x1000b299
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
pop ecx
mov ecx, 0x3a8
cmp eax, ecx
jg 0x1000b2f8
je 0x1000b2f5
sub eax, ebx
je 0x1000b2e6
sub eax, 0x36a
je 0x1000b31b
sub eax, 0x3a
je 0x1000b31b
mov word [edi], 0x7043
push str.MS950
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1000b325
push 1
lea eax, [esp + 0x18]
mov word [esp + 0x14], 0x41fa
push eax
push 2
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, 0x92db
cmp word [esp + 0x14], ax
jne 0x1000b3ad
push str.MS950_HKSCS_XP
jmp 0x1000b3a5
push str.UTF_8
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
pop ecx
pop ecx
jmp 0x1000b29e
push ebp
jmp 0x1000b2eb
cmp eax, 0x3b5
jl 0x1000b299
cmp eax, 0x3b6
jle 0x1000b31b
cmp eax, 0x551
je 0x1000b31b
cmp eax, 0xd698
jne 0x1000b299
push str.GB18030
jmp 0x1000b2eb
mov word [edi], 0x534d
jmp 0x1000b29e
push ebp
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1000b3ad
push 0xd698
call dword [sym.imp.kernel32.dll_IsValidCodePage]
test eax, eax
je 0x1000b3ad
mov ebx, 0x105
lea eax, [esp + 0x18]
push ebx
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b3ad
mov ebp, str.FONTSSimSun18030.ttc
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esi, eax
pop ecx
pop ecx
cmp esi, ebx
jae 0x1000b3ad
lea eax, [esp + 0x18]
push ebp
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x20]
push 0x100175ac
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 0x10
test eax, eax
je 0x1000b3ad
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov dword [esp], str.GB18030
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
pop ecx
pop ecx
pop esi
pop ebp
mov eax, edi
pop ebx
mov ecx, dword [esp + 0x114]
pop edi
xor ecx, esp
call fcn.10014785
add esp, 0x114
ret
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x1000b9b2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1000b9c1
pop dword [ebp - 0x1c]
mov eax, 0x65941b3c
add eax, 0xaa6c9e85
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xef030f87
sub dword [ebp - 0x2c], 0xa0b0ca3c
mov dword [ebp - 0x28], 0xa0f10d3e
add dword [ebp - 0x28], 0x91423f07
mov dword [ebp - 0x24], 0x887960e5
add dword [ebp - 0x24], 0xc3d2e349
mov dword [ebp - 0x20], 0x68ed603e
add dword [ebp - 0x20], 0x97129fc2
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4813c331
sub eax, 0x381262d1
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x2a3d1c8b
sub dword [ebp - 0x2c], 0xb5cab335
mov dword [ebp - 0x28], 0xb0337443
add dword [ebp - 0x28], 0x9138ed32
mov dword [ebp - 0x24], 0xd8798328
sub dword [ebp - 0x24], 0x750a16bc
mov dword [ebp - 0x20], 0x73a972d9
sub dword [ebp - 0x20], 0x73a972d9
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x342b8
push 0
call eax
mov ecx, 0x18f3c7f2
sub ecx, 0x18f38d95
mov esi, eax
mov edx, 0x18844ebd
sub edx, 0x88218bd
add edx, dword [ebp - 0x1c]
mov ebx, 0xdf01c03c
add ebx, 0x645b76b
add dword [ebp - 8], ecx
mov edi, dword [edx]
add dword [ebp - 0xc], edx
xor edi, ebx
add dword [ebp - 0x10], edx
mov dword [esi], edi
xor dword [ebp - 0x14], eax
add esi, 0x9c61a821
sub esi, 0x9c61a81d
add edx, 0x5e9c078c
add edx, 0xa163f878
loop 0x1000bade
add eax, 0x81f5b1d2
sub eax, 0x81f4d58b
xor ebx, ebx
add ebx, eax
add eax, 0xc9b5997b
sub eax, 0xc9b59976
mov ecx, 0xbe95f939
sub ecx, 0xae95f939
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x2b5f4d47
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x258047eb
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10026260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push dword [ebp + 8]
call fcn.10025e77
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
invalid
inc ebp

Function at 0x10028910
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xc
mov eax, 0x10053993
call fcn.10037f69
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 8]
mov edi, dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoA]
call edi
test eax, eax
jne 0x10028977
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10028977
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.10037b36
pop ecx
mov esi, eax
cmp esi, ebx
je 0x10028977
mov eax, dword [ebp - 0x14]
mov byte [esi + eax], bl
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x1002897f
push esi
call fcn.10037990
pop ecx
xor eax, eax
call fcn.1003800e
ret
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
je 0x10028a1d
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10028a1d
push dword [esi + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10002ef0
mov dword [ebp - 0x18], 1
cmp dword [esi + 0x48], ebx
je 0x100289bf
push dword [esi + 0x48]
mov ecx, dword [ebp + 0x10]
call fcn.10002ef0
cmp dword [esi + 0x40], ebx
je 0x100289fe
mov eax, dword [esi + 0x44]
cmp eax, ebx
jbe 0x100289fe
inc eax
push eax
call fcn.10037b36
pop ecx
mov edi, eax
cmp edi, ebx
je 0x100289fe
push dword [esi + 0x44]
push dword [esi + 0x40]
push edi
call fcn.10038550
add esp, 0xc
mov eax, dword [esi + 0x44]
mov byte [edi + eax], bl
push edi
mov ecx, dword [ebp + 0x14]
call fcn.10002ef0
push edi
call fcn.10038091
pop ecx
push 1
push ebx
push ebx
push dword [esi + 0x1c]
call fcn.1003bdc0
mov ecx, eax
mov eax, dword [esi + 0x18]
xor edi, edi
add ecx, eax
adc edx, edi
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov byte [ebp - 4], 1
push esi
call fcn.10037990
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
jmp 0x10028979
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 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi

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 0x4023d3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402412
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402412
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402412
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402412
cmp dword [ecx + 0x74], 0xe
jbe 0x402412
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x408048
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 0x4080e5
push ebx
push esi
call fcn.00408011
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.00407fa5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x408092
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4080e4
push edi
push eax
call fcn.004069ab
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4080b2
call fcn.004069f9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4080e3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407fa5
add esp, 0x20
test eax, eax
jne 0x4080d1
push edi
call fcn.004069f9
jmp 0x4080d9
push ebx
call fcn.004069f9
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 0x4092f4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x436cd0
push 0x436cc8
push str.FlsAlloc
push 0x1f
call fcn.004091b3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409328
push dword [ebp + 8]
mov ecx, esi
call dword [0x414138]
call esi
jmp 0x40932e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x409372
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x436ce0
push 0x436cd8
push str.FlsGetValue
push 0x21
call fcn.004091b3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4093a9
push dword [ebp + 8]
mov ecx, esi
call dword [0x414138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4093b1
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x436ce8
push 0x436ce0
push str.FlsSetValue
push 0x22
call fcn.004091b3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4093eb
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x414138]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x402d54
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x1354008], 0x8088405
inc edx
mov dword [ebx + 0x1354008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x42f4b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f4e1
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x42f4d2
and ecx, 3
je 0x42f4f9
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x42f4e6
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42f504
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x42f53d
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f525
pop esi
and esi, 3
je 0x42f562
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x42f543
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x42f56c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f598
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f589
and ecx, 3
je 0x42f5b0
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x42f59d
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42f5b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x42f5c4
pop edi
pop ebx
ret
Function at 0x42fee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0042fb38
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x125e01f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x42ff8e
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f5b8
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f5b8
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x42ff3b
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x42ffdc
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f5b8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.0040293c
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x430006
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x430006
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x42fff6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x125e026
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0042fcd4
ret

Function at 0x43e7e8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x43e83c
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x1354814]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x1354c14]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x1355014]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x1355414]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x43e7f7
pop edi
pop esi
pop ebx
ret