joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10204680
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0x102ca8d3
call fcn.100cafbc
nop
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.10204320
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1020472d
mov dword [ebp - 4], 0
jmp 0x102046d7
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1020472d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1020472b
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
nop
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.102047a0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x102046ce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10204ac0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0x102ca8d3
call fcn.100cafbc
nop
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x10204b46
mov dword [ebp - 4], 0
jmp 0x10204aee
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x10204b30
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10204b2e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
nop
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x10204ae5
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x102bc718]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
nop
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10205ac0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x102ca997
call fcn.100cafbc
nop
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10205b17
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x90
je 0x10205b17
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0xcc
je 0x10205b17
xor eax, eax
jmp 0x10205b58
mov dword [ebp - 4], 1
jmp 0x10205b29
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jae 0x10205b53
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov edx, 1
imul eax, edx, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + eax]
cmp ecx, eax
je 0x10205b51
xor eax, eax
jmp 0x10205b58
jmp 0x10205b20
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4038fa
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fa], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404658], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045ec], eax
mov dword [0x4040f2], eax
mov dword [0x4045d8], 0x30
mov dword [0x4045dc], 2
jmp 0x40393f
mov dword [0x4045e0], 0x403153
mov dword [0x4045e4], 0
mov dword [0x4045e8], 0
mov dword [0x404600], 0x40454e
mov dword [0x4045f8], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045f0], eax
mov dword [0x404604], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045f4], eax
push 0x4045d8
fadd dword [ebp + 0x40]
add bh, bh
adc eax, sym.imp.user32.dll_RegisterClassExA
push 0
push dword [0x4040f2]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push 0x40454e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404650], eax
push 5
push dword [0x404650]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404650]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404608]
jmp 0x403a13
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a05
mov eax, dword [0x404610]
jmp 0x403a2e
call 0x402bd5
ret

Function at 0x710c6a
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x7109ec
add eax, 0x14d259be
call fcn.00710ca4
mov eax, 0x667acea0
sub eax, 1
mov eax, eax
xor dword [edi], ecx
add eax, eax
or ebx, ebx
inc edi
add ebx, 0x6569fe53
mov eax, 0x727a0023
cmp edi, esi
jne fcn.00710c6a
mov ebx, 0xf04ce686
ret
Function at 0x402a60
Capabilities:
Create pipe
Create process on windows
Get thread local storage value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c0c
call fcn.0040fac0
mov eax, dword [0x4698a4]
mov ecx, dword [0x469334]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x402b73
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x4698a4], 0x959
jne 0x402b5c
push 0
lea eax, [ebp - 0x1408]
push eax
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push 0
lea ecx, [ebp - 0xc08]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x408]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x1c08]
push eax
push 0
call edi
mov ecx, dword [ebp - 4]
push ecx
call fcn.00402830
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x402a9e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40847c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45a770]
jne 0x408486
repz ret
jmp fcn.0040b3dd

Function at 0x409bf5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407ba6
and dword [ebp - 4], 0
cmp dword [0x460584], 0
mov ebx, eax
jne 0x409ca6
push 0x401b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409d57
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b08
push edi
call esi
test eax, eax
je 0x409d57
push eax
call fcn.00407b34
mov dword [esp], 0x401af8
push edi
mov dword [0x460584], eax
call esi
push eax
call fcn.00407b34
mov dword [esp], 0x401ae4
push edi
mov dword [0x460588], eax
call esi
push eax
call fcn.00407b34
mov dword [esp], 0x401ac8
push edi
mov dword [0x46058c], eax
call esi
push eax
call fcn.00407b34
pop ecx
mov dword [0x460594], eax
test eax, eax
je 0x409ca6
push 0x401ab0
push edi
call esi
push eax
call fcn.00407b34
pop ecx
mov dword [0x460590], eax
mov eax, dword [0x460590]
cmp eax, ebx
je 0x409cfe
cmp dword [0x460594], ebx
je 0x409cfe
push eax
call fcn.00407baf
push dword [0x460594]
mov esi, eax
call fcn.00407baf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409cfe
test edi, edi
je 0x409cfe
call esi
test eax, eax
je 0x409cf5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409cf5
test byte [ebp - 0xc], 1
jne 0x409cfe
or dword [ebp + 0x10], 0x200000
jmp 0x409d37
mov eax, dword [0x460588]
cmp eax, ebx
je 0x409d37
push eax
call fcn.00407baf
pop ecx
test eax, eax
je 0x409d37
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409d37
mov eax, dword [0x46058c]
cmp eax, ebx
je 0x409d37
push eax
call fcn.00407baf
pop ecx
test eax, eax
je 0x409d37
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x460584]
call fcn.00407baf
pop ecx
test eax, eax
je 0x409d57
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409d59
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x43ecf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x39000]
push edi
or ebp, 0xffffffff
jmp 0x43ed12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43ed19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43ed08
mov eax, 1
add ebx, ebx
jne 0x43ed2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43ed20
jne 0x43ed3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43ed20
xor ecx, ecx
sub eax, 3
jb 0x43ed50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43edc2
mov ebp, eax
add ebx, ebx
jne 0x43ed5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43ed68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43ed8c
inc ecx
add ebx, ebx
jne 0x43ed78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43ed6d
jne 0x43ed89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43ed6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43edac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43ed9d
jmp 0x43ed0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43edac
add edi, ecx
jmp 0x43ed0e
pop esi
mov edi, esi
mov ecx, 0x21a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43edca
cmp byte [edi], 6
jne 0x43edca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x43edcf
lea edi, [esi + 0x3c000]
mov eax, dword [edi]
or eax, eax
je 0x43ee47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3fcf4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3fda8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43edfc
mov ecx, edi
jns 0x43ee2b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3fdac]
or eax, eax
je 0x43ee41
mov dword [ebx], eax
add ebx, 4
jmp 0x43ee19
call dword [esi + 0x3fdb0]
popal
jmp 0x403f74
Function at 0x40a380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov cl, byte [ebp + 0x55]
mov dl, byte [ebp + 0x56]
mov bl, cl
and bl, 0xc
mov byte [esp + 0xb], dl
neg bl
mov al, cl
sbb bl, bl
sar al, 7
and al, 0x44
and bl, 4
or bl, al
mov eax, dword [ebp + 0x260]
neg eax
sbb al, al
and cl, 3
and al, 0x25
or bl, al
mov al, byte [ebp + 0x220]
and al, 1
shl al, 4
or bl, al
or bl, cl
cmp dl, bl
je 0x40a5fe
mov al, bl
mov byte [ebp + 0x56], bl
and al, 0x30
lea edx, [ebp + 0xba0]
push esi
push edi
cmp al, 0x10
jne 0x40a42a
movzx ebp, word [0x4d81e2]
movzx ecx, word [0x4d81ce]
movzx esi, word [0x4d81d4]
add ecx, section..text
movzx edi, word [0x4d81bc]
add esi, section..text
movzx eax, word [0x4d81da]
add edi, section..text
mov dword [esp + 0x18], ebp
add eax, section..text
movzx ebp, word [0x4d81e8]
jmp 0x40a453
movzx ebp, word [0x4d81e4]
mov edi, 0x4021d2
mov ecx, dword [edx + 0x3a8]
mov esi, dword [edx + 0x3b4]
mov eax, dword [edx + 0x3c0]
mov dword [esp + 0x18], ebp
movzx ebp, word [0x4d81ea]
mov dword [esp + 0x14], eax
mov bh, bl
xor bh, byte [esp + 0x13]
lea eax, [ebp + section..text]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 0x3bc], eax
mov al, bl
and al, 4
mov dword [edx + 0x3a4], ecx
mov dword [edx + 0x3b0], esi
lea ebp, [ebp + section..text]
mov dword [edx + 0x380], edi
test bh, 0x64
je 0x40a50f
test al, al
jne 0x40a4df
lea esi, [edx + 0x268]
mov ecx, 0x59
mov edi, edx
rep movsd dword es:[edi], dword [esi]
test bl, 2
je 0x40a56c
mov dword [edx + 0x124], 0x40415d
mov dword [edx + 0x128], 0x40415d
mov dword [edx + 0x12c], 0x40415d
mov dword [edx + 0x130], 0x40415d
jmp 0x40a56c
test bl, 0x40
je 0x40a4f4
mov eax, 0x4042c4
mov ecx, 0x59
mov edi, edx
rep stosd dword es:[edi], eax
jmp 0x40a56c
test bl, 0x20
mov ecx, 0x404142
mov eax, 0x40416a
mov edi, edx
cmovne eax, ecx
mov ecx, 0x59
rep stosd dword es:[edi], eax
jmp 0x40a56c
test al, al
jne 0x40a56c
mov eax, dword [esp + 0x14]
mov dword [edx + 0x13c], ecx
mov dword [edx + 0x148], esi
mov dword [edx + 0x118], edi
mov dword [edx + 0x154], eax
test bl, 2
je 0x40a55e
mov dword [edx + 0x124], 0x40415d
mov dword [edx + 0x128], 0x40415d
mov dword [edx + 0x12c], 0x40415d
mov dword [edx + 0x130], 0x40415d
jmp 0x40a56c
movups xmm0, xmmword [edx + 0x38c]
movups xmmword [edx + 0x124], xmm0
test bh, 1
je 0x40a5b4
test bl, 1
jne 0x40a5a0
lea esi, [edx + 0x164]
mov ecx, 0xb2
movzx eax, word [ecx + 0x4d8130]
lea esi, [esi + 4]
add eax, section..text
add ecx, 2
mov dword [esi - 4], eax
cmp ecx, 0x134
jb 0x40a581
jmp 0x40a5b9
lea edi, [edx + 0x164]
mov ecx, 0x41
mov eax, 0x4041e7
rep stosd dword es:[edi], eax
jmp 0x40a5c9
test bl, 1
jne 0x40a5c9
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x164], ebp
mov dword [edx + 0x170], eax
mov ebp, dword [esp + 0x24]
test bl, 0x10
je 0x40a5fc
test byte [esp + 0x13], 0x10
jne 0x40a5fc
mov ax, word [ebp + 0x7dc]
lea edi, [ebp + 0xb20]
add ax, ax
mov ecx, 0x20
dec ax
movzx eax, ax
mov edx, eax
shl edx, 0x10
or eax, edx
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x40f770
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor esi, edi
ror esi, 0x1c
bswap esi
cmp ecx, 0xc
jbe 0x40f7f0
mov eax, dword [esp + 0xc]
add ecx, 0xfffffff4
push ebx
push ebp
mov ebp, dword [esp + 0x20]
add ecx, ebp
mov dword [esp + 0x1c], ecx
mov ebx, ecx
nop
add esi, dword [ebx + 4]
add edi, dword [ebx + 8]
mov edx, esi
add eax, dword [ebx]
xor edi, esi
ror edx, 0x12
mov ebx, ebp
sub edi, edx
add ebp, 0xc
mov ecx, edi
xor eax, edi
ror ecx, 0x15
sub eax, ecx
mov edx, eax
xor esi, eax
ror edx, 7
sub esi, edx
cmp ebx, dword [esp + 0x1c]
jb 0x40f7a0
mov ecx, esi
mov edx, esi
ror ecx, 0x10
xor edx, edi
sub edx, ecx
mov ecx, edx
xor eax, edx
ror ecx, 0x1c
sub eax, ecx
pop ebp
mov ecx, eax
xor eax, esi
pop ebx
ror ecx, 0x12
pop edi
sub eax, ecx
pop esi
ret
pop edi
mov eax, esi
pop esi
ret

Function at 0x411aa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
movzx eax, byte [ebp + 0x24]
lea edx, [eax*4 + 0x14]
call fcn.0040d820
mov esi, eax
lea ecx, [ebp + 0x40]
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov word [esi + 5], 8
mov byte [esi + 7], 0
movzx ecx, byte [ebp + 0x25]
add ecx, 0x20
mov eax, ecx
shr eax, 3
and al, 0x20
sub cl, al
mov al, byte [ebp + 0x24]
mov byte [ebp + 0x25], cl
mov byte [esp + 0x18], al
movzx ecx, al
test al, al
je 0x411b51
push ebx
lea ebx, [esi + 0x14]
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov edx, 0x18
call fcn.0040d820
lea ebx, [ebx + 4]
lea ecx, [eax + 8]
mov word [eax + 5], 0x105
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0xffffffff
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx + edi*2]
inc edi
mov ecx, edx
shl edx, 0x18
shr ecx, 0xe
xor edx, ebp
and cl, 1
mov dword [eax + 0x14], edx
mov byte [eax + 7], cl
mov dword [ebx - 4], eax
cmp edi, esi
jb 0x411b02
mov esi, dword [esp + 0x10]
mov al, byte [esp + 0x1c]
pop ebx
mov byte [esi + 7], al
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x416660
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov eax, dword [0x4f1db8]
push esi
mov esi, ecx
test eax, eax
jne 0x41669a
push eax
push eax
push 0x4d7ce0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
je 0x41672f
push str.SystemFunction036
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4f1db8], eax
test eax, eax
je 0x41672f
push 0x20
push esi
call eax
test al, al
je 0x41672f
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
ja 0x4166c2
jb 0x4166b7
cmp eax, 2
jae 0x4166c2
add eax, 2
mov dword [esi], eax
adc ecx, 0
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
test ecx, ecx
ja 0x4166df
jb 0x4166d3
cmp eax, 0x40
jae 0x4166df
add eax, 0x40
mov dword [esi + 8], eax
adc ecx, 0
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
test ecx, ecx
ja 0x416700
jb 0x4166f2
cmp eax, 0x200
jae 0x416700
add eax, 0x200
mov dword [esi + 0x10], eax
adc ecx, 0
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
test ecx, ecx
ja 0x416721
jb 0x416713
cmp eax, 0x20000
jae 0x416721
add eax, 0x20000
mov dword [esi + 0x18], eax
adc ecx, 0
mov dword [esi + 0x1c], ecx
mov ecx, esi
call fcn.00416740
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x41a080
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, 0xa
mov al, byte [esi]
test al, al
je 0x41a0c6
movsx ecx, al
inc esi
cmp ecx, 0x66
je 0x41a0ae
cmp ecx, 0x69
je 0x41a15b
cmp ecx, 0x6c
jne 0x41a0c0
mov eax, dword [ebx + 8]
push ebx
mov dword [eax + 0xb18], ecx
call fcn.00414d90
add esp, 4
mov al, byte [esi]
test al, al
jne 0x41a097
mov esi, dword [0x4f1dc0]
lea ebp, [ebx + 8]
test esi, esi
je 0x41a194
cmp dword [ebp], esi
jne 0x41a18c
push 0xffffffffffffffff
push dword [0x4f1e0c]
mov dword [0x4f1e10], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x4f1df4
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and byte [esi + 0x55], 0x7f
push esi
call fcn.0040a380
push ebx
mov dword [esi + 0xb18], 0
call fcn.00414d90
mov ecx, dword [0x4f1dd4]
mov eax, dword [0x4f1dd0]
sub eax, ecx
sub dword [esi + 8], eax
push 0
push eax
mov eax, dword [esi]
push ecx
push dword [esi + 4]
call eax
add esp, 0x18
mov dword [0x4f1dd0], 0
mov dword [0x4f1dcc], 0
mov dword [0x4f1dc0], 0
jmp 0x41a194
mov al, byte [esi]
xor edi, edi
cmp al, 0x30
jl 0x41a182
cmp al, 0x39
ja 0x41a17a
movzx eax, al
lea edi, [edi + edi*4]
inc esi
lea edi, [edi - 0x18]
lea edi, [eax + edi*2]
mov al, byte [esi]
cmp al, 0x30
jge 0x41a163
test edi, edi
jg 0x41a0c0
mov edi, 1
jmp 0x41a0c0
test esi, esi
jne 0x41a276
cmp dword [0x4f1de8], 0
mov eax, dword [ebp]
mov dword [0x4f1dc0], eax
mov eax, dword [esp + 0x1c]
mov dword [0x4f1dc4], eax
mov eax, dword [esp + 0x20]
mov dword [0x4f1ddc], edi
mov dword [0x4f1dc8], eax
mov dword [0x4f1de0], 0
mov dword [0x4f1dd8], ebx
mov dword [0x4f1dd4], 0
mov dword [0x4f1dd0], 0
mov dword [0x4f1dcc], 0
jne 0x41a244
push 0
push 0
push str.winmm.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [0x4f1de8], eax
test eax, eax
je 0x41a244
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.timeBeginPeriod
push eax
call esi
push str.timeEndPeriod
push dword [0x4f1de8]
mov dword [0x4f1dec], eax
call esi
cmp dword [0x4f1dec], 0
mov dword [0x4f1df0], eax
je 0x41a235
test eax, eax
jne 0x41a244
pop edi
pop esi
pop ebp
mov dword [0x4f1de8], 0
pop ebx
ret
push 0x4f1df4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0x4f1dc0
push 0x41a310
push 0
push 0
mov dword [0x4f1e10], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4f1e0c], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x434450
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
or ecx, 0xffffffff
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov dword [esp + 0xc], ecx
test esi, esi
jne 0x434493
mov eax, dword [ebx]
test eax, eax
je 0x434482
mov edx, dword [esp + 0x24]
bsf ecx, eax
cmp ecx, edx
jb 0x43448b
mov ecx, edx
shr eax, cl
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
shr eax, cl
sub edx, ecx
mov dword [ebx], eax
jmp 0x434497
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov eax, 1
push ebp
cmp edx, 0x12
jbe 0x434536
mov eax, dword [esp + 0x2c]
mov ebp, eax
shr ebp, 0x18
and al, 0x30
lea ecx, [ebp - 1]
mov dword [esp + 0x18], ecx
cmp al, 0x20
jne 0x4344dd
mov eax, 0x38e38e39
mov ebp, 0x3f
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov dword [esp + 0x14], ebp
jmp 0x434550
bsr ecx, dword [ebx + esi*4]
imul eax, esi, 0x1d
sub eax, edx
add eax, ecx
mov ecx, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4d9bc0]
cvttsd2si eax, xmm0
sub ecx, eax
mov eax, 0x38e38e39
sub ecx, ebp
imul ecx
mov eax, dword [esp + 0x18]
mov ecx, esi
sar edx, 1
mov ebp, edx
add edx, 0x3e
shr ebp, 0x1f
add ebp, edx
cdq
and edx, 7
mov dword [esp + 0x14], ebp
add eax, edx
sar eax, 3
sub ecx, eax
add ecx, 0x3d
mov dword [esp + 0x10], ecx
jmp 0x434550
or ecx, 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ecx
cmp edx, 9
jb 0x4345de
nop
mov ecx, dword [ebx + esi*4]
mov edx, esi
mov eax, ecx
and ecx, 0x1ff
shr eax, 9
imul ebp, ecx, 0x1dcd65
mov dword [ebx + esi*4], eax
cmp esi, edi
je 0x434591
nop dword [eax]
dec edx
and edx, 0x3f
mov ecx, dword [ebx + edx*4]
mov eax, ecx
shr eax, 9
and ecx, 0x1ff
add eax, ebp
imul ebp, ecx, 0x1dcd65
mov dword [ebx + edx*4], eax
cmp edx, edi
jne 0x434570
mov eax, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
je 0x4345b2
cmp edi, eax
je 0x4345b2
test ebp, ebp
je 0x4345aa
dec edi
and edi, 0x3f
mov dword [ebx + edi*4], ebp
cmp dword [ebx + esi*4], 0
jne 0x4345c5
jmp 0x4345bc
cmp dword [ebx + esi*4], 0
jne 0x4345c5
cmp esi, edi
je 0x43463b
dec esi
and esi, 0x3f
dec eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
sub edx, 9
mov dword [esp + 0x24], edx
cmp edx, 9
jae 0x434550
mov eax, 1
test edx, edx
je 0x43463b
mov ebp, dword [ebx + esi*4]
mov ecx, edx
shl eax, cl
dec eax
mov dword [esp + 0x14], eax
mov eax, 0x3b9aca00
sar eax, cl
mov dword [esp + 0x10], eax
mov eax, ebp
and ebp, dword [esp + 0x14]
imul ebp, dword [esp + 0x10]
shr eax, cl
mov dword [ebx + esi*4], eax
cmp esi, edi
je 0x434630
mov ecx, dword [esp + 0x24]
dec esi
and esi, 0x3f
mov edx, dword [ebx + esi*4]
mov eax, edx
shr eax, cl
add eax, ebp
mov ebp, edx
and ebp, dword [esp + 0x14]
imul ebp, dword [esp + 0x10]
mov dword [ebx + esi*4], eax
cmp esi, edi
jne 0x434611
test ebp, ebp
je 0x43463b
dec edi
and edi, 0x3f
mov dword [ebx + edi*4], ebp
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret