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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100a4008]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x14], 0x10
mov esi, eax
push edi
mov edi, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
jb 0x1003dfb2
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x1003dfd1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1003dfc0
cmp dword [ebx + 4], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0xc], 0
jle 0x1003e128
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop dword [eax]
mov ebx, dword [ebx]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1003e017
cmp dword [ecx + 4], 0
jle 0x1003e017
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [esp + 0x1c]
mov ecx, 0x100ccfb8
call fcn.1003df80
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + edi], 0
jne 0x1003e020
xor edx, edx
test eax, eax
je 0x1003e041
nop dword [eax]
movsx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x1003e030
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], esi
push eax
lea eax, [esp + 0x20]
mov ecx, 0x100ccfd8
push eax
call fcn.10033af0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x28]
add ecx, 0xc
push eax
call fcn.10033850
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jne 0x1003e107
lea eax, [esp + 0x5c]
mov ecx, 0x100ccfd8
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10033af0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
add ecx, 0xc
push eax
call fcn.10033850
mov ecx, 0x100ccfd8
mov eax, dword [eax]
mov byte [eax + 0xc], 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10033af0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
add ecx, 0xc
push eax
call fcn.10033850
mov ecx, 0x100ccfd8
mov eax, dword [eax]
mov dword [eax + 0x10], ebx
lea eax, [esp + 0x5c]
mov esi, dword [ebx + 0x2c]
add esi, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10033af0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x58]
add ecx, 0xc
push eax
call fcn.10033850
mov eax, dword [eax]
mov dword [eax + 0x14], esi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x10]
add ecx, 0x3c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [ebx + 4]
jl 0x1003dff0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10088c86
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003e3a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100a4008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1003e515
mov eax, dword [eax + 2]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1003e515
push ebx
lea ebx, [eax - 4]
test ebx, ebx
je 0x1003e514
mov eax, dword [ebx + 4]
test eax, eax
je 0x1003e514
cmp eax, 0xc8
jg 0x1003e514
cmp dword [ebx], 0
je 0x1003e514
push esi
mov esi, dword [ebx + 8]
test esi, esi
je 0x1003e513
push edi
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003e408
xor edx, edx
test ecx, ecx
je 0x1003e426
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003e415
mov dword [ebp - 8], edi
cmp dword [ebx + 4], 0
mov dword [ebp - 0x18], 0
jle 0x1003e512
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx]
add ebx, eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x1003e4f9
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + esi], 0
jne 0x1003e458
xor edx, edx
test eax, eax
je 0x1003e476
movsx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x1003e465
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
mov ecx, 0x100ccfd8
call fcn.10033600
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100335e0
cmp dword [eax + 8], 0
jne 0x1003e4f3
lea eax, [ebp - 8]
mov ecx, 0x100ccfd8
push eax
call fcn.10033600
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100335e0
mov ecx, 0x100ccfd8
mov byte [eax], 1
lea eax, [ebp - 8]
mov esi, dword [ebx + 8]
push eax
call fcn.10033600
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100335e0
mov ecx, 0x100ccfd8
mov dword [eax + 8], esi
lea eax, [ebp - 8]
push eax
call fcn.10033600
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100335e0
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
lea ebx, [ecx - 4]
inc esi
add eax, 0x3c
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
cmp esi, dword [ebx + 4]
jl 0x1003e442
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10088c86
mov esp, ebp
pop ebp
ret 4
Function at 0x10063e20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100913bd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100a4008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor edx, edx
mov eax, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
je 0x10063f5d
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x10063ea7
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x10063e92
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10020990
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x10063ec1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmovae eax, ecx
mov byte [eax + esi], 0
jmp 0x10063f06
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x10063ef3
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push ecx
add esi, edx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x10063f06
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.100271f0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x10063f35
mov edi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10063f21
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x10063f45
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10063f58
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x10063f5d
mov eax, dword [ebp - 0x14]
jmp 0x10063e7e
mov edi, dword [edi + 0x18]
jmp 0x10063f5f
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x10063f97
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10063f8d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10063f8d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10089103
add esp, 8
mov eax, edi
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.10088c86
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10063fc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100913bd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100a4008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 1
xor edx, edx
mov eax, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
je 0x100640fd
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x10064047
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x10064032
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10020990
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x10064061
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmovae eax, ecx
mov byte [eax + esi], 0
jmp 0x100640a6
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x10064093
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push ecx
add esi, edx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x100640a6
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.100271f0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x100640d5
mov edi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100640c1
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x100640e5
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100640f8
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x100640fd
mov eax, dword [ebp - 0x14]
jmp 0x1006401e
mov edi, dword [edi + 0x18]
jmp 0x100640ff
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x10064137
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1006412d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006412d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10089103
add esp, 8
mov eax, edi
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.10088c86
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100657c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100657eb
push 0
push 0
push 0
push 0x100240c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100657eb
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x10077390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10077531
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x10077531
mov eax, dword [0x100c7e08]
cmp dword [eax + 0x174], 0xffffffff
je 0x10077531
mov eax, dword [0x100c80b0]
add eax, 0xffffff91
xor eax, 0x5adf9178
cmp dword [eax + ebx], 0
mov eax, dword [0x100c8078]
setle cl
add eax, 0xffffff9f
xor eax, 0x5adf916a
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x100c806c]
add eax, 0xffffffa2
xor eax, 0x5adf9167
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x100c8070]
add eax, 0xffffffa1
xor eax, 0x5adf9168
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x100c8074]
lea eax, [ecx - 0x60]
xor eax, 0x5adf9169
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x1007747e
lea eax, [ecx - 0x60]
xor eax, 0x5adf9169
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x10077476
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1007746a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x10077467
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x100c8074]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x10077433
lea eax, [ecx - 0x60]
xor eax, 0x5adf9169
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov edx, dword [0x100c7e1c]
xor ebx, ebx
mov dword [ebp - 4], edx
mov eax, dword [edx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x10077522
nop dword [eax]
mov eax, dword [edx + 0x1c]
lea ecx, [ebx*4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ecx + eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100774e0
xor edx, edx
test ecx, ecx
je 0x10077509
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100774f0
cmp edi, 0x79705c5e
je 0x10077514
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x10077522
mov edx, dword [ebp - 4]
jmp 0x100774c0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ecx + eax]
jmp 0x10077524
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x100c7f04]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10080ed0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100cd248]
sub esp, 0x10
push ebx
push esi
push edi
test al, 1
jne 0x10080f38
or eax, 1
mov dword [0x100cd248], eax
mov eax, dword [0x100c7d94]
mov ebx, dword [eax + 0x30]
jmp 0x10080f2c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x10080f00
xor edx, edx
test ecx, ecx
je 0x10080f29
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10080f10
cmp esi, 0xcc254ccd
je 0x10080f30
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10080ef4
mov dword [0x100cd244], ebx
jmp 0x10080f3e
mov ebx, dword [0x100cd244]
mov eax, dword [ebx]
movss xmm0, dword [0x100b1fd4]
push ecx
mov ecx, ebx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
cmp byte [0x100b219c], 0
je 0x100810bb
mov eax, dword [0x100c7df4]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x100ccf28]
ja 0x100810bb
movss xmm2, dword [0x100ccf2c]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x100810bb
subss xmm1, dword [0x100ccf24]
mov eax, dword [0x100a4630]
movss xmm0, dword [0x1009a158]
mov ecx, dword [0x100c7da4]
cdq
divss xmm1, xmm2
sub eax, edx
mov word [ebp - 4], 0xc8c8
mov ebx, eax
mov byte [ebp - 2], 0xc8
mov eax, dword [0x100a4634]
cdq
sub eax, edx
sar ebx, 1
mov edi, eax
mov dword [ebp - 0x10], ebx
sar edi, 1
mov dword [ebp - 0xc], edi
subss xmm0, xmm1
mulss xmm0, dword [0x1009a250]
cvttss2si eax, xmm0
mov byte [ebp - 1], al
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100c7da4]
lea edx, [edi - 1]
push edx
lea esi, [ebx - 1]
add ebx, 0xfffffffa
push esi
mov eax, dword [ecx]
lea edx, [edi - 6]
push edx
push ebx
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x100c7da4]
mov eax, dword [ebp - 8]
mov byte [ebp - 1], al
mov word [ebp - 4], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 2], 0xc8
push dword [ebp - 4]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100c7da4]
inc edi
mov edx, dword [ebp - 0xc]
push edi
push esi
mov eax, dword [ecx]
add edx, 6
push edx
push ebx
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x100c7da4]
mov eax, dword [ebp - 8]
mov byte [ebp - 1], al
mov word [ebp - 4], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 2], 0xc8
push dword [ebp - 4]
mov eax, dword [eax + 0x38]
call eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x100c7da4]
push edi
mov edi, dword [ebp - 0xc]
lea esi, [ebx + 1]
add ebx, 6
mov eax, dword [ecx]
push esi
lea edx, [edi + 6]
push edx
mov eax, dword [eax + 0x4c]
push ebx
call eax
mov ecx, dword [0x100c7da4]
mov eax, dword [ebp - 8]
mov byte [ebp - 1], al
mov word [ebp - 4], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 2], 0xc8
push dword [ebp - 4]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100c7da4]
lea edx, [edi - 1]
push edx
push esi
lea edx, [edi - 6]
mov eax, dword [ecx]
push edx
push ebx
mov eax, dword [eax + 0x4c]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d1f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a3e2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00498c17
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42d272
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00496afd
mov eax, dword [eax]
push 0x4d1cc0
push eax
call fcn.00489234
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00498ea2
test bl, bl
je 0x42d272
push 0x4d1cc0
lea ecx, [esp + 0xc]
call fcn.00499232
push 0x4d1ccc
lea ecx, [esp + 0xc]
call fcn.00499232
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42d2ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00498ea2
jmp 0x42d379
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x42d332
lea edx, [esp + 0x7c]
push 0x4d1cc8
push edx
call fcn.00489234
add esp, 8
test eax, eax
je 0x42d332
lea eax, [esp + 0x7c]
push 0x4d1cc4
push eax
call fcn.00489234
add esp, 8
test eax, eax
je 0x42d332
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42d2c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00498ea2
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x42db70
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42dbd2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x42dbe0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a3eab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4db810]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x42dd18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42dc46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00498ea2
xor eax, eax
jmp 0x42dd8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00498fdf
push esi
lea ecx, [esp + 0xc]
call fcn.0049926e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42dd6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.0042db70
test eax, eax
jne 0x42dd6d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push bind
mov ecx, edi
call fcn.0042db70
test eax, eax
jne 0x42dd6d
lea eax, [esp + 0x14]
push 0x4d1cdc
push eax
call fcn.0048a380
mov esi, eax
add esp, 8
test esi, esi
jne 0x42dd4c
lea ecx, [esp + 0x14]
push 0x4d1cd8
push ecx
call fcn.0048a300
mov esi, eax
add esp, 8
test esi, esi
jne 0x42dd4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42dd4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00498f8f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42dc5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00498ea2
xor eax, eax
jmp 0x42dd8f
mov byte [esi], 0
push 0x4d1cd4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00498ea2
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x4340c6
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x4340ee
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret