joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cf50
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022d6b
mov eax, dword fs:[0]
push eax
mov eax, 0x2938
call fcn.10010580
mov eax, dword [0x1002d230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x288c]
push 0x287c
push 0
push eax
mov dword [ebp - 0x2890], 0
call fcn.1000f480
add esp, 0xc
mov dword [ebp - 0x2894], 0x2880
lea eax, [ebp - 0x2894]
push eax
lea eax, [ebp - 0x2890]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x1000d180
lea esi, [ebp - 0x2890]
lea eax, [esi + 8]
push eax
call fcn.1000c7a0
mov eax, dword [esi + 0x1a0]
add esp, 4
cmp eax, 6
je 0x1000cff7
cmp eax, 0x17
je 0x1000cff7
mov esi, dword [esi]
test esi, esi
jne 0x1000cfd0
jmp 0x1000d180
push 0x98
lea eax, [ebp - 0x292c]
push 0
push eax
call fcn.1000f480
add esp, 0xc
lea ecx, [ebp - 0x292c]
push 1
push 2
call fcn.10003f20
mov dword [ebp - 4], 0
xor ebx, ebx
jmp 0x1000d030
mov eax, dword [ebp - 0x292c]
lea ecx, [ebp - 0x292c]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x293c]
push eax
call fcn.1000daf1
mov ecx, dword [ebp - 0x292c]
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
lea ecx, [ebp + ecx - 0x292c]
push ecx
call eax
mov eax, dword [ebp - 0x292c]
lea ecx, [ebp - 0x292c]
add esp, 0x18
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x28ec], 0x30
movzx eax, byte [esi + ebx + 0x194]
push eax
call fcn.1000ac70
inc ebx
cmp ebx, 6
jl 0x1000d030
lea eax, [ebp - 0x2944]
push eax
lea ecx, [ebp - 0x292c]
call fcn.100076b0
mov esi, eax
cmp edi, esi
je 0x1000d123
cmp dword [edi + 0x14], 0x10
jb 0x1000d0d2
push dword [edi]
call fcn.1000e386
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esi + 0x14], 0x10
jae 0x1000d0fc
mov eax, dword [esi + 0x10]
inc eax
je 0x1000d106
push eax
push esi
push edi
call fcn.1000dbe0
add esp, 0xc
jmp 0x1000d106
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x2930], 0x10
jb 0x1000d13a
push dword [ebp - 0x2944]
call fcn.1000e386
add esp, 4
lea ecx, [ebp - 0x28dc]
mov dword [ebp - 0x2930], 0xf
mov dword [ebp - 0x2934], 0
mov byte [ebp - 0x2944], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10004520
lea eax, [ebp - 0x28dc]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.1000da72
add esp, 4
xor eax, eax
cmp dword [edi + 0x10], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000dbb7
mov esp, ebp
pop ebp
ret
Function at 0x458fd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3f000]
push edi
jmp 0x458fea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x458ff1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x458fe0
mov eax, 1
add ebx, ebx
jne 0x459003
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x458ff8
jne 0x459014
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x458ff8
xor ecx, ecx
sub eax, 3
jb 0x459028
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45909a
mov ebp, eax
add ebx, ebx
jne 0x459033
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x459040
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x459064
inc ecx
add ebx, ebx
jne 0x459050
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x459045
jne 0x459061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x459045
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x459084
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x459075
jmp 0x458fe6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x459084
add edi, ecx
jmp 0x458fe6
pop esi
mov edi, esi
mov ecx, 0xe89
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4590a2
cmp byte [edi], 0x11
jne 0x4590a2
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 0x4590a7
lea edi, [esi + 0x55000]
mov eax, dword [edi]
or eax, eax
je 0x45911f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5ae90]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5af8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4590d4
mov ecx, edi
jns 0x459103
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 + 0x5af94]
or eax, eax
je 0x459119
mov dword [ebx], eax
add ebx, 4
jmp 0x4590f1
call dword [esi + 0x5af90]
mov ebp, dword [esi + 0x5af98]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x459153
sub esp, 0xffffff80
jmp 0x41d5db
Function at 0x10009488
Capabilities:
Encode data using xor

Disassembly:
mov al, 0xef
add dl, byte [eax]
adc byte [edi], dl
add dword [eax], edx
and byte [edi], dl
add dword [eax], edx
rol byte [ecx + 1], 1
adc byte [eax], ah
clc
add dword [eax], edx
xor bl, 1
adc byte [eax - 0xd], al
add dword [eax], edx
add bl, dh
add dword [eax], edx
pushal
add dword [eax], edx
loopne 0x1000949c
add dword [eax], edx
mov al, 0x82
add byte [eax], dl
mov al, byte [0x10100236]
pop ss
add dword [eax], edx
and byte [edi], dl
add dword [eax], edx
xor ch, ch
add dword [eax], edx
and ch, ch
add dword [eax], edx
cmp byte [edi + 1], 0x10
add ch, ch
add dword [eax], edx
loopne 0x100094be
add dword [eax], edx
shr ah, 1
adc byte [eax - 0x5feffe14], dh
in al, dx
add dword [eax], edx
nop
in al, dx
add dword [eax], edx
adc byte [eax + eax + 0x10], bh
sal byte [esi], 1
add dl, byte [eax]
adc byte [edi], dl
add dword [eax], edx
and byte [edi], dl
add dword [eax], edx
add byte [eax], al
add dl, byte [eax]
loopne 0x100094f9
inc dword [ecx]
adc byte [eax], al
push ds
add dword [eax], edx
add byte [esi], bl
add dword [eax], edx
sbb al, 0x82
add byte [eax], dl
jo 0x1000953d
add dl, byte [eax]
adc byte [edi], dl
add dword [eax], edx
and byte [edi], dl
add dword [eax], edx
xor ch, ch
add dword [eax], edx
and ch, ch
add dword [eax], edx
cmp byte [edi + 1], 0x10
lock adc al, byte [edx]
adc al, dl
adc al, byte [edx]
adc byte [eax - 0x4feffdee], dh
in al, dx
add dword [eax], edx
mov al, byte [0x901001ec]
in al, dx
add dword [eax], edx
mov al, byte [0x10007b]
aaa
add dl, byte [eax]
adc byte [edi], dl
pop ss
add dword [eax], edx
and byte [edi], dl
add dword [eax], edx
and byte [ecx], al
add dl, byte [eax]
add byte [eax], 2
adc byte [eax], ah
add dl, byte [eax]
sub byte [ebx], bh
adc byte [eax + 0x10100237], ah
pop ss
add dword [eax], edx
and byte [edi], dl
add dword [eax], edx
xor byte [0x24a01002], ah
add dl, byte [eax]
pushal
add byte [edx], al
adc byte [esi + edi*2], ch
invalid

Function at 0x1000a7d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov dword [esi], eax
add esp, 0x18
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
pop esi
pop ebp
ret
Function at 0x10014fa0
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x1003bf97
call fcn.1003b783
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 8]
or ebx, 0xffffffff
cmp ecx, ebx
sete al
test al, al
je 0x10014fce
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
jmp 0x10015132
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x10014ffc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10014ffc
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x10015132
xor edi, edi
cmp dword [esi + 0x4c], edi
je 0x10015130
mov ecx, esi
call fcn.10015832
mov eax, dword [ebp + 8]
cmp dword [esi + 0x38], edi
jne 0x10015035
push dword [esi + 0x4c]
movsx eax, al
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
pop ecx
cmp eax, ebx
mov eax, dword [ebp + 8]
pop ecx
jne 0x10015132
jmp 0x10015130
push edi
push 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.100149f0
lea eax, [esi + 0x40]
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x28]
jae 0x100150cb
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x29]
push eax
push dword [ebp - 0x34]
call fcn.1003a812
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x1001511c
cmp eax, 1
jg 0x100150fd
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1001509f
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, eax
je 0x100150d0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x100150b2
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001511c
jmp 0x100150d3
mov ecx, dword [ebp - 0x28]
jmp 0x1001505a
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x29]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x3c], eax
jne 0x10015119
test edi, edi
jne 0x1001504c
cmp dword [ebp - 0x18], 0x20
jae 0x1001511c
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.100156a6
jmp 0x1001504c
cmp eax, 3
jne 0x1001511c
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
movsx eax, byte [ebp - 0x29]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
pop ecx
pop ecx
cmp eax, ebx
je 0x1001511c
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10015130
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.10011115
pop ecx
mov eax, ebx
call fcn.1003b72d
ret 4
Function at 0x10015855
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x1003bffb
call fcn.1003b783
mov esi, ecx
mov dword [ebp - 0x30], esi
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x1001595e
cmp byte [esi + 0x3d], bl
je 0x1001595e
push 0xffffffffffffffff
call fcn.10014fa0
cmp eax, 0xffffffff
sete al
test al, al
je 0x10015892
xor al, al
jmp 0x10015960
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.100149f0
lea eax, [esi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x18], 0x10
mov edx, dword [ebp - 0x2c]
jae 0x100158e2
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
push dword [ebp - 0x34]
mov ecx, dword [esi + 0x20]
call fcn.1003a812
mov ecx, edi
call dword [esi + 0x20]
sub eax, ebx
je 0x100158e7
sub eax, 1
jne 0x1001593e
mov esi, dword [ebp - 0x30]
jmp 0x100158ed
mov ecx, dword [ebp - 0x2c]
jmp 0x100158b4
mov esi, dword [ebp - 0x30]
mov byte [esi + 0x3d], bl
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x100158f9
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x38]
sub edi, eax
je 0x10015920
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1001590c
lea eax, [ebp - 0x2c]
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10015946
cmp byte [esi + 0x3d], 0
je 0x10015944
test edi, edi
jne 0x100158a6
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.100156a6
jmp 0x100158a6
dec eax
sub eax, 1
jne 0x10015946
mov bl, 1
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1001595a
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.10011115
pop ecx
mov al, bl
jmp 0x10015960
mov al, 1
call fcn.1003b72d
ret
Function at 0x100168e0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x1006100c]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
push esi
push edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x3c]
push eax
call fcn.10016cb6
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x10016954
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
mov esi, eax
cmp ecx, 8
jae 0x10016939
lea esi, [esp + 0x3c]
cmp word [esi + edx*2 - 2], 0x2f
je 0x1001696c
mov esi, eax
cmp ecx, 8
jae 0x1001694c
lea esi, [esp + 0x3c]
cmp word [esi + edx*2 - 2], 0x5c
je 0x1001696c
push 1
push 0x100055d8
lea ecx, [esp + 0x44]
call fcn.10016d94
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
cmp ecx, 8
jae 0x10016975
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x100169bf
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov edi, dword [ebp + 8]
lea esi, [esp + 8]
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x3c]
call fcn.10016cf6
mov ecx, dword [esp + 0x54]
mov eax, dword [ebp + 8]
pop edi
pop esi
xor ecx, esp
call fcn.1003a230
mov esp, ebp
pop ebp
ret
Function at 0x1001cdd0
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x1003bf97
call fcn.1003b783
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x1001cdf5
xor eax, eax
jmp 0x1001cf69
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x1001ce21
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x1001ce21
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x1001cf69
cmp dword [esi + 0x4c], 0
je 0x1001cf66
mov ecx, esi
call fcn.1001d392
cmp dword [esi + 0x38], 0
jne 0x1001ce55
push dword [esi + 0x4c]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
pop ecx
pop ecx
cmp ax, bx
je 0x1001cf66
movzx ebx, di
jmp 0x1001cf66
push 0
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
call fcn.100149f0
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x28]
jae 0x1001ceee
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call fcn.1003a812
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x1001cf52
cmp eax, 1
jg 0x1001cf2b
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1001cec2
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, eax
je 0x1001cef3
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1001ced5
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001cf26
jmp 0x1001cef6
mov ecx, dword [ebp - 0x28]
jmp 0x1001ce7d
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x3c], eax
jne 0x1001cf20
test edi, edi
jne 0x1001ce6f
cmp dword [ebp - 0x18], 0x20
jae 0x1001cf4c
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.100156a6
jmp 0x1001ce6f
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x1001cf4c
cmp eax, 3
jne 0x1001cf52
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
pop ecx
pop ecx
cmp ax, bx
je 0x1001cf4c
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1001cf66
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.10011115
pop ecx
mov ax, bx
call fcn.1003b72d
ret 4
Function at 0x1001d3b7
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x1003bffb
call fcn.1003b783
mov esi, ecx
mov dword [ebp - 0x30], esi
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x1001d4c7
cmp byte [esi + 0x3e], bl
je 0x1001d4c7
mov edi, 0xffff
push edi
call fcn.1001cdd0
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x1001d3fb
xor al, al
jmp 0x1001d4c9
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.100149f0
lea eax, [esi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x18], 0x10
mov edx, dword [ebp - 0x2c]
jae 0x1001d44b
lea edx, [ebp - 0x2c]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
push dword [ebp - 0x34]
mov ecx, dword [esi + 0x20]
call fcn.1003a812
mov ecx, edi
call dword [esi + 0x20]
sub eax, ebx
je 0x1001d450
sub eax, 1
jne 0x1001d4a7
mov esi, dword [ebp - 0x30]
jmp 0x1001d456
mov ecx, dword [ebp - 0x2c]
jmp 0x1001d41d
mov esi, dword [ebp - 0x30]
mov byte [esi + 0x3e], bl
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1001d462
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x38]
sub edi, eax
je 0x1001d489
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1001d475
lea eax, [ebp - 0x2c]
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001d4af
cmp byte [esi + 0x3e], 0
je 0x1001d4ad
test edi, edi
jne 0x1001d40f
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.100156a6
jmp 0x1001d40f
dec eax
sub eax, 1
jne 0x1001d4af
mov bl, 1
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1001d4c3
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.10011115
pop ecx
mov al, bl
jmp 0x1001d4c9
mov al, 1
call fcn.1003b72d
ret

Function at 0x1001e11f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
push edi
xor edi, edi
mov esi, 0x811c9dc5
test edx, edx
je 0x1001e13d
movzx eax, byte [edi + ecx]
xor eax, esi
imul esi, eax, 0x1000193
inc edi
cmp edi, edx
jb 0x1001e12c
pop edi
mov eax, esi
pop esi
ret

Function at 0x1002f103
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1002f13e
mov ecx, dword [eax + 8]
test ecx, ecx
xor eax, eax

Function at 0x1002f3f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1002f0c3
or edx, edi
dec eax
dec edx
lea eax, [ebp - 0x40]
push eax
call fcn.1002f0d3
push eax
push esi
push dword [ebp + 8]
call fcn.1002f088
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1002f0c3
in eax, 0xbf
sub dword [edi - 0x73], edx
inc ebp
call 0x60eb51b9
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
invalid
Function at 0x1002f720
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1002f777
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1002f772
mov dword [ebp + 0xc], ebx
jmp 0x1002f782
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1002f79a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1002f7b8
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
push esp
invalid
invalid
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1002f816
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1002f7fd
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1002f806
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1002f810
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1002f7f2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1002f77c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1002f863
dec eax
je 0x1002f85a
sub eax, 3
je 0x1002f851
mov dword [ebp - 4], 0x40
jmp 0x1002f880
mov dword [ebp - 4], 4
jmp 0x1002f866
mov dword [ebp - 4], 0x20
jmp 0x1002f866
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1002f8b2
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1002f832
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1002f0c3
int3

Function at 0x1002f9d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
invalid
invalid
dec ebx