joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002b9c
Capabilities:
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1001b00c]
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 0x10002b6a
cmp al, 0x24
je 0x10002b6a
cmp al, 0x34
je 0x10002b6a
cmp al, 0x44
jne 0x10002b6c
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 6
ja case.0x10002b76.2
jmp dword [edi*4 + 0x10002c38]
movups xmm0, xmmword [0x1001b8b8]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1001b8c8]
mov dword [ecx + 0x10], eax
jmp 0x10002bc1
movups xmm0, xmmword [0x1001b898]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1001b8a8]
mov dword [ecx + 0x10], eax
jmp 0x10002bc1
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 [0x1001b895], al
cmp edi, 6
ja case.0x10002bf2.0
jmp dword [edi*4 + 0x10002c54]
push 0x1001b88c
jmp 0x10002c21
push 0x1001b8ac
jmp 0x10002c21
push 0x1001b8b0
jmp 0x10002c21
push 0x1001b8b4
jmp 0x10002c21
push 0x1001b890
jmp 0x10002c21
push 0x1001b888
call dword [0x1001c3e0]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100064a0
mov esp, ebp
pop ebp
ret
Function at 0x10002bbb
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1001b00c]
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 0x10002b6a
cmp al, 0x24
je 0x10002b6a
cmp al, 0x34
je 0x10002b6a
cmp al, 0x44
jne 0x10002b6c
mov cl, 1
movzx edi, byte [ebp - 9]
dec edi
cmp edi, 6
ja case.0x10002b76.2
jmp dword [edi*4 + 0x10002c38]
movups xmm0, xmmword [0x1001b8b8]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c868
movups xmmword [ecx], xmm0
mov eax, dword [0x1001b8c8]
mov dword [ecx + 0x10], eax
jmp 0x10002bc1
movups xmm0, xmmword [0x1001b898]
shl cl, 2
mov byte [ebp - 0xd], cl
mov ecx, 0x107c910
movups xmmword [ecx], xmm0
mov eax, dword [0x1001b8a8]
mov dword [ecx + 0x10], eax
jmp 0x10002bc1
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 [0x1001b895], al
cmp edi, 6
ja case.0x10002bf2.0
jmp dword [edi*4 + 0x10002c54]
push 0x1001b88c
jmp 0x10002c21
push 0x1001b8ac
jmp 0x10002c21
push 0x1001b8b0
jmp 0x10002c21
push 0x1001b8b4
jmp 0x10002c21
push 0x1001b890
jmp 0x10002c21
push 0x1001b888
call dword [0x1001c3e0]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100064a0
mov esp, ebp
pop ebp
ret

Function at 0x10002ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10002ebe
push 0
push 0
push 0
push 0x10002cb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10003070
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10003220
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000313d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100030ba
mov eax, dword [ebp - 4]
cmp eax, dword [0x1001b004]
ja 0x100030ba
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000308a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100077a0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100030e0
jmp 0x1000313d
cmp dword [ebp - 0x14], 0x10000
jne 0x10003123
cmp dword [ebp - 0x18], 0x10000
jb 0x10003123
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10003116
mov eax, dword [ebp - 8]
jmp 0x1000313f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10003138
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10003220
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000308a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10003150
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10003250
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10003215
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10003195
mov eax, dword [ebp - 4]
cmp eax, dword [0x1001b004]
ja 0x10003195
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10003165
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100077a0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100031bb
jmp 0x10003215
cmp dword [ebp - 0x14], 0x10000
jne 0x100031fe
cmp dword [ebp - 0x18], 0x10000
jb 0x100031fe
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100031f1
mov eax, dword [ebp - 8]
jmp 0x10003217
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10003210
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10003250
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10003165
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10003280
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10003670
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1001b96c], 0
jne 0x100032bd
cmp dword [0x1001b968], 0
je 0x100032bd
mov eax, dword [0x1001b968]
mov dword [0x1001b96c], eax
cmp dword [0x1001b96c], 0
je 0x1000333a
mov ecx, dword [0x1001b96c]
cmp dword [ecx + 8], 0
je 0x1000333a
mov edx, dword [0x1001b96c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1000333a
mov ecx, dword [0x1001b96c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1000333a
mov eax, dword [0x1001b96c]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10003309
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10003310
xor eax, eax
jmp 0x10003459
mov ecx, dword [0x1001b96c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.100077a0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10003459
mov edx, dword [0x1001b968]
mov dword [0x1001b96c], edx
jmp 0x10003356
mov eax, dword [0x1001b96c]
mov ecx, dword [eax + 4]
mov dword [0x1001b96c], ecx
cmp dword [0x1001b96c], 0
je 0x10003396
cmp dword [0x1001b96c], 0
je 0x10003394
mov edx, dword [0x1001b96c]
cmp dword [edx + 8], 0
je 0x10003394
mov eax, dword [0x1001b96c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10003394
mov edx, dword [0x1001b96c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10003394
jmp 0x100032ee
jmp 0x10003348
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10003460
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10003457
mov eax, dword [ebp - 0x18]
mov dword [0x1001b96c], eax
mov ecx, dword [0x1001b96c]
mov dword [ecx], 0x52727464
mov edx, dword [0x1001b96c]
mov dword [edx + 8], 0
mov eax, dword [0x1001b96c]
mov ecx, dword [0x1001b968]
mov dword [eax + 4], ecx
mov edx, dword [0x1001b96c]
mov dword [0x1001b968], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1001b96c]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10003427
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10003447
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1000341e
mov eax, dword [0x1001b96c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100032ee
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10009a20
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10009a5f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10009a5f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10009a5f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10009a5f
cmp dword [ecx + 0x74], 0xe
jbe 0x10009a5f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000c71d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000c7ba
push ebx
push esi
call fcn.1000c6e6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000c67a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000c767
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c7b9
push edi
push eax
call fcn.1000a75d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000c787
call fcn.1000b1c2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c7b8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000c67a
add esp, 0x20
test eax, eax
jne 0x1000c7a6
push edi
call fcn.1000b1c2
jmp 0x1000c7ae
push ebx
call fcn.1000b1c2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000ca27
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014688
push 0x10014680
push str.FlsAlloc
push 0x1f
call fcn.1000c943
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000ca5b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001318c]
call esi
jmp 0x1000ca61
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000caa5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014698
push 0x10014690
push str.FlsGetValue
push 0x21
call fcn.1000c943
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000cadc
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001318c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000cae4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100146a0
push 0x10014698
push str.FlsSetValue
push 0x22
call fcn.1000c943
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000cb1e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001318c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100120c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100120ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100120ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x6c421071
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x31524190
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1000f9c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000f9cf
pop dword [ebp - 0xc]
mov eax, 0xf3f8bf5c
add eax, 0x1c083a73
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xd2a79f5c
sub dword [ebp - 0x1c], 0x84555a11
mov dword [ebp - 0x18], 0xcb469411
sub dword [ebp - 0x18], 0x991347cc
mov dword [ebp - 0x14], 0x2b3593b7
sub dword [ebp - 0x14], 0xdee94f89
mov dword [ebp - 0x10], 0x6f529979
sub dword [ebp - 0x10], 0x6f529979
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xe286af10
sub eax, 0xd284ff00
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x9944d336
add dword [ebp - 0x1c], 0xdb2d9620
mov dword [ebp - 0x18], 0xb6d8cdbc
sub dword [ebp - 0x18], 0x756c6c47
mov dword [ebp - 0x14], 0x77649308
add dword [ebp - 0x14], 0xec0ad964
mov dword [ebp - 0x10], 0x2d5e6c2b
sub dword [ebp - 0x10], 0x2d5e6c2b
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x402df
push 0
call eax
mov ecx, 0x4ebd
xor esi, esi
add esi, eax
mov edi, 0x1002b000
add edi, dword [ebp - 0xc]
mov ebx, 0x2a0d7b0e
sub ebx, 0xe0e9e15d
sub dword [ebp - 4], edi
mov edx, dword [edi]
add dword [ebp - 8], 0xdc6cc877
add edx, ebx
xor dword [ebp - 4], edx
mov dword [esi], edx
add esi, 4
add edi, 0xddeb45da
sub edi, 0xddeb45d6
loop 0x1000fae2
add eax, 0x12dc7
xor ebx, ebx
add ebx, eax
add eax, 0xd2a16740
add eax, 0x2d5e98c5
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x42d4b0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42d4ef
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42d4ef
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42d4ef
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42d4ef
cmp dword [ecx + 0x74], 0xe
jbe 0x42d4ef
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433077
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x440ef0
push 0x440ee8
push str.FlsAlloc
push 0x1f
call fcn.00432f93
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4330ab
push dword [ebp + 8]
mov ecx, esi
call dword [0x43c16c]
call esi
jmp 0x4330b1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4330f5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x440f00
push 0x440ef8
push str.FlsGetValue
push 0x21
call fcn.00432f93
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43312c
push dword [ebp + 8]
mov ecx, esi
call dword [0x43c16c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x433134
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x440f08
push 0x440f00
push str.FlsSetValue
push 0x22
call fcn.00432f93
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43316e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x43c16c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4348b4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x434951
push ebx
push esi
call fcn.0043487d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0043379a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4348fe
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x434950
push edi
push eax
call fcn.00431b95
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x43491e
call fcn.00431b5b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x43494f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043379a
add esp, 0x20
test eax, eax
jne 0x43493d
push edi
call fcn.00431b5b
jmp 0x434945
push ebx
call fcn.00431b5b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x438cd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438cfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438cfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x408015
lea edi, [esi - 0x7015]
push edi
jmp 0x408e0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408e11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408e00
mov eax, 1
add ebx, ebx
jne 0x408e23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408e18
jne 0x408e34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e18
xor ecx, ecx
sub eax, 3
jb 0x408e48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408eba
mov ebp, eax
add ebx, ebx
jne 0x408e53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x408e60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408e84
inc ecx
add ebx, ebx
jne 0x408e70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x408e65
jne 0x408e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408ea4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408e95
jmp 0x408e06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408ea4
add edi, ecx
jmp 0x408e06
pop esi
mov edi, esi
mov ecx, 0x73
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408ec2
cmp byte [edi], 1
jne 0x408ec2
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 al, bl
loop 0x408ec7
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x408f36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408ef4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8088]
or eax, eax
je 0x408f30
mov dword [ebx], eax
add ebx, 4
jmp 0x408f11
call dword [esi + 0x8084]
mov ebp, dword [esi + 0x808c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x408f6a
sub esp, 0xffffff80
jmp 0x401240