joyce8/EMBER2024-capa huggingface dataset:
Function at 0x571d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x571d76
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x571d76
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x571d57
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x572100
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x572138
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x572dc0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x572e09
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x573280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c62a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00572e30
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00572eb0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00572eb0
lea ecx, [esi + 0xc]
call fcn.005b21d1
lea ecx, [esi + 0x10]
call fcn.005b21d1
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00574440
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00574440
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00574440
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.005b2246
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005b2246
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x577830
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c6608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00577c30
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x6c3d0c
call fcn.00590bf8
mov ecx, dword [0x645210]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00574f30
mov esi, 0x645268
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x5778d7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5778ce
cmp al, 0xff
je 0x5778ce
dec al
mov byte [ecx], al
jmp 0x5778d7
push ecx
call fcn.005b1fb0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.005ad850
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x57791d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x577914
cmp al, 0xff
je 0x577914
dec al
mov byte [ecx], al
jmp 0x57791d
push ecx
call fcn.005b1fb0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00590c7f
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x57d2c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x57d415
cmp di, 0x801
ja 0x57d415
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x57d415
cmp bx, 0xc
ja 0x57d415
mov al, byte [esp + 0x30]
test al, al
je 0x57d314
push edi
call fcn.0057d850
add esp, 4
cmp ax, bx
je 0x57d314
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.0057d420
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.0057d240
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x57d415
test ebx, ebx
jne 0x57d3a9
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x57d40b
test al, al
je 0x57d39c
push 0xffffffffffffffe1
jmp 0x57d39e
push 0x1f
push ebp
push edi
push esi
call fcn.0057d1f0
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.0057d1f0
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.0057d420
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.0057d240
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x57d376
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x57eaa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c6998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x6c3d58
lea ecx, [esp + 4]
call fcn.005b22b4
push 0x672ef0
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.005b22b4
push 0x672eec
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.005b22b4
push 0x672ee8
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.005b22b4
push 0x672ee4
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.005b22b4
push 0x672ee0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.005b22b4
push 0x672edc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.005b22b4
push 0x672ed8
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.005b22b4
push 0x672ed4
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.005b22b4
push 0x672ed0
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.005b22b4
push 0x672ecc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.005b22b4
push 0x672ec8
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.005b22b4
push 0x672ec4
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.005b22b4
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x57ebd0
cmp eax, 0xc
jle 0x57ebd0
mov ecx, dword [esp + 0x48]
push 0x6c3d58
call fcn.005b23cf
jmp 0x57ebde
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.005b237f
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.005b2246
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.005b2246
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.005b2246
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.005b2246
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.005b2246
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.005b2246
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.005b2246
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.005b2246
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.005b2246
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.005b2246
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.005b2246
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.005b2246
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.005b2246
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x5a7e90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5c8280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0059ce70
mov eax, dword [0x64b198]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.0059cda2
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.005a8970
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x5a7f37
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5a7f2e
cmp al, 0xff
je 0x5a7f2e
dec al
mov byte [ecx], al
jmp 0x5a7f37
push ecx
call fcn.005b1fb0
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x5a7f68
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5a7f5f
cmp al, 0xff
je 0x5a7f5f
dec al
mov byte [ecx], al
jmp 0x5a7f68
push ecx
call fcn.005b1fb0
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x5b308c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.005bd644
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5b30bd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005b30d0
pop edi
pop esi
pop ebx
ret 8

Function at 0x5b46a4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5b46dc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005b26ed
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005b26c5
jmp 0x5b46e8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5b5f98
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5b5fda
call fcn.005bd644
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5b5fda
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5b5fd1
xor eax, eax
jmp 0x5b5fe2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005b5fe8
pop edi
pop esi
pop ebx
ret 4

Function at 0x5bdb74
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5bdba2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5bdbc0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005bdada
jmp 0x5bdbc0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5bdbc0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005bdada
test edi, edi
mov eax, edi
jne 0x5bdbaa
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100016f9
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x10001727
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x1000171e
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x10001716
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10001748
mov esp, ebp
pop ebp
ret

Function at 0x1000174c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x100017b8
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x100017e5
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x100017d4
xor ecx, eax
xor edx, ebx
dec edi
jne 0x100017c5
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x1000180b
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x100017ac
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10001837
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10025517
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
call 0x10025520
pop eax
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov ebx, dword [esi + 8]
cmp eax, ebx
jb 0x10025543
mov ecx, dword [esi + 0x10]
add ecx, ebx
cmp eax, ecx
ja 0x10025543
mov eax, ebx
jmp 0x10025558
mov esi, dword [esi]
mov ebx, dword [esi]
cmp ebx, dword [esp]
jne 0x1002552f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
pop esi
pop esi
leave
ret
Function at 0x1002a360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b70e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100ac444
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1002b520
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1002a3b4
jmp dword [ecx*4 + 0x1002a51c]
mov al, byte [esi]
test al, al
je 0x1002a3e2
cmp al, 0x20
je 0x1002a3ce
cmp al, 0xa1
jne 0x1002a3e2
cmp byte [esi + 1], al
jne 0x1002a3e2
test al, 0x80
je 0x1002a3da
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1002a3e2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1002a3c1
test ecx, ecx
je case.default.0x1002a3b4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1002a3b4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1002a428
cmp dl, 0xa1
jne 0x1002a41c
cmp byte [eax + 1], 0xa1
jne 0x1002a41c
test ecx, ecx
jne 0x1002a414
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1002a43c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1002a456
jmp 0x1002a43c
cmp dl, 0x20
jne 0x1002a43a
test ecx, ecx
jne 0x1002a433
mov edi, eax
mov ecx, 1
jmp 0x1002a43c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1002a3fc
cmp ecx, 1
jne case.default.0x1002a3b4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1002a3b4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1002a3b4
mov al, byte [esi]
test al, al
je 0x1002a4ae
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1002a494
mov cl, byte [esi + 1]
test cl, cl
je 0x1002a4ae
cmp al, 0xa1
jne 0x1002a484
cmp cl, al
je 0x1002a491
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1002b7b0
inc esi
jmp 0x1002a4a6
cmp al, 0x20
je 0x1002a4a6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1002b7f0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1002a46d
push 0
lea ecx, [esp + 0x14]
call fcn.1002b7f0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10037310
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1002a4e1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x100d7208
call fcn.1002b720
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100ac3d6
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10030900
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b76bb
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.100ac14b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10030982
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100a9e37
mov eax, dword [eax]
push 0x100efcd0
push eax
call fcn.1009c934
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100ac3d6
test bl, bl
je 0x10030982
push 0x100efcd0
lea ecx, [esp + 0xc]
call fcn.100ac766
push 0x100efcdc
lea ecx, [esp + 0xc]
call fcn.100ac766
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 0x100309be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100ac3d6
jmp 0x10030a89
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 0x10030a42
lea edx, [esp + 0x7c]
push 0x100efcd8
push edx
call fcn.1009c934
add esp, 8
test eax, eax
je 0x10030a42
lea eax, [esp + 0x7c]
push 0x100efcd4
push eax
call fcn.1009c934
add esp, 8
test eax, eax
je 0x10030a42
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 0x100309d2
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.100ac3d6
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 0x10031290
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 0x100312f2
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 0x10031300
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b773b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100ff418]
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 0x10031438
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10031366
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100ac3d6
xor eax, eax
jmp 0x100314af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100ac513
push esi
lea ecx, [esp + 0xc]
call fcn.100ac7a2
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 0x1003148d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.10031290
test eax, eax
jne 0x1003148d
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 accept
mov ecx, edi
call fcn.10031290
test eax, eax
jne 0x1003148d
lea eax, [esp + 0x14]
push 0x100efcec
push eax
call fcn.1009d9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003146c
lea ecx, [esp + 0x14]
push 0x100efce8
push ecx
call fcn.1009d930
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003146c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1003146f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100ac4c3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1003137e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100ac3d6
xor eax, eax
jmp 0x100314af
mov byte [esi], 0
push 0x100efce4
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.100ac3d6
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