joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c9a9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov byte [ebp - 4], cl
test cl, cl
je 0x1002c9c8
push 0x693
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x1002ca5e
push esi
push edi
mov dword [ebp - 0xc], 0xccdd
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 8], edi
jmp 0x1002c9f0
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x20], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x1002c9e2
xor esi, esi
mov dword [ebp - 8], edi
inc esi
jmp 0x1002ca0c
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x10], 0xffff
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x1002c9fe
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0xc]
cmp edx, eax
sbb eax, eax
neg eax
imul ecx, eax
neg ecx
je 0x1002ca33
mov eax, esi
cmp dword [ebp - 0x10], edi
jne 0x1002ca35
mov eax, edi
xor edx, edx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x10]
setl dl
xor ecx, ecx
cmp edx, eax
setl cl
cmp ecx, dword [ebp - 0xc]
jg 0x1002ca51
cmp dword [ebp - 0x20], edi
jne 0x1002ca53
mov esi, edi
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
pop edi
mov dword [ebp - 8], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002ca62
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 8], 0
je 0x1002ca76
mov eax, dword [ebp + 0x14]
movzx ecx, byte [edx]
add dword [eax], ecx
jmp 0x1002ca88
xor eax, eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], al
je 0x1002ca88
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esp, ebp
pop ebp
ret

Function at 0x1002cab7
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
test dl, dl
je 0x1002cb18
test cl, cl
je 0x1002caee
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1002cb33
push 0
push 0x3907
push 0
push 1
push 0x4253
mov edx, 0x43f6
mov ecx, 0x6e98
call fcn.1002cb35
add esp, 0x14
pop ebp
ret
push 0
push 0xae1
push 0x10a9
push 0x1c57
push 0x1dca
push 0x24e1
push 0xc3e
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x1002cb28
push 0
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
pop ebp
ret
push 0xa03
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
pop ebp
ret

Function at 0x1002cc72
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
test cl, cl
je 0x1002cc86
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
shr eax, 2
inc eax
mov dword [ecx], eax
pop ebp
ret
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x1002cc9d
push 0x1a5c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
pop ebp
ret
Function at 0x1002ec62
Capabilities:
Create pipe
Encode data using xor

Disassembly:
mov eax, 0x1005d30e
call fcn.1005c3e4
sub esp, 0xc
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
je 0x1002ed37
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1002ed1b
mov dword [ebp - 0x18], 0xfe9
cmp dword [ebp - 0x18], 0x13b8
jle 0x1002ecf1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetParent]
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea eax, [edi + esi]
xor eax, ecx
mov ecx, 0x100758b8
xor eax, ebx
cdq
push edx
push eax
call fcn.10004429
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x174a
jl 0x1002ecb3
inc ebx
cmp ebx, 0x352e
jl 0x1002ecae
inc edi
cmp edi, 0x6333
jl 0x1002ecac
inc esi
cmp esi, 0x6b5f
jl 0x1002ecaa
push 1
push 0x2e42
call fcn.1002ef96
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0xf73
pop ecx
pop ecx
jge 0x1002ed1b
mov edx, str.xadtkryy_glf_ojhe
mov ecx, 0x100758b8
call fcn.100067d6
jmp 0x1002ed64
cmp byte [ecx], 0
je 0x1002ed64
push 0
push 0xae1
push 0x10a9
push 0x1c57
push 0x1dca
push 0x24e1
push 0xc3e
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002ed75
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005d318
call fcn.1005c3e4
sub esp, 0x24
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
je 0x1002edce
cmp byte [ebp + 0x18], 0
je 0x1002edba
mov eax, dword [ebp + 0x20]
cmp byte [eax], 0
je 0x1002ef85
push ecx
push 1
mov ecx, 0x2be4
call fcn.1002ec2e
pop ecx
pop ecx
jmp 0x1002ef85
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x1002ef85
mov dword [ebp - 0x14], 0x3b6b
mov esi, 0x100758b8
cmp dword [ebp - 0x14], 0x3c10
jle 0x1002ee1a
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp + 0x10], eax
add eax, ebx
mov ecx, esi
xor eax, edi
cdq
push edx
push eax
call fcn.10004429
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
cmp eax, 0x1e7c
jl 0x1002edec
inc ebx
cmp ebx, 0x392e
jl 0x1002ede7
inc edi
cmp edi, 0x5be6
jl 0x1002ede5
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x3b16
jge 0x1002ee54
mov edx, str.yjlzqk_ubavorbe_ybgo_sniafdae_beumfvhh_jkkrj_pin_jbfyhsf_kke_bkh_rhcjssgj_fpfefjbf
mov ecx, esi
call fcn.100067d6
jmp 0x1002ee54
or dword [ebp - 4], 0xffffffff
mov dword [ebp + 0x10], 0x18f4
cmp dword [ebp + 0x10], 0x12e1
jge 0x1002eed9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push str._d__d__d_n
call fcn.10044572
xor edi, edi
add esp, 0x10
cmp dword [ebp - 0x18], edi
jle 0x1002eece
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push str._d__d_n
call fcn.10044572
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp eax, 5
jle 0x1002eebd
add eax, 4
cmp eax, dword [ebp - 0x20]
jge 0x1002eebd
mov eax, dword [ebp - 0x24]
cmp eax, 5
jle 0x1002eebd
add eax, 4
cmp eax, dword [ebp - 0x28]
jl 0x1002eec8
push 0x100651ec
call fcn.10044893
pop ecx
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x1002ee88
push 0x100651f0
call fcn.10044893
pop ecx
cmp byte [ebp + 8], 0
je 0x1002ef7f
mov dword [ebp + 0x10], 0x6fd
cmp dword [ebp + 0x10], 0xa71
jle 0x1002ef17
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, esi
and eax, edi
cdq
push edx
push eax
call fcn.10004429
inc ebx
cmp ebx, 0x16f1
jl 0x1002eef7
inc edi
cmp edi, 0x3482
jl 0x1002eef5
mov dword [ebp - 4], 2
cmp dword [ebp + 0x10], 0x35c
jge 0x1002ef33
mov edx, str.uwifup_olozxjfz_pglmd_mdzsexgy
mov ecx, esi
call fcn.100067d6
mov eax, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
push 0x1a
pop esi
mov ecx, dword [eax]
cmp ecx, esi
jge 0x1002ef67
mov eax, dword [ebp + 0x14]
movzx edx, word [eax]
add edx, ecx
jmp 0x1002ef74
mov eax, ecx
cdq
idiv esi
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax]
add edx, eax
mov ecx, dword [ebp - 0x30]
push edx
call fcn.1002a15c
jmp 0x1002ef85
mov eax, dword [ebp + 0x1c]
mov byte [eax], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002fdbb
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 0x30], 0
push esi
push edi
mov byte [ebp - 4], cl
je 0x1002fe27
cmp byte [ebp + 0xc], 0
je 0x1002fe13
mov edi, dword [ebp + 0x2c]
xor esi, esi
cmp dword [edi], esi
jbe 0x1002fe55
push ebx
mov ebx, dword [ebp + 0x1c]
call fcn.1002dbec
push 0x34
pop ecx
xor edx, edx
div ecx
push 0x1a
mov eax, edx
pop ecx
cmp eax, ecx
jge 0x1002fdf7
movsx edx, byte [ebx]
jmp 0x1002fe00
cdq
idiv ecx
mov eax, dword [ebp + 0x14]
movsx eax, byte [eax]
mov ecx, dword [ebp + 0x20]
add edx, eax
push edx
call fcn.1003040c
inc esi
cmp esi, dword [edi]
jb 0x1002fddd
pop ebx
jmp 0x1002fe55
mov eax, dword [ebp + 0x24]
cmp byte [eax], 0
je 0x1002fe55
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x1002fe55
test cl, cl
je 0x1002fe32
mov eax, dword [ebp + 0x28]
inc dword [eax]
jmp 0x1002fe55
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [ecx]
xor ecx, ecx
test eax, eax
mov eax, dword [edx]
sets cl
imul eax, ecx
mov ecx, dword [ebp + 0x18]
cmp eax, dword [ecx]
jge 0x1002fe4e
mov eax, dword [edx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [eax], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10030440
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov dword [0x10076b84], ecx
inc edx
mov esi, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x10076b84], ecx
inc edx
cmp edx, esi
jl 0x10030455
mov dword [0x10076b80], esi
pop esi
pop ebp
ret 8

Function at 0x1003047b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, 0x10076b84
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x10076f10
jl 0x10030489
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x100771b4
jl 0x100304c9
mov ecx, dword [0x10077f00]
xor ecx, dword [0x10076b84]
and ecx, edi
xor ecx, dword [0x10077f00]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x10076b80], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x100771b4]
mov dword [0x10077540], eax
pop esi
ret
Function at 0x100340a5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100340e7
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100340d1
push 0x693
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x100340e5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100340e5
push 0
call fcn.100381c2
pop ecx
jmp 0x100340fb
push 1
push 0x5519
push 0x3c28
call fcn.10033d2f
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1003aa83
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003aadd
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003aac0
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003aabe
push 1
push 1
push 0x1d1a
call fcn.10037ad0
add esp, 0xc
jmp 0x1003aadb
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1003aadb
push 0x1a5c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x1003ab15
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
push 0x5b2c
push dword [ebp - 0xc]
push 1
push dword [ebp - 0x10]
push 0x435f
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.1003a770
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x10004560
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10031018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.cabalmain.exe
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor cl, cl
mov ebx, dword [eax + 0xc7bf5c]
mov eax, dword [ebx + 0x41a8]
add ebx, 0x41a8
mov dword [ebp - 0x10], eax
shr eax, 0x18
cmp al, 4
je 0x100045aa
cmp al, 0x24
je 0x100045aa
cmp al, 0x34
je 0x100045aa
cmp al, 0x44
jne 0x100045ac
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 8
ja case.0x100045b6.2
jmp dword [edi*4 + 0x100046d4]
movups xmm0, xmmword [0x10031acc]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x10031adc]
mov dword [ecx + 0x10], eax
jmp 0x10004626
movups xmm0, xmmword [0x10031a7c]
add cl, 8
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x10031a8c]
mov dword [ecx + 0x10], eax
jmp 0x10004626
movups xmm0, xmmword [0x10031a94]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x10031aa4]
mov dword [ecx + 0x10], eax
jmp 0x10004626
add cl, 0xc
shl cl, 2
mov byte [ebp - 0xd], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 9]
mov byte [0x10031a91], al
cmp edi, 8
ja case.0x10004657.0
jmp dword [edi*4 + 0x100046f8]
movups xmm0, xmmword [0x10031ab8]
add cl, 0x10
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x10031ac8]
mov dword [ecx + 0x10], eax
jmp 0x10004626
push 0x10031a74
jmp 0x100046bd
push 0x10031a68
jmp 0x100046bd
push 0x10031aac
jmp 0x100046bd
push 0x10031ab0
jmp 0x100046bd
push 0x10031ab4
jmp 0x100046bd
push 0x10031a78
jmp 0x100046bd
push str.4654
jmp 0x100046bd
push str.3_n1_n123
jmp 0x100046bd
push 0x10031a70
call dword [0x100330b4]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000aed4
mov esp, ebp
pop ebp
ret
Function at 0x100045bd
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10031018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.cabalmain.exe
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor cl, cl
mov ebx, dword [eax + 0xc7bf5c]
mov eax, dword [ebx + 0x41a8]
add ebx, 0x41a8
mov dword [ebp - 0x10], eax
shr eax, 0x18
cmp al, 4
je 0x100045aa
cmp al, 0x24
je 0x100045aa
cmp al, 0x34
je 0x100045aa
cmp al, 0x44
jne 0x100045ac
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 8
ja case.0x100045b6.2
jmp dword [edi*4 + 0x100046d4]
movups xmm0, xmmword [0x10031acc]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x10031adc]
mov dword [ecx + 0x10], eax
jmp 0x10004626
movups xmm0, xmmword [0x10031a7c]
add cl, 8
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x10031a8c]
mov dword [ecx + 0x10], eax
jmp 0x10004626
movups xmm0, xmmword [0x10031a94]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x10031aa4]
mov dword [ecx + 0x10], eax
jmp 0x10004626
add cl, 0xc
shl cl, 2
mov byte [ebp - 0xd], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 9]
mov byte [0x10031a91], al
cmp edi, 8
ja case.0x10004657.0
jmp dword [edi*4 + 0x100046f8]
movups xmm0, xmmword [0x10031ab8]
add cl, 0x10
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x10031ac8]
mov dword [ecx + 0x10], eax
jmp 0x10004626
push 0x10031a74
jmp 0x100046bd
push 0x10031a68
jmp 0x100046bd
push 0x10031aac
jmp 0x100046bd
push 0x10031ab0
jmp 0x100046bd
push 0x10031ab4
jmp 0x100046bd
push 0x10031a78
jmp 0x100046bd
push str.4654
jmp 0x100046bd
push str.3_n1_n123
jmp 0x100046bd
push 0x10031a70
call dword [0x100330b4]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000aed4
mov esp, ebp
pop ebp
ret
Function at 0x100045dc
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10031018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.cabalmain.exe
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor cl, cl
mov ebx, dword [eax + 0xc7bf5c]
mov eax, dword [ebx + 0x41a8]
add ebx, 0x41a8
mov dword [ebp - 0x10], eax
shr eax, 0x18
cmp al, 4
je 0x100045aa
cmp al, 0x24
je 0x100045aa
cmp al, 0x34
je 0x100045aa
cmp al, 0x44
jne 0x100045ac
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 8
ja case.0x100045b6.2
jmp dword [edi*4 + 0x100046d4]
movups xmm0, xmmword [0x10031acc]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x10031adc]
mov dword [ecx + 0x10], eax
jmp 0x10004626
movups xmm0, xmmword [0x10031a7c]
add cl, 8
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x10031a8c]
mov dword [ecx + 0x10], eax
jmp 0x10004626
movups xmm0, xmmword [0x10031a94]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x10031aa4]
mov dword [ecx + 0x10], eax
jmp 0x10004626
add cl, 0xc
shl cl, 2
mov byte [ebp - 0xd], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 9]
mov byte [0x10031a91], al
cmp edi, 8
ja case.0x10004657.0
jmp dword [edi*4 + 0x100046f8]
movups xmm0, xmmword [0x10031ab8]
add cl, 0x10
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x10031ac8]
mov dword [ecx + 0x10], eax
jmp 0x10004626
push 0x10031a74
jmp 0x100046bd
push 0x10031a68
jmp 0x100046bd
push 0x10031aac
jmp 0x100046bd
push 0x10031ab0
jmp 0x100046bd
push 0x10031ab4
jmp 0x100046bd
push 0x10031a78
jmp 0x100046bd
push str.4654
jmp 0x100046bd
push str.3_n1_n123
jmp 0x100046bd
push 0x10031a70
call dword [0x100330b4]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000aed4
mov esp, ebp
pop ebp
ret
Function at 0x100045fe
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10031018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.cabalmain.exe
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor cl, cl
mov ebx, dword [eax + 0xc7bf5c]
mov eax, dword [ebx + 0x41a8]
add ebx, 0x41a8
mov dword [ebp - 0x10], eax
shr eax, 0x18
cmp al, 4
je 0x100045aa
cmp al, 0x24
je 0x100045aa
cmp al, 0x34
je 0x100045aa
cmp al, 0x44
jne 0x100045ac
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 8
ja case.0x100045b6.2
jmp dword [edi*4 + 0x100046d4]
movups xmm0, xmmword [0x10031acc]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x10031adc]
mov dword [ecx + 0x10], eax
jmp 0x10004626
movups xmm0, xmmword [0x10031a7c]
add cl, 8
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x10031a8c]
mov dword [ecx + 0x10], eax
jmp 0x10004626
movups xmm0, xmmword [0x10031a94]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x10031aa4]
mov dword [ecx + 0x10], eax
jmp 0x10004626
add cl, 0xc
shl cl, 2
mov byte [ebp - 0xd], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 9]
mov byte [0x10031a91], al
cmp edi, 8
ja case.0x10004657.0
jmp dword [edi*4 + 0x100046f8]
movups xmm0, xmmword [0x10031ab8]
add cl, 0x10
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x10031ac8]
mov dword [ecx + 0x10], eax
jmp 0x10004626
push 0x10031a74
jmp 0x100046bd
push 0x10031a68
jmp 0x100046bd
push 0x10031aac
jmp 0x100046bd
push 0x10031ab0
jmp 0x100046bd
push 0x10031ab4
jmp 0x100046bd
push 0x10031a78
jmp 0x100046bd
push str.4654
jmp 0x100046bd
push str.3_n1_n123
jmp 0x100046bd
push 0x10031a70
call dword [0x100330b4]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000aed4
mov esp, ebp
pop ebp
ret
Function at 0x1000461d
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10031018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.cabalmain.exe
mov byte [ebp - 9], cl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor cl, cl
mov ebx, dword [eax + 0xc7bf5c]
mov eax, dword [ebx + 0x41a8]
add ebx, 0x41a8
mov dword [ebp - 0x10], eax
shr eax, 0x18
cmp al, 4
je 0x100045aa
cmp al, 0x24
je 0x100045aa
cmp al, 0x34
je 0x100045aa
cmp al, 0x44
jne 0x100045ac
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 8
ja case.0x100045b6.2
jmp dword [edi*4 + 0x100046d4]
movups xmm0, xmmword [0x10031acc]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x10031adc]
mov dword [ecx + 0x10], eax
jmp 0x10004626
movups xmm0, xmmword [0x10031a7c]
add cl, 8
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x10031a8c]
mov dword [ecx + 0x10], eax
jmp 0x10004626
movups xmm0, xmmword [0x10031a94]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x10031aa4]
mov dword [ecx + 0x10], eax
jmp 0x10004626
add cl, 0xc
shl cl, 2
mov byte [ebp - 0xd], cl
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 9]
mov byte [0x10031a91], al
cmp edi, 8
ja case.0x10004657.0
jmp dword [edi*4 + 0x100046f8]
movups xmm0, xmmword [0x10031ab8]
add cl, 0x10
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x10031ac8]
mov dword [ecx + 0x10], eax
jmp 0x10004626
push 0x10031a74
jmp 0x100046bd
push 0x10031a68
jmp 0x100046bd
push 0x10031aac
jmp 0x100046bd
push 0x10031ab0
jmp 0x100046bd
push 0x10031ab4
jmp 0x100046bd
push 0x10031a78
jmp 0x100046bd
push str.4654
jmp 0x100046bd
push str.3_n1_n123
jmp 0x100046bd
push 0x10031a70
call dword [0x100330b4]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000aed4
mov esp, ebp
pop ebp
ret