joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4017f0
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movups xmm0, xmmword [0x4102e0]
push ebx
push esi
mov esi, ecx
push edi
push 0x1000
push 0x410328
movups xmmword [esi], xmm0
lea eax, [esi + 0x48]
mov dword [ebp - 0x10], esi
movups xmm0, xmmword [0x4102f0]
push eax
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x410300]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [0x410310]
movups xmmword [esi + 0x30], xmm0
movq xmm0, qword [0x410320]
movq qword [esi + 0x40], xmm0
call sub.ucrtbase.dll_memcpy
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov ecx, edi
mov ebx, 4
and ecx, 0x80000003
jns 0x401865
dec ecx
or ecx, 0xfffffffc
add ecx, 1
je 0x401874
mov eax, ebx
mov ebx, ecx
cdq
idiv ecx
mov ecx, edx
test ecx, ecx
jne 0x401867
mov eax, edi
mov ecx, 4
cdq
idiv ebx
mov dword [ebp - 0xc], eax
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0040bed0
mov ebx, eax
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
test eax, eax
jle 0x4018f9
mov ebx, dword [ebp + 8]
mov ecx, 2
mov esi, dword [ebp - 8]
mov dword [ebp - 4], eax
nop
lea eax, [ecx - 2]
cdq
idiv edi
movzx eax, byte [edx + ebx]
mov byte [ebp + 0xf], al
lea eax, [ecx - 1]
cdq
idiv edi
movzx eax, byte [edx + ebx]
mov byte [ebp + 0xe], al
mov eax, ecx
cdq
idiv edi
movzx eax, byte [edx + ebx]
mov byte [ebp + 0xd], al
lea eax, [ecx + 1]
cdq
idiv edi
movzx eax, byte [edx + ebx]
mov byte [ebp + 0xc], al
mov eax, dword [ebp + 0xc]
mov dword [ecx + esi - 2], eax
add ecx, 4
sub dword [ebp - 4], 1
jne 0x4018b0
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
lea ecx, [esi + 8]
mov esi, 2
lea eax, [esi - 2]
cdq
lea ecx, [ecx + 0x18]
idiv edi
mov eax, dword [ebx + edx*4]
xor dword [ecx - 0x20], eax
lea eax, [esi - 1]
cdq
idiv edi
mov eax, dword [ebx + edx*4]
xor dword [ecx - 0x1c], eax
mov eax, esi
cdq
idiv edi
mov eax, dword [ebx + edx*4]
xor dword [ecx - 0x18], eax
lea eax, [esi + 1]
cdq
idiv edi
mov eax, dword [ebx + edx*4]
xor dword [ecx - 0x14], eax
lea eax, [esi + 2]
cdq
idiv edi
mov eax, dword [ebx + edx*4]
xor dword [ecx - 0x10], eax
lea eax, [esi + 3]
cdq
add esi, 6
idiv edi
mov eax, dword [ebx + edx*4]
xor dword [ecx - 0xc], eax
lea eax, [esi - 2]
cmp eax, 0x12
jl 0x401904
push ebx
call fcn.0040bef0
mov esi, dword [ebp - 0x10]
add esp, 4
mov dword [ebp + 0xc], 0
xor edi, edi
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00401770
mov eax, dword [ebp + 0xc]
mov dword [esi + edi*8], eax
mov eax, dword [ebp + 8]
mov dword [esi + edi*8 + 4], eax
inc edi
cmp edi, 9
jl 0x401975
lea edi, [esi + 0x4c]
mov ebx, 0x200
nop
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00401770
mov eax, dword [ebp + 0xc]
lea edi, [edi + 8]
mov dword [edi - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi - 8], eax
sub ebx, 1
jne 0x4019a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4019d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e89d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x416080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.0040bf10
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x401a13
mov eax, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x401a15
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x4020d0
push 0
push 0
call sub.ucrtbase.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x401a5c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c460
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.00406990
int3

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x4030dd
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x4030a0
mov eax, dword [esi]
jmp 0x4031bb
cmp eax, 0x4e0
jb 0x4031bb
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x4030f6
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x403141
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403280
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x271c
call fcn.0040c640
mov eax, dword [0x416080]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, 0x1571
mov eax, 1
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [ebp + eax*4 - 0x1388], edx
inc eax
cmp eax, 0x270
jb 0x4032a1
call fcn.00406db0
mov dword [ebp - 0x1398], 0xffffffff
mov edx, 1
mov dword [ebp - 0x2718], eax
nop dword [eax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [ebp + edx*4 - 0x2718], eax
inc edx
cmp edx, 0x270
jb 0x4032e0
push esi
push 0x1388
lea eax, [ebp - 0x271c]
mov dword [ebp - 0x271c], 0x270
push eax
lea eax, [ebp - 0x138c]
push eax
call sub.ucrtbase.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x138c]
call fcn.00403080
mov esi, 0x7d1
mul esi
cmp eax, esi
jae 0x403356
cmp eax, 0x376
jae 0x403356
lea ecx, [ebp - 0x138c]
call fcn.00403080
mul esi
cmp eax, 0x376
jb 0x403342
lea eax, [edx - 0x7ffff830]
xor eax, 0x80000000
cdq
mov dword [ebp - 0x1394], eax
lea eax, [ebp - 0x1394]
push eax
mov dword [ebp - 0x1390], edx
call fcn.004023d0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.0040c460
mov esp, ebp
pop ebp
ret

Function at 0x403390
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4033c0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4033c0
mov ecx, dword [eax + 0x3c]
cmp ecx, 0x400
jg 0x4033c0
add eax, ecx
xor ecx, ecx
cmp dword [eax], 0x4550
cmovne eax, ecx
pop ebp
ret 4
xor eax, eax
pop ebp
ret 4
Function at 0x4095f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x416080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00406bc0
push eax
call fcn.00409300
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40962e
mov edx, dword [ebp + 8]
push edx
call fcn.00409560
add esp, 4
jmp 0x4097c0
mov ecx, dword [ebp - 0x2c]
call fcn.00409990
test eax, eax
je 0x409674
mov ecx, dword [ebp - 0x2c]
call fcn.00409990
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.004092e0
cmp esi, eax
jae 0x409674
mov eax, dword [ebp + 8]
push eax
call fcn.00409e70
add esp, 4
mov byte [ebp - 0x2f], al
mov ecx, dword [ebp - 0x2c]
call fcn.00408d10
mov cl, byte [ebp - 0x2f]
mov byte [eax], cl
mov eax, dword [ebp + 8]
jmp 0x4097c0
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x409687
call fcn.00406bc0
jmp 0x4097c0
mov ecx, dword [ebp - 0x2c]
call fcn.00408d60
nop
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x4096e1
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp + 8]
push eax
call fcn.00409e70
add esp, 4
mov byte [ebp - 0x30], al
mov ecx, dword [ebp - 0x44]
push ecx
movzx edx, byte [ebp - 0x30]
push edx
call fcn.00406ec0
add esp, 8
movzx eax, al
test eax, eax
je 0x4096d1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
jmp 0x4096d9
call fcn.00406bc0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x4097c0
mov dword [ebp - 0x54], 0x20
mov edx, dword [ebp + 8]
push edx
call fcn.00409e70
add esp, 4
mov byte [ebp - 0x2e], al
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004095a0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x40973e
cmp dword [ebp - 0x34], 1
je 0x40973e
cmp dword [ebp - 0x34], 3
je 0x40978b
jmp 0x4097bb
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
sub eax, ecx
mov dword [ebp - 0x38], eax
je 0x409770
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 1
lea edx, [ebp - 0x28]
push edx
call sub.ucrtbase.dll_fwrite
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x409770
call fcn.00406bc0
jmp 0x4097c0
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 1
lea ecx, [ebp - 0x2e]
cmp dword [ebp - 0x50], ecx
je 0x409784
mov eax, dword [ebp + 8]
jmp 0x4097c0
call fcn.00406bc0
jmp 0x4097c0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x4c]
push eax
movzx ecx, byte [ebp - 0x2e]
push ecx
call fcn.00406ec0
add esp, 8
movzx edx, al
test edx, edx
je 0x4097ae
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
jmp 0x4097b6
call fcn.00406bc0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x4097c0
call fcn.00406bc0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c460
mov esp, ebp
pop ebp
ret 4
Function at 0x40a360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x40a380
jl 0x40a377
cmp dword [ebp + 0xc], 0
ja 0x40a380
xor eax, eax
xor edx, edx
jmp 0x40a4c2
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x40a3a2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0040a4d0
jmp 0x40a4c2
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
call fcn.00408900
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x40a412
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.004062f0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00409450
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00406a80
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.004093f0
nop
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x40a4b3
mov ecx, dword [ebp - 8]
call fcn.00408d60
mov dword [ebp - 0x20], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x40a482
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call sub.ucrtbase.dll_fread
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x40a480
xor eax, eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
sbb edx, eax
mov eax, ecx
jmp 0x40a4c2
jmp 0x40a42e
cmp dword [ebp - 4], 0
jbe 0x40a4b3
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call sub.ucrtbase.dll_fread
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403820
Capabilities:
Get common file path
Get disk information
Get memory capacity
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x458368]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x45836c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0x9e3779b9
mov dword [ebp - 0x20], edx
call fcn.00403810
mov ecx, dword [0x458370]
mov edx, dword [0x458374]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], 0x20
jmp 0x403890
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov esi, dword [ebp - 0xc]
mov eax, dword [0x45fb64]
shl esi, 4
add esi, dword [ebp - 0x28]
cmp eax, 0xfa9
jne 0x4038bc
mov dword [0x45fb60], 0xedeb2e40
jmp 0x4038d7
cmp eax, 0x3eb
jne 0x4038d7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x45f5f0], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x2c]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x45fb64], 0x9e6
mov dword [0x45fb5c], 0xf4ea3dee
jne 0x403912
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x45fb64], 0x213
jne 0x403988
push 0
push 0
push 0
push 0
call ebx
lea eax, [ebp - 0x548]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
lea ecx, [ebp - 0xd48]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub edi, dword [ebp - 4]
cmp dword [0x45fb64], 0xc
jne 0x40399c
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [ebp - 8]
mov eax, edi
shr eax, 5
lea ecx, [edx + edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x20]
xor esi, ecx
cmp dword [0x45fb64], 0xb03
jne 0x4039d4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], 1
jne 0x403890
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403a10
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x45fb64]
mov ecx, dword [0x45f5f4]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x403aa3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x45fb64], 0x959
jne 0x403a8d
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
mov eax, dword [ebp - 4]
push eax
call fcn.00403820
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x403a43
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40af6f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x457ce0]
jne 0x40af79
repz ret
jmp fcn.0040e68b

Function at 0x40c3a4
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.00407ddb
and dword [ebp - 4], 0
cmp dword [0x45d5e0], 0
mov ebx, eax
jne 0x40c455
push 0x4023d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c506
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4023c4
push edi
call esi
test eax, eax
je 0x40c506
push eax
call fcn.00407d69
mov dword [esp], 0x4023b4
push edi
mov dword [0x45d5e0], eax
call esi
push eax
call fcn.00407d69
mov dword [esp], 0x4023a0
push edi
mov dword [0x45d5e4], eax
call esi
push eax
call fcn.00407d69
mov dword [esp], 0x402384
push edi
mov dword [0x45d5e8], eax
call esi
push eax
call fcn.00407d69
pop ecx
mov dword [0x45d5f0], eax
test eax, eax
je 0x40c455
push 0x40236c
push edi
call esi
push eax
call fcn.00407d69
pop ecx
mov dword [0x45d5ec], eax
mov eax, dword [0x45d5ec]
cmp eax, ebx
je 0x40c4ad
cmp dword [0x45d5f0], ebx
je 0x40c4ad
push eax
call fcn.00407de4
push dword [0x45d5f0]
mov esi, eax
call fcn.00407de4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c4ad
test edi, edi
je 0x40c4ad
call esi
test eax, eax
je 0x40c4a4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c4a4
test byte [ebp - 0xc], 1
jne 0x40c4ad
or dword [ebp + 0x10], 0x200000
jmp 0x40c4e6
mov eax, dword [0x45d5e4]
cmp eax, ebx
je 0x40c4e6
push eax
call fcn.00407de4
pop ecx
test eax, eax
je 0x40c4e6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c4e6
mov eax, dword [0x45d5e8]
cmp eax, ebx
je 0x40c4e6
push eax
call fcn.00407de4
pop ecx
test eax, eax
je 0x40c4e6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45d5e0]
call fcn.00407de4
pop ecx
test eax, eax
je 0x40c506
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c508
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406fa0
Capabilities:
Encode data using xor

Disassembly:
push ecx
add byte [ebx - 0x3f7a6ebb], cl
or eax, dword [0xd202b8]
add byte [ebx + 0x51571c7d], cl
mov ecx, dword [ebp + 0x24]
push ecx
push eax
push esi
push edx
call fcn.00406fa0
add esp, 0x18
pop edi
pop esi
and edx, eax
sbb byte [eax], al
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
inc ebp
mov esi, dword [ebp - 0x48]
xor ecx, dword [edx + 0x4e]
push edi
push cs
jne 0x406fa7
push esi
jne 0x406f74
inc eax
hlt

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

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

Function at 0x437d80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x32000]
push edi
or ebp, 0xffffffff
jmp 0x437da2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x437da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x437d98
mov eax, 1
add ebx, ebx
jne 0x437dbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x437db0
jne 0x437dcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x437db0
xor ecx, ecx
sub eax, 3
jb 0x437de0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x437e52
mov ebp, eax
add ebx, ebx
jne 0x437deb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x437df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x437e1c
inc ecx
add ebx, ebx
jne 0x437e08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x437dfd
jne 0x437e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x437dfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x437e3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x437e2d
jmp 0x437d9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x437e3c
add edi, ecx
jmp 0x437d9e
pop esi
mov edi, esi
mov ecx, 0x4a5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x437e5a
cmp byte [edi], 1
jne 0x437e5a
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 0x437e5f
lea edi, [esi + 0x35000]
mov eax, dword [edi]
or eax, eax
je 0x437ed7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3dee8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3df88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x437e8c
mov ecx, edi
jns 0x437ebb
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 + 0x3df8c]
or eax, eax
je 0x437ed1
mov dword [ebx], eax
add ebx, 4
jmp 0x437ea9
call dword [esi + 0x3df9c]
mov ebp, dword [esi + 0x3df90]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x437f0b
sub esp, 0xffffff80
jmp 0x407aa2