joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407b70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x42b730]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xa8], 0
push 0x94
push 0
lea eax, [ebp - 0xa0]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0xa0], 0x94
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x407bc5
xor eax, eax
jmp 0x407d02
mov dword [ebp - 0xa4], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x90], 2
jne 0x407c6e
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push str..NtIce
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xffffffff
je 0x407c67
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [section..data], 1
jne 0x407c5d
push 0x422d34
call fcn.00410090
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
jmp 0x407d02
xor eax, eax
jmp 0x407d02
cmp dword [ebp - 0x90], 1
jne 0x407d00
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push str..Siwvid
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xffffffff
je 0x407cfc
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [section..data], 1
jne 0x407cf5
push 0x422d44
call fcn.00410090
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 4], eax
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
jmp 0x407d02
xor eax, eax
jmp 0x407d02
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041fff8
mov esp, ebp
pop ebp
ret
Function at 0x40c170
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x42b730]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x40c190
xor eax, eax
jmp 0x40c271
mov byte [ebp - 0x118], 0
mov dword [ebp - 0xc], 0
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x40c1c4
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40c1d1
xor eax, eax
jmp 0x40c271
mov dword [ebp - 4], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
cmp dword [eax + ecx*4], 0
je 0x40c265
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax]
jg 0x40c258
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x11c]
mov dword [edx + ecx + 8], eax
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x10]
push ecx
call sub.MSVCR90.dll_strcpy
add esp, 8
jmp 0x40c25a
jmp 0x40c265
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x40c1e9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fff8
mov esp, ebp
pop ebp
ret 4
Function at 0x40d8b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421408
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x42b730]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
push str.SoftWareAsiaStarSMS
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push str.con
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_945]
lea eax, [ebp - 0x34]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40d956
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x4c]
jmp 0x40da8e
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x40], 0x20
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2f], ecx
mov dword [ebp - 0x2b], ecx
mov dword [ebp - 0x27], ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], cl
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
push str.ladd
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x40d9c6
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0xf0
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x40], 0x20
push 0x20
push 0
lea ecx, [ebp - 0x30]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
push str.sadd
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x40da1d
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0xf4
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x38]
push eax
push 0
push str.cport
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x40da6a
cmp dword [ebp - 0x48], 0
je 0x40da6a
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x48]
mov dword [edx + 0xec], eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fff8
mov esp, ebp
pop ebp
ret
Function at 0x40fd30
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x40ff30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4214f9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x42b730]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x40ff65
xor eax, eax
jmp 0x41006d
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [ebp - 4], 0
push 0x1069
push str.c:_rlfs_rlfs_d.dat
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0xc
push 0x423768
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x410053
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
mov dx, word [0x423764]
mov word [ebp - 0x20], dx
xor eax, eax
mov dword [ebp - 0x1e], eax
mov word [ebp - 0x1a], ax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR90.dll_strlen
add esp, 4
push eax
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x20]
push edx
call sub.MSVCR90.dll_strlen
add esp, 4
push eax
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x24]
jmp 0x41006d
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0041fff8
mov esp, ebp
pop ebp
ret

Function at 0x410090
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 1
mov eax, dword [ebp + 8]
push eax
push fcn.00401980
call sub.mfc90.dll_Ordinal_1062
mov dword [ebp - 4], eax
push 0x1388
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4100dc
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 4], 0
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x410220
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 8], 0
jne 0x410317
cmp dword [ebp - 4], 3
jge 0x410317
push str.asdogaccessright
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x410306
lea eax, [ebp - 0x18]
push eax
call fcn.00401480
add esp, 4
test eax, eax
jne 0x41029b
mov dword [ebp - 0xc], 0
push str.GADE_WR_IAE01
call fcn.0040fd80
add esp, 4
jmp 0x4102a1
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], ecx
push str.asdogaccessright
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4102e1
push str.GADE_ER_CME01
call fcn.0040fd80
add esp, 4
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x410242
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4102fa
mov dword [0x42b9dc], 0
jmp 0x410304
mov dword [0x42b9dc], 1
jmp 0x410310
mov dword [0x42b9dc], 0
jmp 0x410317
cmp dword [ebp - 8], 0
jne 0x410376
push str.asdogaccessright
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x410346
push str.GADE_ER_CME02
call fcn.0040fd80
add esp, 4
xor eax, eax
jmp 0x4103b7
push str.GADE_WR_CMS01_
call fcn.0040fd80
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41036c
mov dword [0x42b9dc], 0
jmp 0x410376
mov dword [0x42b9dc], 1
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0xa
jge 0x4103ab
push 0x2ee0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4103a0
mov eax, dword [ebp - 8]
jmp 0x4103b7
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x41037d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4120db
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
xor ebx, ebx
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004121a7
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 9], 0x78
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 8], 0x41
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], bl
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x6e
mov dword [ebp - 0xa8], 0x94
call fcn.004121d6
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0xa8]
push ecx
call eax
test eax, eax
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
jne 0x412167
call fcn.004121a7
add esp, 0xc
xor eax, eax
jmp 0x4121a4
call fcn.004121a7
mov eax, dword [ebp - 0x98]
add esp, 0xc
sub eax, ebx
je 0x4121a1
dec eax
je 0x412181
dec eax
je 0x412193
jmp 0x412163
cmp dword [ebp - 0xa0], ebx
jne 0x41218d
push 4
jmp 0x4121a3
jbe 0x412193
push 5
jmp 0x4121a3
cmp dword [ebp - 0xa4], 5
sbb eax, eax
add eax, 7
jmp 0x4121a4
push 3
pop eax
pop ebx
leave
ret

Function at 0x4121d6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
mov eax, dword [0x428150]
and byte [ebp - 8], 0
add esp, 0xc
cmp eax, 1
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0x14], 0x6b
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
jne 0x412239
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x428150], eax
leave
ret

Function at 0x41223b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
push esi
push 0x4000000
push 1
push esi
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
mov byte [ebp - 0x1c], 0x5c
mov byte [ebp - 0x1b], 0x5c
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x5c
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x17], 0x4f
mov byte [ebp - 0x16], 0x53
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x39
mov byte [ebp - 0x13], 0x35
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0x10], 0x58
mov byte [ebp - 0xf], 0x44
call fcn.004122e7
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
jne 0x4122ac
mov eax, 0xc357
jmp 0x4122e3
push ebx
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0xc]
push 8
push eax
push esi
push esi
push 2
push edi
call fcn.00412372
push edi
mov ebx, eax
call fcn.00412410
add esp, 0x24
cmp ebx, esi
pop ebx
je 0x4122de
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 8]
mov byte [eax], cl
xor eax, eax
jmp 0x4122e3
mov eax, 0xc358
pop edi
pop esi
leave
ret
Function at 0x4122e7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0xe], 0x46
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xb], 0x65
call fcn.004121d6
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x412343
leave
ret
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x412372
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
and byte [ebp - 5], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x44
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x49
mov byte [ebp - 9], 0x74
mov byte [ebp - 0x12], 0x76
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 8], 0x72
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0xc], 0x43
mov byte [ebp - 7], 0x6f
mov byte [ebp - 0x10], 0x63
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 6], 0x6c
call fcn.004121d6
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4123de
leave
ret
push esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x412410
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0xf], 0x48
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x6c
call fcn.004121d6
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41246c
leave
ret
push esi
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004121a7
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x412489
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
push esi
push 0x80
push 3
push esi
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x18]
push 0xc0000000
push eax
mov byte [ebp - 0x18], 0x5c
mov byte [ebp - 0x17], 0x5c
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x5c
mov byte [ebp - 0x14], 0x48
mov byte [ebp - 0x13], 0x4f
mov byte [ebp - 0x12], 0x53
mov byte [ebp - 0x11], 0x54
mov byte [ebp - 0x10], 0x4e
mov byte [ebp - 0xf], 0x54
call fcn.004122e7
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x412523
push ebx
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
push 4
push eax
push esi
push esi
push 0x80002000
push edi
call fcn.00412372
push edi
mov ebx, eax
call fcn.00412410
add esp, 0x24
cmp ebx, esi
pop ebx
je 0x41251c
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
mov byte [eax], cl
xor eax, eax
jmp 0x412528
mov eax, 0xc358
jmp 0x412528
mov eax, 0xc357
pop edi
pop esi
leave
ret

Function at 0x41252c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, ax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x412542
pop es
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
test al, al
jne 0x412555
add al, 0x55
mov ecx, dword [ebp + 8]
pop esi
mov byte [ecx], al
xor al, al
leave
ret
Function at 0x418b2c
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x1c]
cmp ecx, 1
jle 0x418c07
add eax, 0x32
push esi
dec ecx
movzx edx, byte [eax + 1]
movzx esi, byte [eax - 1]
mov edx, dword [edx*4 + 0x42b06c]
xor edx, dword [esi*4 + 0x42a86c]
movzx esi, byte [eax]
add eax, 0x10
xor edx, dword [esi*4 + 0x42ac6c]
movzx esi, byte [eax - 0x12]
xor edx, dword [esi*4 + 0x42a46c]
mov dword [eax - 0x12], edx
movzx edx, byte [eax - 0xb]
movzx esi, byte [eax - 0xc]
mov edx, dword [edx*4 + 0x42b06c]
xor edx, dword [esi*4 + 0x42ac6c]
movzx esi, byte [eax - 0xd]
xor edx, dword [esi*4 + 0x42a86c]
movzx esi, byte [eax - 0xe]
xor edx, dword [esi*4 + 0x42a46c]
mov dword [eax - 0xe], edx
movzx edx, byte [eax - 7]
movzx esi, byte [eax - 8]
mov edx, dword [edx*4 + 0x42b06c]
xor edx, dword [esi*4 + 0x42ac6c]
movzx esi, byte [eax - 9]
xor edx, dword [esi*4 + 0x42a86c]
movzx esi, byte [eax - 0xa]
xor edx, dword [esi*4 + 0x42a46c]
mov dword [eax - 0xa], edx
movzx edx, byte [eax - 3]
movzx esi, byte [eax - 4]
mov edx, dword [edx*4 + 0x42b06c]
xor edx, dword [esi*4 + 0x42ac6c]
movzx esi, byte [eax - 5]
xor edx, dword [esi*4 + 0x42a86c]
movzx esi, byte [eax - 6]
xor edx, dword [esi*4 + 0x42a46c]
dec ecx
mov dword [eax - 6], edx
jne 0x418b41
pop esi
ret
Function at 0x419234
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp ebx, 0x40
push edi
jle 0x41927f
lea eax, [ebp - 0xe8]
push eax
call fcn.00419351
push ebx
lea eax, [ebp - 0xe8]
push dword [ebp + 8]
push eax
call fcn.00419379
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00419428
add esp, 0x18
lea esi, [ebp - 0x10]
push 0x10
pop ebx
jmp 0x419282
mov esi, dword [ebp + 8]
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
push 0x10
lea edi, [ebp - 0x50]
pop ecx
xor edx, edx
test ebx, ebx
rep stosd dword es:[edi], eax
jle 0x4192b7
lea eax, [ebp - 0x50]
sub esi, eax
lea eax, [edx + ebp - 0x50]
inc edx
cmp edx, ebx
mov cl, byte [eax + esi]
mov byte [edx + ebp - 0x91], cl
mov byte [eax], cl
jl 0x4192a2
xor eax, eax
jmp 0x4192bc
xor byte [eax + ebp - 0x90], 0x36
xor byte [eax + ebp - 0x50], 0x5c
inc eax
cmp eax, 0x40
jl 0x4192b9
lea eax, [ebp - 0xe8]
push eax
call fcn.00419351
lea eax, [ebp - 0x90]
push 0x40
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00419379
mov esi, dword [ebp + 0x10]
add esp, 0x10
lea eax, [ebp - 0xe8]
mov ecx, esi
push 4
sub eax, esi
pop edi
mov edx, edi
jmp 0x419308
mov ebx, dword [ecx + eax]
mov dword [ecx], ebx
add ecx, edi
dec edx
jne 0x419305
lea eax, [ebp - 0xe8]
push eax
call fcn.00419351
lea eax, [ebp - 0x50]
push 0x40
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00419379
add esp, 0x10
lea eax, [ebp - 0xe8]
lea ecx, [esi + 0x10]
mov edx, edi
jmp 0x419341
mov esi, dword [eax]
add eax, edi
mov dword [ecx], esi
add ecx, edi
dec edx
jne 0x41933e
pop edi
pop esi
pop ebx
leave
ret

Function at 0x419379
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
mov eax, esi
pop ecx
xor dword [eax], 0x41dfac36
add eax, 4
dec ecx
jne 0x419387
mov ecx, dword [esi + 0x10]
mov edi, dword [ebp + 0x10]
mov eax, ecx
mov edx, edi
shr eax, 3
lea ecx, [ecx + edi*8]
and eax, 0x3f
shl edx, 3
cmp ecx, edx
mov dword [esi + 0x10], ecx
jae 0x4193b3
inc dword [esi + 0x14]
push 0x40
mov ecx, edi
pop ebx
shr ecx, 0x1d
add dword [esi + 0x14], ecx
sub ebx, eax
cmp edi, ebx
jb 0x419406
push ebx
lea eax, [esi + eax + 0x18]
push dword [ebp + 0xc]
push eax
call fcn.00419efc
lea eax, [esi + 0x18]
push eax
push esi
call fcn.0041948c
add esp, 0x14
mov dword [ebp + 8], ebx
add ebx, 0x3f
cmp ebx, edi
jae 0x419402
mov eax, dword [ebp + 0xc]
lea eax, [ebx + eax - 0x3f]
push eax
push esi
call fcn.0041948c
add dword [ebp + 8], 0x40
pop ecx
pop ecx
add ebx, 0x40
jmp 0x4193e5
xor eax, eax
jmp 0x41940a
and dword [ebp + 8], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub edi, ecx
add ecx, edx
push edi
lea eax, [esi + eax + 0x18]
push ecx
push eax
call fcn.00419efc
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret