joyce8/EMBER2024-capa huggingface dataset:
Function at 0x83f0a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e4000]
push edi
or ebp, 0xffffffff
jmp 0x83f0c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x83f0c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83f0b8
mov eax, 1
add ebx, ebx
jne 0x83f0db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x83f0ec
jne 0x83f10b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83f10b
dec eax
add ebx, ebx
jne 0x83f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x83f0d0
add ebx, ebx
jne 0x83f107
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x83f15d
xor ecx, ecx
sub eax, 3
jb 0x83f123
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x83f192
sar eax, 1
mov ebp, eax
jmp 0x83f12e
add ebx, ebx
jne 0x83f12e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83f0fc
inc ecx
add ebx, ebx
jne 0x83f13c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x83f0fc
add ebx, ebx
jne 0x83f149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x83f13e
jne 0x83f15a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x83f13e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x83f17c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x83f16e
jmp 0x83f0be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x83f17c
add edi, ecx
jmp 0x83f0be
pop esi
mov edi, esi
mov ecx, 0xfed0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x83f19a
cmp byte [edi], 0x71
jne 0x83f19a
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 0x83f19f
lea edi, [esi + 0x427000]
mov eax, dword [edi]
or eax, eax
je 0x83f217
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x443a04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x443aec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x83f1cc
mov ecx, edi
jns 0x83f1fb
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 + 0x443af4]
or eax, eax
je 0x83f211
mov dword [ebx], eax
add ebx, 4
jmp 0x83f1e9
call dword [esi + 0x443af0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x83f248
cmp al, 0xef
ja 0x83f23b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x83f21d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x83f22a
mov ebp, dword [esi + 0x443af8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x83f27c
sub esp, 0xffffff80
jmp 0x5d53ad
Function at 0x484cda
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x484a08
or edi, eax
add edi, 0xada852d3
call fcn.00484d16
dec eax
add edi, eax
add eax, 0x7ea0daf4
xor dword [ebx], edx
or edi, edi
add eax, 0x37e53fae
add ebx, 2
mov eax, eax
cmp ebx, esi
jl fcn.00484cda
inc eax
add edi, eax
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x3c395da0
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x1e3d0195
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x43cf67
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43ccda
add esi, ebx
call fcn.0043cf91
sub esi, esi
add esi, esi
xor dword [edx], eax
inc ebx
mov esi, 0x48fba387
inc edx
sub esp, 4
mov dword [esp], esi
pop ebx
mov ebx, 0xc71844e9
cmp edx, edi
jne fcn.0043cf67
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10005910
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, 0xfffffecb
mov dword [0x10019c74], 0x1851
mov dword [0x10019c80], 0
mov byte [0x10019c84], 0
mov dword [0x10019c78], 0xbb5
mov dword [0x10019c7c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jmp 0x1000598c
mov eax, 0x1a17
xor ecx, ecx
mov dword [0x10019c74], 0x1a17
mov dword [0x10019c7c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x100059d2
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x505
mov dword [0x10019c78], eax
mov eax, ecx
mov bl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], bl
mov dword [0x10019c74], 0x1e8b
mov ecx, dword [0x10019c7c]
add ecx, 1
mov dword [0x10019c7c], ecx
cmp ecx, 0x100
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
jl 0x1000598c
jmp 0x10005969
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x10019c78], 0xa64
mov esi, dword [0x10019c80]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov eax, ebx
cdq
mov ebx, dword [ebp - 0x30]
idiv ebx
mov dword [0x10019c80], edx
mov esi, dword [ebp - 0x2c]
mov bl, byte [edi + esi]
mov byte [0x10019c84], bl
add ecx, 0xffffde76
mov dword [0x10019c74], ecx
mov bl, byte [edi + edx]
mov byte [edi + esi], bl
mov ecx, dword [0x10019c74]
add ecx, 0x1065
mov dword [0x10019c74], ecx
mov bl, byte [0x10019c84]
mov ecx, dword [0x10019c80]
mov byte [edi + ecx], bl
mov dword [0x10019c78], 0x1190
mov ecx, dword [0x10019c7c]
add ecx, 1
mov dword [0x10019c7c], ecx
cmp ecx, 0x100
mov dword [ebp - 0x34], ecx
jge 0x10005a9b
mov eax, dword [0x10019c74]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x100059d2
mov dword [0x10019c78], 0x1d0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006290
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x10019c78], 0x25dd
mov edx, dword [0x10019c74]
add edx, 0x1f1a
mov dword [0x10019c74], edx
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.100052e0
lea ecx, [0x100048f0]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x60], 0x11b000
mov dword [0x10019c78], 0x1a64
mov edx, dword [0x10019c60]
mov dword [esp + 0x74], edx
mov edx, dword [0x10019c64]
mov dword [esp + 0x94], edx
mov edx, dword [0x10019c68]
mov dword [esp + 0x50], edx
mov edx, dword [0x10019c6c]
mov dword [esp + 0x5c], edx
mov edx, dword [0x10019c70]
mov dword [esp + 0x64], edx
mov dword [0x10019c74], 0x62e
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x1000635d
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x10006371
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x10006336
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], eax
mov dword [0x10019c74], 0xc54
mov dword [0x10019c78], 0x226a
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x6c], eax
call fcn.100063f0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x100063e7
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10005ab0
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x10019c74]
add ecx, 0xfffff2ad
mov dword [0x10019c78], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x100063f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10019c74], 0xd59
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100064be
mov dword [0x10019c74], 0x18ea
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100064f1
jmp 0x10006523
mov dword [0x10019c74], 0x1f05
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10006429
jmp 0x10006523
mov eax, dword [ebp - 0x18]
mov dword [0x10019c78], 0x249a
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x100064d6
jmp 0x10006523
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
jl 0x100064be
jmp 0x10006469
mov dword [0x10019c74], 0x1e8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000644b
jmp 0x10006523
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
je 0x10006469
jmp 0x1000648a
mov dword [0x10019c74], 0x32eb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100064a3
jmp 0x10006523
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10006523
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x10006523
mov eax, 1
mov dword [0x10019c74], 0x2625
mov dword [ebp - 0x20], eax
jmp 0x10006532
xor eax, eax
mov dword [0x10019c78], 0x24da
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x10006700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10019c7c], 0
mov dword [0x10019c80], 0
mov dword [0x10019c88], 0
mov edi, dword [0x10019c74]
add edi, 0x1d5f
mov dword [0x10019c74], edi
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x10006846
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1000676d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10019c7c], edx
mov dword [0x10019c74], 0x148b
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10019c80], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10019c84], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10019c84]
mov edx, dword [0x10019c80]
mov byte [edi + edx], cl
mov edx, dword [0x10019c7c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10019c80]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10019c88], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
xor cl, byte [edx + ebx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov dword [0x10019c74], 0x1f03
add ebx, 1
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x38], ebx
je 0x10006844
mov eax, dword [0x10019c7c]
mov ecx, dword [0x10019c80]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x1000676d
jmp 0x10006846
mov dword [0x10019c74], 0xeb3
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40931c
Capabilities:
Create thread
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, 0x409284
call fcn.004041c8
mov esi, dword [0x40a164]
xor eax, eax
push ebp
push 0x409488
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x40a140]
mov dword [esi], eax
mov edx, dword [0x40a160]
xor eax, eax
call fcn.004026c4
mov eax, 0x100000
call fcn.00402494
mov edx, dword [0x40a154]
mov dword [edx], eax
cmp dword [esi], 0x100000
jg 0x40946d
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.004026c4
mov eax, dword [ebp - 0x14]
mov edx, 0x40
call fcn.00404904
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40946d
mov eax, dword [esi]
call fcn.00402494
mov edx, dword [0x40a14c]
mov dword [edx], eax
push 0
push 0x41803c
mov eax, dword [esi]
push eax
mov eax, dword [0x40a14c]
mov eax, dword [eax]
push eax
push ebx
call sub.kernel32.dll_ReadFile
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [esi]
cmp eax, dword [0x41803c]
jne 0x40946d
mov eax, dword [0x40a15c]
push eax
mov ecx, dword [0x40a158]
mov edx, dword [esi]
mov eax, dword [0x40a14c]
mov eax, dword [eax]
call fcn.00405064
test al, al
je 0x40946d
call fcn.00407eb0
call fcn.00408730
test al, al
jne 0x40946d
mov ecx, 0x409498
mov edx, 0x4094a0
mov eax, 0x80000002
call fcn.004051a4
test al, al
jne 0x409439
call fcn.00408ed0
push 0x418038
push 0
push 0
push 0x408910
push 0
push 0
call sub.kernel32.dll_CreateThread
push 0x418038
push 0
push 0
push 0x408a3c
push 0
push 0
call sub.kernel32.dll_CreateThread
call fcn.00408384
lea eax, [ebp - 0x18]
call fcn.00407148
mov eax, dword [ebp - 0x18]
mov edx, dword [0x40a160]
mov edx, dword [edx]
call fcn.00406d18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40948f
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00403140
ret

Function at 0x43cf52
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, 0x43ccda
or edi, eax
and eax, eax
call fcn.0043cf89
mov edi, 0x5044a153
add edi, 1
xor dword [esi], edx
inc esi
sub eax, 1
cmp esi, ebx
jne fcn.0043cf52
mov edi, edi
sub edi, 0x19e4375b
ret
Function at 0x423ea0
Capabilities:
Parse pe header

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

Function at 0x424040
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
mov esi, dword [esp + 0x360]
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
push esi
mov dword [esp + 0x14], edi
call fcn.0040c9d0
add esp, 4
test eax, eax
je 0x42420e
mov ebx, dword [esp + 0x368]
test ebx, ebx
je 0x42420e
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [esp + 0x18]
push esi
push eax
call edi
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0040ce70
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 8
lea edx, [esp + 0x18]
push ebx
push edx
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424137
call fcn.004246e0
lea edx, [esp + 0x11c]
push esi
push edx
call edi
lea eax, [esp + 0x11c]
push 0x104
push eax
call fcn.0040ce70
add esp, 8
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x11c]
push ecx
push edx
call ebp
test byte [esp + 0x220], 0x10
jne 0x42411d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jl 0x42411d
inc dword [esp + 0x10]
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4240c3
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x18]
push esi
push ecx
call edi
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.0040ce70
add esp, 8
lea eax, [esp + 0x18]
push 0x42b1bc
push eax
call ebp
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4241fd
call fcn.004246e0
test byte [esp + 0x220], 0x10
je 0x4241e3
cmp byte [esp + 0x24c], 0x2e
je 0x4241e3
lea eax, [esp + 0x11c]
push esi
push eax
call edi
lea ecx, [esp + 0x11c]
push 0x104
push ecx
call fcn.0040ce70
add esp, 8
lea edx, [esp + 0x24c]
lea eax, [esp + 0x11c]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x368]
lea edx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00424040
add dword [esp + 0x10], eax
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x42417b
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
Function at 0x10038af0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x1008c058]
mov dword [ebp - 4], eax
jmp 0x10038b17
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10038b30
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10038b2e
mov eax, dword [ebp - 4]
jmp 0x10038bb4
jmp 0x10038b0f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.10001ec4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10038bb1
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x10038b73
mov edx, dword [ebp - 4]
mov eax, dword [0x1008c058]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1008c058], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.10001ec4
mov esp, ebp
pop ebp
ret
Function at 0x10039990
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1008b414]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x10039b0c
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10039af9
cmp dword [ebp - 0x28], 0x10
jb 0x10039add
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.10001ec4
cmp dword [ebp - 0x1c], eax
jne 0x10039add
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.10001ec4
cmp dword [ebp - 0x20], eax
je 0x10039add
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10039a64
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x1008bbe4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.10001ec4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10039a62
jmp 0x10039af9
jmp 0x10039abd
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x10039abd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1008bbe4]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.10001ec4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10039aa7
jmp 0x10039af9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100399e3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10001ec4
push edx
mov ecx, ebp
push eax
lea edx, [0x10039b38]
call fcn.10001c62
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001901
add esp, 0x30
cmp ebp, esp
call fcn.10001ec4
mov esp, ebp
pop ebp
ret