joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7072f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x7073b8
sub esp, 0x2c
mov dword [esp + 0x15], 0
lea edi, [esp + 0x18]
xor eax, eax
call fcn.0045f34b
mov byte [esp + 0x15], 0x6e
mov byte [esp + 0x16], 0x65
mov byte [esp + 0x17], 0x74
mov byte [esp + 0x18], 0x77
mov byte [esp + 0x19], 0x6f
mov byte [esp + 0x1a], 0x72
mov byte [esp + 0x1b], 0x6b
mov byte [esp + 0x1c], 0x20
mov byte [esp + 0x1d], 0x69
mov byte [esp + 0x1e], 0x73
mov byte [esp + 0x1f], 0x20
mov byte [esp + 0x20], 0x75
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], 0x65
mov byte [esp + 0x24], 0x61
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x26], 0x68
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x62
mov byte [esp + 0x29], 0x6c
mov byte [esp + 0x2a], 0x65
mov dword [esp], 0
lea eax, [esp + 0x15]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x16
call fcn.0044b7a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
add esp, 0x2c
ret
call fcn.0045dcb0
jmp fcn.007072f0

Function at 0x707720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x7077f3
sub esp, 0x2c
mov dword [esp + 0x23], 0xf9722547
mov dword [esp + 0x24], 0xef97225
mov dword [esp + 0x28], 0x7652290e
lea edi, [esp + 0x17]
lea esi, [0x7d9a10]
call fcn.0045f842
xor eax, eax
jmp 0x707778
movzx edi, byte [esp + ebx + 0x23]
lea edx, [edi + edx + 8]
mov byte [esp + ebp + 0x23], dl
xchg esi, eax
mov byte [esp + ebx + 0x23], al
xchg esi, eax
add eax, 2
cmp eax, 0xc
jge 0x7077aa
movzx edx, byte [esp + eax + 0x17]
movzx ebx, byte [esp + eax + 0x18]
mov ebp, edx
xor edx, ebx
xchg ebp, eax
movzx eax, al
xchg ebp, eax
add edx, eax
cmp ebp, 9
jae 0x7077e6
movzx ebx, bl
movzx esi, byte [esp + ebp + 0x23]
lea esi, [esi + edx + 8]
cmp ebx, 9
jb 0x707762
jmp 0x7077da
mov dword [esp], 0
lea eax, [esp + 0x23]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.0044b7a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
add esp, 0x2c
ret
mov eax, ebx
mov ecx, 9
call fcn.0045f150
mov eax, ebp
mov ecx, 9
call fcn.0045f150
nop
call fcn.0045dcb0
jmp fcn.00707720
Function at 0x707a30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x707aef
sub esp, 0x28
mov dword [esp + 0x17], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x17], 0x32
mov byte [esp + 0x18], 0x38
mov byte [esp + 0x19], 0x6d
mov byte [esp + 0x1a], 0x49
mov byte [esp + 0x1b], 0x6d
mov byte [esp + 0x1c], 0x6f
mov byte [esp + 0x1d], 0x6a
mov byte [esp + 0x1e], 0x79
mov byte [esp + 0x1f], 0x7a
mov byte [esp + 0x20], 0x5a
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], 0x79
mov byte [esp + 0x23], 0x72
mov byte [esp + 0x24], 0x42
mov byte [esp + 0x25], 0x68
mov byte [esp + 0x26], 0x78
mov dword [esp], 0
lea eax, [esp + 0x17]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
call fcn.0044b7a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
add esp, 0x28
ret
call fcn.0045dcb0
jmp fcn.00707a30

Function at 0x707b00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x707b88
sub esp, 0x20
mov dword [esp + 0x16], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x16], 0x65
mov byte [esp + 0x17], 0x72
mov byte [esp + 0x18], 0x72
mov byte [esp + 0x19], 0x31
mov byte [esp + 0x1a], 0x38
mov byte [esp + 0x1b], 0x3a
mov byte [esp + 0x1c], 0x20
mov byte [esp + 0x1d], 0x25
mov byte [esp + 0x1e], 0x76
mov dword [esp], 0
lea eax, [esp + 0x16]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.0044b7a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
add esp, 0x20
ret
call fcn.0045dcb0
jmp fcn.00707b00

Function at 0x707d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x707e4c
sub esp, 0x28
mov dword [esp + 0x1f], 0xce724b65
mov dword [esp + 0x20], 0x9ece724b
mov dword [esp + 0x24], 0x5e25b957
mov dword [esp + 0x15], 0x6010804
mov dword [esp + 0x17], 0x3010601
mov dword [esp + 0x1b], 0x5030101
xor eax, eax
jmp 0x707dd1
movzx edi, byte [esp + ebx + 0x1f]
lea edx, [edi + edx - 0x34]
mov byte [esp + ebp + 0x1f], dl
xchg esi, eax
mov byte [esp + ebx + 0x1f], al
xchg esi, eax
add eax, 2
cmp eax, 0xa
jge 0x707e03
movzx edx, byte [esp + eax + 0x15]
movzx ebx, byte [esp + eax + 0x16]
mov ebp, edx
xor edx, ebx
xchg ebp, eax
movzx eax, al
xchg ebp, eax
add edx, eax
cmp ebp, 9
jae 0x707e3f
movzx ebx, bl
movzx esi, byte [esp + ebp + 0x1f]
lea esi, [esi + edx - 0x34]
cmp ebx, 9
jb 0x707dbb
jmp 0x707e33
mov dword [esp], 0
lea eax, [esp + 0x1f]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.0044b7a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
add esp, 0x28
ret
mov eax, ebx
mov ecx, 9
call fcn.0045f150
mov eax, ebp
mov ecx, 9
call fcn.0045f150
nop
call fcn.0045dcb0
jmp fcn.00707d70
Function at 0x70b5b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x70b673
sub esp, 0x2c
mov dword [esp + 0x16], 0
lea edi, [esp + 0x18]
xor eax, eax
call fcn.0045f34b
mov byte [esp + 0x16], 0x31
mov byte [esp + 0x17], 0x30
mov byte [esp + 0x18], 0x34
mov byte [esp + 0x19], 0x2e
mov byte [esp + 0x1a], 0x32
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x35
mov byte [esp + 0x1d], 0x2e
mov byte [esp + 0x1e], 0x31
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x39
mov byte [esp + 0x21], 0x2e
mov byte [esp + 0x22], 0x31
mov byte [esp + 0x23], 0x30
mov byte [esp + 0x24], 0x31
mov byte [esp + 0x25], 0x3a
mov byte [esp + 0x26], 0x31
mov byte [esp + 0x27], 0x31
mov byte [esp + 0x28], 0x35
mov byte [esp + 0x29], 0x35
mov byte [esp + 0x2a], 0x35
mov dword [esp], 0
lea eax, [esp + 0x16]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x15
call fcn.0044b7a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
add esp, 0x2c
ret
call fcn.0045dcb0
jmp fcn.0070b5b0

Function at 0x70b680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x70b749
sub esp, 0x28
mov dword [esp + 0x15], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x15], 0x31
mov byte [esp + 0x16], 0x36
mov byte [esp + 0x17], 0x4d
mov byte [esp + 0x18], 0x6a
mov byte [esp + 0x19], 0x55
mov byte [esp + 0x1a], 0x45
mov byte [esp + 0x1b], 0x59
mov byte [esp + 0x1c], 0x56
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x6d
mov byte [esp + 0x1f], 0x4d
mov byte [esp + 0x20], 0x47
mov byte [esp + 0x21], 0x68
mov byte [esp + 0x22], 0x47
mov byte [esp + 0x23], 0x4f
mov byte [esp + 0x24], 0x57
mov byte [esp + 0x25], 0x67
mov byte [esp + 0x26], 0x41
mov dword [esp], 0
lea eax, [esp + 0x15]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
call fcn.0044b7a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
add esp, 0x28
ret
call fcn.0045dcb0
jmp fcn.0070b680
Function at 0x70b7f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x70b8ca
sub esp, 0x38
mov dword [esp + 0x26], 0xc07838fa
lea edi, [esp + 0x28]
lea esi, [0x78a2a1]
call fcn.0045f838
mov dword [esp + 0x14], 0x4060205
lea edi, [esp + 0x16]
lea esi, [0x7d9f02]
call fcn.0045f838
xor eax, eax
jmp 0x70b84f
movzx edi, byte [esp + ebx + 0x26]
lea edx, [edi + edx + 0x69]
mov byte [esp + ebp + 0x26], dl
xchg esi, eax
mov byte [esp + ebx + 0x26], al
xchg esi, eax
add eax, 2
cmp eax, 0x12
jge 0x70b881
movzx edx, byte [esp + eax + 0x14]
movzx ebx, byte [esp + eax + 0x15]
mov ebp, edx
xor edx, ebx
xchg ebp, eax
movzx eax, al
xchg ebp, eax
add edx, eax
cmp ebp, 0x12
jae 0x70b8bd
movzx ebx, bl
movzx esi, byte [esp + ebp + 0x26]
lea esi, [esi + edx + 0x69]
cmp ebx, 0x12
jb 0x70b839
jmp 0x70b8b1
mov dword [esp], 0
lea eax, [esp + 0x26]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
call fcn.0044b7a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
add esp, 0x38
ret
mov eax, ebx
mov ecx, 0x12
call fcn.0045f150
mov eax, ebp
mov ecx, 0x12
call fcn.0045f150
nop
call fcn.0045dcb0
jmp fcn.0070b7f0

Function at 0x70b8e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x70b9b4
sub esp, 0x28
mov dword [esp + 0x20], 0x75678334
mov dword [esp + 0x24], 0x86927575
mov dword [esp + 0x16], 0x3070606
mov dword [esp + 0x18], 0x5010307
mov dword [esp + 0x1c], 0x3020101
xor eax, eax
jmp 0x70b939
movzx edi, byte [esp + ebx + 0x20]
lea edx, [edi + edx - 0x29]
mov byte [esp + ebp + 0x20], dl
xchg esi, eax
mov byte [esp + ebx + 0x20], al
xchg esi, eax
add eax, 2
cmp eax, 0xa
jge 0x70b96b
movzx edx, byte [esp + eax + 0x16]
movzx ebx, byte [esp + eax + 0x17]
mov ebp, edx
xor edx, ebx
xchg ebp, eax
movzx eax, al
xchg ebp, eax
add edx, eax
cmp ebp, 8
jae 0x70b9a7
movzx ebx, bl
movzx esi, byte [esp + ebp + 0x20]
lea esi, [esi + edx - 0x29]
cmp ebx, 8
jb 0x70b923
jmp 0x70b99b
mov dword [esp], 0
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.0044b7a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
add esp, 0x28
ret
mov eax, ebx
mov ecx, 8
call fcn.0045f150
mov eax, ebp
mov ecx, 8
call fcn.0045f150
nop
call fcn.0045dcb0
jmp fcn.0070b8e0
Function at 0x70cae0
Capabilities:
Create thread

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [sym.imp.msvcrt.dll__errno]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll__beginthread]
cmp eax, 0xffffffff
jne 0x70cb48
call ebx
cmp dword [eax], 0xd
je 0x70cb50
call ebx
mov ebx, dword [eax]
mov dword [esp], 2
call dword [0x7292e4]
mov dword [esp + 4], str.runtime:_failed_to_create_new_OS_thread___d__n
mov dword [esp + 8], ebx
mov dword [esp], eax
call fcn.0070c7d0
call sub.msvcrt.dll_abort
lea esi, [esi]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
add ebp, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
cmp ebp, 0x14
jne 0x70caf7
jmp 0x70cb18
Function at 0x7121b0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00713170
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00713170
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x712210
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x9460ec]
test esi, esi
jle 0x712330
mov eax, dword [0x9460f0]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x712244
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x7122c7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x712230
mov dword [esp], ebx
call fcn.00712c00
mov edi, eax
test eax, eax
je 0x712357
mov eax, dword [0x9460f0]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00712d40
mov edx, dword [0x9460f0]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x712337
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x7122c0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x7122d0
add dword [0x9460ec], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x9460f0]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x7122c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.007121b0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x71224e
mov eax, dword [0x9460f0]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.007121b0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.007121b0
lea esi, [esi]
nop
Function at 0x712870
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x946108
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x946100]
sub esp, 4
test ebx, ebx
je 0x7128c5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x7128be
test esi, esi
je 0x7128be
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x7128a0
mov dword [esp], 0x946108
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x712c00
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x712c25
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x712c30
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x712c25
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x712c78
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x712c6e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x712c7a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x712c60
xor eax, eax
pop ebx
pop esi
ret
Function at 0x403030
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x452094]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x403079
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403079
push 0xc00
call eax
test eax, eax
jne 0x403118
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x403118
cmp eax, 0x104
ja 0x403118
cmp word [ebp + eax*2 - 0x2d6], 0x5c
je 0x4030b3
mov ecx, 0x5c
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
mov cl, byte [str.userenv]
push esi
mov esi, str.userenv
test cl, cl
je 0x403117
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + eax*2]
inc esi
mov eax, edi
test cl, cl
je 0x4030f0
nop dword [eax + eax]
movzx ecx, cl
mov word [eax], cx
add eax, 2
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x4030e0
xor ecx, ecx
mov dword [eax], 0x64002e
push 8
mov dword [eax + 4], 0x6c006c
mov word [eax + 8], cx
lea eax, [ebp - 0x2d4]
push ecx
push eax
call ebx
mov cl, byte [esi]
test cl, cl
jne 0x4030d4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00437305
mov esp, ebp
pop ebp
ret
Function at 0x406ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x20
push edi
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [esi + 0x78], 0
cmova eax, ecx
mov dword [esi + 0x7c], 0
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x58], 0
cmp eax, dword [esi + 0x20]
je 0x406ff1
mov eax, ecx
lea ebx, [esi + 0xd0]
mov dword [ebp + 8], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x406fc9
mov dword [ebx], 0
mov eax, dword [ebx - 8]
mov edi, dword [ecx]
push ecx
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [eax + 4]
call eax
mov ecx, edi
test edi, edi
jne 0x406fb1
mov eax, dword [ebp + 8]
add ebx, 0x28
sub eax, 1
mov dword [ebp + 8], eax
jne 0x406fa5
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x406fec
mov eax, dword [esi + 0x14]
push ecx
push eax
mov eax, dword [eax + 4]
call eax
mov dword [esi + 0x5c], 0
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea eax, [ecx + 5]
lea eax, [eax + eax*4]
lea edi, [esi + eax*8]
lea eax, [ecx + 1]
mov dword [ebp - 4], edi
mov dword [esi + 0x58], eax
lea eax, [edi + 0x20]
push eax
mov dword [ebp + 8], eax
call fcn.00408720
mov ebx, eax
add edi, 0x1c
test ebx, ebx
jne 0x4070ef
push edi
call fcn.00408720
mov ebx, eax
test ebx, ebx
jne 0x4070ef
push dword [ebp + 8]
call fcn.00408840
mov ebx, eax
test ebx, ebx
jne 0x4070ef
push edi
call fcn.00408840
mov ebx, eax
test ebx, ebx
jne 0x4070ef
push dword [ebp - 4]
call fcn.00407ff0
mov ebx, eax
test ebx, ebx
je 0x407101
mov dword [esi + 0x44], 0
lea edi, [esi + 0xe4]
mov dword [ebp - 4], 0x20
cmp dword [edi - 4], 0
lea eax, [edi + 4]
mov dword [ebp + 8], eax
je 0x4070d3
push eax
call fcn.00408840
push edi
call fcn.00408840
lea eax, [edi - 4]
push eax
call fcn.00408a60
jmp 0x4070d6
mov dword [ebp + 8], eax
push edi
call fcn.00408870
push dword [ebp + 8]
call fcn.00408870
add edi, 0x28
sub dword [ebp - 4], 1
jne 0x4070b0
test ebx, ebx
jle 0x4070fa
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
je 0x407101
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], 0
jne 0x40711a
cmp dword [esi + 0x40], 0
jne 0x40711a
cmp dword [esi + 0x3c], 0
jne 0x40711a
mov dword [esi + 0x44], 0
xor eax, eax
cmp dword [esi + 0x44], eax
pop edi
cmovne ebx, eax
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4084d0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edx, dword [esi + 8]
and edx, 0x3f
mov byte [edx + esi + 0x40], 0x80
inc edx
cmp edx, 0x38
jbe 0x40851f
cmp edx, 0x40
je 0x40850b
mov ecx, 0x40
lea edi, [esi + 0x40]
sub ecx, edx
add edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi]
lea edi, [esi + 0x40]
lea ebx, [esi + 0x20]
mov edx, edi
push 1
mov ecx, ebx
call eax
xor edx, edx
jmp 0x408525
lea edi, [esi + 0x40]
lea ebx, [esi + 0x20]
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x40]
add eax, edx
push 0
push eax
call fcn.00438d70
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, edi
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
mov ecx, ebx
push 1
call eax
mov edi, dword [ebp + 0xc]
mov edx, ebx
mov ebx, 4
mov ecx, dword [edx + 4]
lea edi, [edi + 8]
mov eax, dword [edx]
lea edx, [edx + 8]
bswap eax
mov dword [edi - 8], eax
bswap ecx
mov dword [edi - 4], ecx
sub ebx, 1
jne 0x408568
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4085d0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [0x452020]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
pop ebp
ret 4

Function at 0x408a10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.0043c127
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x408a3d
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40bae0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x454e50], 0
jne 0x40bb18
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040a1b0
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00437535
add esp, 4
test esi, esi
pop esi
jmp 0x40bb25
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40bb2f
mov al, 1
mov esp, ebp
pop ebp
ret 4
xor al, al
mov esp, ebp
pop ebp
ret 4