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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0042f2e4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0xeb37cb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x42f73a
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402910
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042ed64
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.00402910
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042ed64
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x42f6e7
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x42f788
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402910
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042ed64
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.00402910
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x42f7b2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x42f7b2
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x42f7a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xeb37d2
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0042f480
ret

Function at 0x43df94
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x43dfe8
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0xf97814]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0xf97c14]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0xf98014]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0xf98414]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x43dfa3
pop edi
pop esi
pop ebx
ret
Function at 0x49efd0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0xfb8c70]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0xf231a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004971a0
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004983c8
mov eax, dword [esi]
call fcn.00485ca0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x49f042
mov eax, dword [esi]
call fcn.00485ca0
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00485cac
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x49f066
mov eax, dword [esi]
call fcn.00485cac
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00485c94
cmp eax, dword [ebp - 0x18]
jle 0x49f07c
mov eax, dword [esi]
call fcn.00485c94
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00485c88
cmp eax, dword [ebp - 0xc]
jle 0x49f092
mov eax, dword [esi]
call fcn.00485c88
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0049d958
push eax
call fcn.004078d4
call fcn.00406e14
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x49f159
mov eax, ebx
call fcn.00404534
cmp eax, 0x64
jge 0x49f159
cmp dword [0xfa626c], 0
je 0x49f159
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00407924
cmp dword [ebp - 8], 0
je 0x49f159
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00407924
cmp dword [ebp - 8], 0
je 0x49f11c
mov bl, 2
jmp 0x49f137
lea edx, [ebp - 0x20]
mov eax, dword [0xfc0830]
call fcn.004a2268
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x49f135
xor ebx, ebx
jmp 0x49f137
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0xfa6374]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0049d958
push eax
call dword [0xfa626c]
mov eax, dword [0xfb8a7c]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.0049b08c
push 4
mov eax, dword [ebp - 4]
call fcn.0049d958
push eax
call fcn.0040791c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf231b0
call fcn.00406e14
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4d31c4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x4d31d7
add esp, 0xfffffff0
call fcn.004036f0
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040335c
mov byte [ebx + 4], 0
cmp dword [esi + 0x5c], 0
jne 0x4d31fd
cmp dword [esi + 0x58], 0x40
jb 0x4d33e3
jmp 0x4d3203
jl 0x4d33e3
lea eax, [ebx + 0xc]
mov edx, 0x40
call fcn.004079c8
push 0
push 0
push 0
push 0x40
lea edx, [ebx + 0xc]
mov eax, esi
call fcn.004d2ac8
cmp word [ebx + 0xc], 0x5a4d
jne 0x4d33e3
mov ecx, dword [ebx + 0x48]
test ecx, ecx
jle 0x4d33e3
cmp ecx, 0x10000
jge 0x4d33e3
mov eax, ecx
add eax, 4
add eax, 0x14
cdq
cmp edx, dword [esi + 0x5c]
jne 0x4d325e
cmp eax, dword [esi + 0x58]
ja 0x4d33e3
jmp 0x4d3264
jg 0x4d33e3
lea eax, [ebx + 0x4c]
mov edx, 4
call fcn.004079c8
mov eax, dword [ebx + 0x48]
cdq
push edx
push eax
push 0
push 4
lea edx, [ebx + 0x4c]
mov eax, esi
call fcn.004d2ac8
cmp dword [ebx + 0x4c], 0x4550
jne 0x4d33e3
lea eax, [ebx + 0x50]
mov edx, 0x14
call fcn.004079c8
mov eax, dword [ebx + 0x48]
add eax, 4
cdq
push edx
push eax
push 0
push 0x14
lea edx, [ebx + 0x50]
mov eax, esi
call fcn.004d2ac8
mov ax, word [ebx + 0x50]
cmp ax, 0x8664
jne 0x4d331b
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xf0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x4d32df
cmp eax, dword [esi + 0x58]
ja 0x4d336c
jmp 0x4d32e5
jg 0x4d336c
lea eax, [ebx + 0x144]
mov edx, 0xf0
call fcn.004079c8
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xf0
lea edx, [ebx + 0x144]
mov eax, esi
call fcn.004d2ac8
mov byte [ebx + 4], 1
jmp 0x4d336c
cmp ax, 0x14c
jne 0x4d336c
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
add eax, 0xe0
cdq
cmp edx, dword [esi + 0x5c]
jne 0x4d333c
cmp eax, dword [esi + 0x58]
ja 0x4d336c
jmp 0x4d333e
jg 0x4d336c
lea eax, [ebx + 0x64]
mov edx, 0xe0
call fcn.004079c8
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
cdq
push edx
push eax
push 0
push 0xe0
lea edx, [ebx + 0x64]
mov eax, esi
call fcn.004d2ac8
mov byte [ebx + 4], 1
cmp byte [ebx + 4], 0
je 0x4d33e3
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
mov di, word [ebx + 0x52]
movzx edx, di
shl edx, 3
lea edx, [edx + edx*4]
add eax, edx
cdq
cmp edx, dword [esi + 0x5c]
jne 0x4d339d
cmp eax, dword [esi + 0x58]
ja 0x4d33e3
jmp 0x4d339f
jg 0x4d33e3
movzx eax, di
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0xf56550]
call fcn.0040599c
add esp, 4
mov eax, dword [ebx + 0x48]
add eax, 4
add eax, 0x14
movzx edx, word [ebx + 0x60]
add eax, edx
cdq
push edx
push eax
movzx eax, word [ebx + 0x52]
shl eax, 3
lea eax, [eax + eax*4]
xor edx, edx
push edx
push eax
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.004d2ac8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4d33fa
call fcn.00403748
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4d40e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xf5819f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x4d4191
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x4d417a
test esi, esi
jbe 0x4d4191
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a644
test eax, eax
jne 0x4d416c
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x4d4191
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x4d4149
jmp 0x4d4191
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x4d4191
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf581a6
ret
Function at 0x4d4bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0xf58d6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404980
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4d4bfb
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4d4c14
lea eax, [ebp - 0x10]
mov edx, dword [0xfb8c48]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.004049e0
jmp 0x4d4c27
lea eax, [ebp - 0x10]
mov edx, dword [0xfb8c48]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.004049e0
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4d4c33
adc edx, 0
mov edx, dword [edx*4 + 0xfa68ac]
call fcn.00404bec
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404bd0
push eax
call fcn.00406b4c
mov esi, eax
cmp esi, 0xffffffff
je 0x4d4d41
mov eax, 0x40
call fcn.00402714
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406f5c
test eax, eax
je 0x4d4d34
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4d4d34
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406fcc
mov eax, edi
call fcn.00402734
mov eax, 0x18
call fcn.00402714
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406f5c
test eax, eax
je 0x4d4d34
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4d4d34
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x4d4d34
cmp dx, 0x150
ja 0x4d4d34
mov eax, edi
call fcn.00402734
mov eax, 0xe0
call fcn.00402714
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406f5c
test eax, eax
je 0x4d4d34
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x4d4d34
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004049bc
mov eax, edi
call fcn.00402734
push esi
call fcn.00406b04
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404cf8
jne 0x4d4d59
inc ebx
cmp ebx, 0x19
jne 0x4d4bed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xf58d76
lea eax, [ebp - 0x10]
call fcn.00404980
ret
Function at 0x509568
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0xfc5594
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x50958a
shr eax, 1
xor eax, 0xedb88320
jmp 0x50958c
shr eax, 1
dec edx
jne 0x509578
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x509571
mov byte [0xfc5994], 1
pop esi
pop ebx
ret

Function at 0x5095a8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0xfc5994], 0
jne 0x5095bf
call fcn.00509568
mov eax, edi
dec eax
test eax, eax
jl 0x5095e8
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0xfc5594]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5095c9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40ef4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40ef5d
pop dword [ebp - 0x40]
mov eax, 0xb6ba6ee5
add eax, 0x49868078
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x5fe4320c
add dword [ebp - 0x50], 0xee6e133f
mov dword [ebp - 0x4c], 0xa7cf6ab7
add dword [ebp - 0x4c], 0x8a63e18e
mov dword [ebp - 0x48], 0x4085ed81
sub dword [ebp - 0x48], 0xf439a953
mov dword [ebp - 0x44], 0x62a9667d
add dword [ebp - 0x44], 0x9d569983
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xd654f0f1
add dword [ebp - 0x50], 0x9e1d7865
mov dword [ebp - 0x4c], 0x30f92c45
sub dword [ebp - 0x4c], 0xef8ccad0
mov dword [ebp - 0x48], 0x1f0d67b3
sub dword [ebp - 0x48], 0xbb9dfb47
mov dword [ebp - 0x44], 0xb5d7970a
add dword [ebp - 0x44], 0x4a2868f6
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x9e4f67de
sub eax, 0x9e0d36ba
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3effa
push 0
call eax
mov ecx, 0xf7b87ac9
sub ecx, 0xf7b82d92
xor edi, edi
add edi, eax
mov ebx, 0x51865a5e
add ebx, 0xaebce9a2
add ebx, dword [ebp - 0x40]
mov esi, 0x63bf56d4
sub esi, 0xac29c35e
mov dword [ebp - 0x3c], 0xb2c3f887
mov edx, dword [ebx]
sub dword [ebp - 0x38], 0x57ef50a6
sub edx, esi
add dword [ebp - 0x20], edx
mov dword [edi], edx
xor dword [ebp - 0xc], ecx
add edi, 0xee14b3a4
sub edi, 0xee14b3a0
add ebx, 0x5653b20e
sub ebx, 0x5653b20a
loop 0x40f07c
add eax, 0x127af
xor ebx, ebx
add ebx, eax
add eax, 0xcf3ba9f8
add eax, 0x30c4560d
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40611c
pop dword [ebp - 0x30]
mov eax, 0x33648201
sub eax, 0x332420e5
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xdf092409
add dword [ebp - 0x40], 0x6f492142
mov dword [ebp - 0x3c], 0x3c680757
add dword [ebp - 0x3c], 0xf5cb44ee
mov dword [ebp - 0x38], 0xc138504c
sub dword [ebp - 0x38], 0x74ec0c1e
mov dword [ebp - 0x34], 0xe0c9366b
sub dword [ebp - 0x34], 0xe0c9366b
lea eax, [ebp - 0x40]
push eax
mov eax, 0x972e995a
add eax, 0x6911d706
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xd03b25ce
add dword [ebp - 0x40], 0xa4374388
mov dword [ebp - 0x3c], 0x42197d2
add dword [ebp - 0x3c], 0x3d4ac9a3
mov dword [ebp - 0x38], 0x679348e5
sub dword [ebp - 0x38], 0x423dc79
mov dword [ebp - 0x34], 0xdc6f9cfc
sub dword [ebp - 0x34], 0xdc6f9cfc
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x61f04590
sub eax, 0x61afd490
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3a10f
push 0
call eax
mov ecx, 0xa16653f6
sub ecx, 0xa165fe21
xor edx, edx
add edx, eax
mov ebx, 0x47672c3a
sub ebx, 0x47262c3a
add ebx, dword [ebp - 0x30]
mov esi, 0x73a4fdbb
sub dword [ebp - 8], 0x82ac2c44
mov edi, dword [ebx]
sub dword [ebp - 0x18], 0x5af49b6d
add edi, esi
xor dword [ebp - 0xc], esi
mov dword [edx], edi
add edx, 0x7e8a229a
add edx, 0x8175dd6a
add ebx, 0x12cfc822
sub ebx, 0x12cfc81e
loop 0x40623a
add eax, 0x63645849
add eax, 0x9c9cf1de
mov ebx, eax
add eax, 0xc9938d38
add eax, 0x366c72cd
mov ecx, 0x6542359c
sub ecx, 0x6502359c
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x404e4e
Capabilities:
Check mutex on windows
Manipulate console buffer
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
xor esi, esi
cmp dword [0x463c0b4], 0x598
jne 0x404e74
push esi
push esi
call fcn.00405080
pop ecx
pop ecx
call fcn.004050ee
push ebx
push edi
xor ebx, ebx
cmp dword [0x463c0b4], 0x57c
jne 0x404ee7
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
lea eax, [ebp - 0x124]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_GetCPInfoExA]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_GetMailslotInfo]
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_WriteConsoleOutputCharacterA]
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push esi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.DLL_GetVolumePathNameW]
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp ebx, 0xa23d8
jne 0x404eff
push 0x402c60
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x463c0a0], eax
inc ebx
cmp ebx, 0xa4808
jl 0x404e78
mov eax, dword [0x429014]
add eax, 0xb2d3b
push 0x463c0b8
mov dword [0x463c0b4], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
pop edi
pop ebx
cmp eax, 0x14f7
jne 0x404f79
cmp dword [0x463c0b4], 0x18
jne 0x404f5c
push esi
call sub.KERNEL32.DLL_GetSystemPowerStatus
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
call dword [sym.imp.KERNEL32.DLL_GetACP]
cmp dword [0x463c0b4], 0x6ad
jne 0x404f70
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcessHeaps]
push esi
push esi
call fcn.00405040
pop ecx
pop ecx
call fcn.00403722
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x408ff8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4254c0]
jne 0x409002
repz ret
jmp fcn.0040cc5a
Function at 0x40ba70
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.00405cd4
and dword [ebp - 4], 0
cmp dword [0x42a8cc], 0
mov ebx, eax
jne 0x40bb21
push 0x401a9c
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40bbd2
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x401a90
push edi
call esi
test eax, eax
je 0x40bbd2
push eax
call fcn.00405c62
mov dword [esp], 0x401a80
push edi
mov dword [0x42a8cc], eax
call esi
push eax
call fcn.00405c62
mov dword [esp], 0x401a6c
push edi
mov dword [0x42a8d0], eax
call esi
push eax
call fcn.00405c62
mov dword [esp], 0x401a50
push edi
mov dword [0x42a8d4], eax
call esi
push eax
call fcn.00405c62
pop ecx
mov dword [0x42a8dc], eax
test eax, eax
je 0x40bb21
push 0x401a38
push edi
call esi
push eax
call fcn.00405c62
pop ecx
mov dword [0x42a8d8], eax
mov eax, dword [0x42a8d8]
cmp eax, ebx
je 0x40bb79
cmp dword [0x42a8dc], ebx
je 0x40bb79
push eax
call fcn.00405cdd
push dword [0x42a8dc]
mov esi, eax
call fcn.00405cdd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40bb79
test edi, edi
je 0x40bb79
call esi
test eax, eax
je 0x40bb70
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40bb70
test byte [ebp - 0xc], 1
jne 0x40bb79
or dword [ebp + 0x10], 0x200000
jmp 0x40bbb2
mov eax, dword [0x42a8d0]
cmp eax, ebx
je 0x40bbb2
push eax
call fcn.00405cdd
pop ecx
test eax, eax
je 0x40bbb2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bbb2
mov eax, dword [0x42a8d4]
cmp eax, ebx
je 0x40bbb2
push eax
call fcn.00405cdd
pop ecx
test eax, eax
je 0x40bbb2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a8cc]
call fcn.00405cdd
pop ecx
test eax, eax
je 0x40bbd2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40bbd4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40633c
pop dword [ebp - 0x24]
mov eax, 0x75801d6e
sub eax, 0x753fba32
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x8c79364f
add dword [ebp - 0x34], 0xc1d90efc
mov dword [ebp - 0x30], 0xbb25d3bf
sub dword [ebp - 0x30], 0x88f2877a
mov dword [ebp - 0x2c], 0xd4cb8911
add dword [ebp - 0x2c], 0x7780bb1d
mov dword [ebp - 0x28], 0xadf32833
add dword [ebp - 0x28], 0x520cd7cd
lea eax, [ebp - 0x34]
push eax
mov eax, 0xc78f297
add eax, 0xf3c77dc9
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xe375826d
add dword [ebp - 0x34], 0x90fce6e9
mov dword [ebp - 0x30], 0x617d4f0b
sub dword [ebp - 0x30], 0x2010ed96
mov dword [ebp - 0x2c], 0xc9cbf4b3
sub dword [ebp - 0x2c], 0x665c8847
mov dword [ebp - 0x28], 0x9bc27c8c
sub dword [ebp - 0x28], 0x9bc27c8c
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x322ad
push 0
call eax
mov ecx, 0xc56d52d
add ecx, 0xf3a96105
xor edi, edi
add edi, eax
mov esi, 0x70eed4d1
sub esi, 0x70add4d1
add esi, dword [ebp - 0x24]
mov ebx, 0x18f49ba9
add ebx, 0x805d1aba
mov edx, dword [esi]
add dword [ebp - 4], edi
sub edx, ebx
xor dword [ebp - 8], edi
mov dword [edi], edx
xor dword [ebp - 0x10], 0x5619348f
add edi, 0x83253642
sub edi, 0x8325363e
add esi, 4
loop 0x40645b
add eax, 0xef36f582
sub eax, 0xef3629e7
mov ebx, eax
add eax, 0x5fe14d9a
sub eax, 0x5fe14d95
mov ecx, 0x8a313406
sub ecx, 0x89f13406
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x36b86edb
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4e2851f6
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219