joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ae00
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100207b0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x38], ebx
push 0x178
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x178
call fcn.1000d5a5
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea ecx, [ebp - 0x38]
push ecx
push edi
push ebx
push 0x10
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
push ebx
call esi
cmp eax, 0x6f
jne 0x1000ae8c
mov edx, dword [ebp - 0x38]
push edx
push edi
call fcn.1000d639
add esp, 8
mov edi, eax
lea eax, [ebp - 0x38]
push eax
push edi
push ebx
push 0x10
push ebx
call esi
cmp eax, ebx
je 0x1000aeb7
push edi
call fcn.1000d1d2
mov esi, dword [ebp - 0x3c]
add esp, 4
lea edi, [ebp - 0x30]
call fcn.10004320
cmp dword [ebp - 0x1c], 0x10
jb 0x1000afa9
mov ecx, dword [ebp - 0x30]
push ecx
jmp 0x1000afa1
cmp edi, ebx
je 0x1000af83
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x34]
lea edx, [eax + eax*2]
push edx
lea esi, [ebp - 0x4c]
call fcn.1000b980
xor esi, esi
cmp dword [edi + 0x34], ebx
jbe 0x1000af45
mov al, byte [edi + esi + 0x2c]
mov cl, al
shr cl, 4
and al, 0xf
cmp cl, 0xa
setge dl
dec dl
and dl, 0xf9
add dl, 0x37
add cl, dl
mov byte [ebp - 0x32], cl
cmp al, 0xa
setge cl
dec cl
and cl, 0xf9
add cl, 0x37
add al, cl
mov byte [ebp - 0x31], al
lea eax, [ebp - 0x32]
lea ecx, [ebp - 0x4c]
call fcn.1000b8c0
lea eax, [ebp - 0x31]
lea ecx, [ebp - 0x4c]
call fcn.1000b8c0
mov edx, dword [edi + 0x34]
dec edx
cmp esi, edx
je 0x1000af3f
lea eax, [ebp - 0x31]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x31], 0x2d
call fcn.1000b8c0
inc esi
cmp esi, dword [edi + 0x34]
jb 0x1000aee2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov eax, edx
cmp ecx, 0x10
jae 0x1000af55
lea eax, [ebp - 0x30]
add eax, dword [ebp - 0x20]
cmp ecx, 0x10
mov ecx, edx
jae 0x1000af62
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x48]
push edx
mov edx, dword [ebp - 0x4c]
push edx
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1000ba20
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.10008040
push edi
call fcn.1000d1d2
mov esi, dword [ebp - 0x3c]
add esp, 4
lea edi, [ebp - 0x30]
call fcn.10004320
cmp dword [ebp - 0x1c], 0x10
jb 0x1000afa9
mov eax, dword [ebp - 0x30]
push eax
call fcn.1000c6fb
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000badd
mov esp, ebp
pop ebp
ret
Function at 0x1000b460
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020728
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10029080]
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 eax, dword [ebp + 8]
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
mov edi, 0x10
mov dword [ebp - 4], esi
cmp dword [eax + 0x14], edi
jb 0x1000b4b5
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0x34]
push ecx
push esi
push 8
push edi
push eax
call dword [sym.imp.DNSAPI.dll_DnsQuery_A]
test eax, eax
jne 0x1000b597
mov edi, dword [ebp - 0x34]
cmp edi, esi
je 0x1000b51a
cmp word [edi + 8], 0x10
jne 0x1000b511
cmp dword [edi + 0x18], esi
jbe 0x1000b511
lea ebx, [edi + 0x1c]
mov eax, dword [ebx]
mov ecx, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x30], edx
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1000b4f0
sub ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10004840
inc esi
add ebx, 4
cmp esi, dword [edi + 0x18]
jb 0x1000b4e3
mov ebx, dword [ebp - 0x38]
xor esi, esi
mov edi, dword [edi]
cmp edi, esi
jne 0x1000b4d4
mov edi, dword [ebp - 0x34]
push 1
push edi
call dword [sym.imp.DNSAPI.dll_DnsFree]
mov edi, 0xf
lea eax, [ebp - 0x2c]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
mov byte [ebx], 0
cmp ebx, eax
je 0x1000b58b
cmp dword [ebx + 0x14], 0x10
jb 0x1000b549
mov ecx, dword [ebx]
push ecx
call fcn.1000c6fb
add esp, 4
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
mov byte [ebx], 0
cmp dword [ebp - 0x18], 0x10
jae 0x1000b578
mov edx, dword [ebp - 0x1c]
inc edx
push edx
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.1000c260
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
jmp 0x1000b5c2
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebx], ecx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
jmp 0x1000b5c2
cmp dword [ebp - 0x18], 0x10
jb 0x1000b5c2
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x1000b5ba
push esi
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], esi
push 0x10025269
mov ecx, ebx
mov byte [ebx], 0
call fcn.10001240
cmp dword [ebp - 0x18], edi
jb 0x1000b5c2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1000c6fb
add esp, 4
mov eax, ebx
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.1000badd
mov esp, ebp
pop ebp
ret
Function at 0x1000b790
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
push 0x3fc
lea eax, [ebp - 0x400]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x404], edi
call fcn.10011350
add esp, 0xc
xor ecx, ecx
xor edx, edx
mov eax, ecx
div ebx
mov byte [esi + ecx], cl
inc ecx
movzx edx, byte [edx + str.CCC________.___]
mov dword [ebp + ecx*4 - 0x408], edx
cmp ecx, 0x100
jl 0x1000b7c6
xor eax, eax
jmp 0x1000b7f0
mov cl, byte [esi + eax]
mov ebx, dword [ebp + eax*4 - 0x404]
movzx edx, cl
add ebx, edx
add edi, ebx
and edi, 0x800000ff
jns 0x1000b811
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [esi + edi]
mov byte [esi + eax], dl
inc eax
mov byte [esi + edi], cl
cmp eax, 0x100
jl 0x1000b7f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000badd
mov esp, ebp
pop ebp
ret

Function at 0x1000b840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor ecx, ecx
xor esi, esi
xor edi, edi
cmp dword [ebp + 0xc], ecx
jbe 0x1000b8ae
push ebx
inc ecx
and ecx, 0x800000ff
jns 0x1000b862
dec ecx
or ecx, 0xffffff00
inc ecx
mov dl, byte [ecx + eax]
movzx ebx, dl
add esi, ebx
and esi, 0x800000ff
jns 0x1000b87a
dec esi
or esi, 0xffffff00
inc esi
movzx ebx, byte [esi + eax]
mov byte [ecx + eax], bl
mov byte [esi + eax], dl
movzx ebx, byte [ecx + eax]
movzx edx, dl
add ebx, edx
and ebx, 0x800000ff
jns 0x1000b89d
dec ebx
or ebx, 0xffffff00
inc ebx
movzx ebx, byte [ebx + eax]
mov edx, dword [ebp + 8]
xor byte [edi + edx], bl
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x1000b851
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x1000badd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10029080]
jne 0x1000bae7
repz ret
jmp fcn.1000d963
Function at 0x1001668a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10029080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000fdf8
and dword [ebp - 0x14], 0
cmp dword [0x1002b634], 0
mov dword [ebp - 0x18], eax
jne 0x1001673d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100167e5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100167e5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1002b634], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1002b638], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1002b63c], eax
call edi
push eax
call esi
mov dword [0x1002b644], eax
test eax, eax
je 0x1001673d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1002b640], eax
mov eax, dword [0x1002b640]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10016796
cmp dword [0x1002b644], ecx
je 0x10016796
push eax
call esi
push dword [0x1002b644]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10016796
test ebx, ebx
je 0x10016796
call edi
test eax, eax
je 0x1001678d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1001678d
test byte [ebp - 8], 1
jne 0x10016796
or dword [ebp + 0x10], 0x200000
jmp 0x100167c9
mov eax, dword [0x1002b638]
cmp eax, dword [ebp - 0x18]
je 0x100167c9
push eax
call esi
test eax, eax
je 0x100167c9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100167c9
mov eax, dword [0x1002b63c]
cmp eax, dword [ebp - 0x18]
je 0x100167c9
push eax
call esi
test eax, eax
je 0x100167c9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1002b634]
call esi
test eax, eax
je 0x100167e5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100167e7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000badd
leave
ret
Function at 0x100291a5
Capabilities:
Encode data using xor

Disassembly:
call 0x1002911e
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1002914e
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1002916a
xor edx, 0
jmp 0x10029175
xor edx, edx
jmp 0x1002918c
jmp 0x10029198
xor eax, eax
push 0x8427d7c0
call 0x100291a5
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100291e1
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100291ba
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100291f8
add eax, 0
jno 0x100291fd
add esi, 0
ret 0x10

Function at 0x10029f66
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x10029f88
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1002a12a
cmp edi, dword [ebp + 0x10]
jb 0x1002a12a
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10029a52
inc edi
jmp 0x1002a011
jmp 0x1002a01e
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10029a52
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10029a52
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1002a072
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1002a056
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1002a0a0
add dword [eax], 0x39
jle 0x1002a07c
sub al, 0xf5
mov ch, al
call fcn.1002a0b5
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1002bd8d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1002bda3
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1002bdb4
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1002bdf5
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1002e161
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1002e0aa
add ebx, 0
push ecx
call 0x1002e0bf
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6bf2a391
sub ebx, dword [0x6bf49bd0]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6bf49bc0
call fcn.10029b89
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10029097
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1002e21d
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1002e21d
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1002e1d4
mov eax, 1
lock xchg dword [0x6bf49bcc], eax
push 0x3dd1fc71
call 0x1002e161
push esi
add esp, 8
cmp eax, 0
jne 0x1002e14a
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1002e170
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1002e185
cmp ecx, edx
cmp eax, 0
je 0x1002e1aa
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1002e194
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1002e1c3
dec eax
loope 0x1002e1c6
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6bf49bcc], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1002e1fa
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1002e20f
jmp 0x1002e21a
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1002e108
Function at 0x10035282
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10035558
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6bf36844
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6bf2d80a
push 0xffffffffffffffff
call fcn.1002c482
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100352ec
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10035304
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1003554c
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10035520
Function at 0x10044d52
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10044d74
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10044d74
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10044d74
ret
cmp word [ebx + 4], 0x14c
jne 0x10044d74
test word [ebx + 0x16], 2
je 0x10044d74
test word [ebx + 0x16], 0x100
je 0x10044d74
cmp word [ebx + 0x18], 0x10b
jne 0x10044d74
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10044d74
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10044e00
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10044d94
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1002bcdf
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10044d74
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10044e00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10044d74
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10044d74
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10044d74
ret
cmp word [ebx + 4], 0x14c
jne 0x10044d74
test word [ebx + 0x16], 2
je 0x10044d74
test word [ebx + 0x16], 0x100
je 0x10044d74
cmp word [ebx + 0x18], 0x10b
jne 0x10044d74
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10044d74
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10044e00
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10044d94
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1002bcdf
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10044d74
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10044eb7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10044f10
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10044eb7
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10044ec6
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1044ab69
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10044f17
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1002bd8d
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10044fb6
add edi, 4
add eax, 2
dec ecx
jne 0x10044efc
call 0x10044f63
loope 0x10044f59
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10044fb3
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10044fc4
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10044f77
cmp eax, ecx
ja 0x10044f77
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10045001
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10044ff7
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1002c26c
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10044ec6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10044f10
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10044eb7
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10044ec6
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1044ab69
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10044f17
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1002bd8d
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10044fb6
add edi, 4
add eax, 2
dec ecx
jne 0x10044efc
call 0x10044f63
loope 0x10044f59
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10044fb3
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10044fc4
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10044f77
cmp eax, ecx
ja 0x10044f77
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10045001
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10044ff7
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1002c26c
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1002bdf0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1006a81c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push dword [0x1006b57c]
push dword [0x1006c050]
push 0x1006c080
push str.C:_vm3dum_log_vm3dum_s__d__d.log
push 0x80
push 0x1006c0a0
call fcn.1002c200
push 0x20
push 0x1005a4d0
push 0x1006c0a0
call fcn.1003a09c
mov ebx, eax
add esp, 0x24
test ebx, ebx
je 0x1002bed5
push edi
lea eax, [ebp - 0x144]
push eax
push str.C:_vm3dum_log_vm3dum.log
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1002bec1
push esi
lea eax, [ebp - 0x144]
mov esi, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1002be9b
nop dword [eax]
inc esi
cmp esi, 0x200
ja 0x1002be9b
lea eax, [ebp - 0x144]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1002be80
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0x200
pop esi
ja 0x1002bec1
pop edi
mov dword [0x1006b578], ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10030fab
mov esp, ebp
pop ebp
ret
push ebx
call fcn.10039bed
push 0x1006c0a0
call fcn.1003a22d
add esp, 8
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10030fab
mov esp, ebp
pop ebp
ret