joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451e50
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x47a008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x47cf1c], 0
jne 0x45204c
push ebx
xor ebx, ebx
mov dword [0x47cf1c], 1
mov dword [0x47cf18], ebx
cmp dword [0x47c618], ebx
je 0x451ea9
mov dword [0x47c618], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
sbb eax, eax
neg eax
mov dword [0x47cf00], eax
jmp 0x451eae
mov eax, dword [0x47cf00]
mov dword [0x47cef8], 0x451790
test eax, eax
je 0x451f32
push 0x414244
mov dword [0x47cef4], 0x451c50
mov dword [0x47cf20], 0x451cc0
mov dword [0x47cf14], 0x451d40
mov dword [0x47cefc], 0x451a10
mov dword [0x47cef0], 0x451db0
mov dword [0x47cee0], 0x451dd0
mov dword [0x47cf04], 0x451df0
mov dword [0x47ceec], 0x451e10
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x451f82
push 0x414258
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x451f82
mov dword [0x47cef8], eax
jmp 0x451f82
mov dword [0x47cef4], 0x4517a0
mov dword [0x47cf20], 0x451860
mov dword [0x47cf14], 0x451940
mov dword [0x47cefc], 0x451a10
mov dword [0x47cef0], 0x451a30
mov dword [0x47cee0], 0x451ab0
mov dword [0x47cf04], 0x451b40
mov dword [0x47ceec], 0x451bd0
push 0x103
lea eax, [ebp - 0x107]
mov dword [0x47cedc], 0x451630
push ebx
push eax
mov dword [0x47cf10], 0x451660
mov dword [0x47cee4], 0x451680
mov dword [0x47cf24], 0x4516b0
mov dword [0x47cf28], 0x4516e0
mov dword [0x47cf2c], 0x451700
mov dword [0x47cf08], 0x451750
mov dword [0x47cf0c], 0x451e30
mov byte [ebp - 0x108], bl
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0x414274
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x452041
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
jne 0x45202e
push ebx
mov dword [0x47cee8], 0x451780
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x45204b
push 0x414294
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x47cee8], eax
jmp 0x45204b
mov dword [0x47cee8], 0x451780
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.00459020
mov esp, ebp
pop ebp
ret
Function at 0x459010
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x478f48
call fcn.00459844
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov edi, dword [eax + 4]
xor esi, esi
mov edx, 0x47cf64
mov ecx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x458e15
cmp eax, edi
jne 0x458e27
mov esi, ebx
cmp dword [0x47cf68], ebx
jne 0x458e34
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x458e63
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x458dfe
cmp dword [0x47cf68], 0
jne 0x458e5d
mov dword [0x47cf68], ebx
push 0x401058
push 0x40104c
call fcn.00458fb4
pop ecx
pop ecx
test eax, eax
je 0x458e63
jmp 0x458f9d
mov dword [0x47c9c4], ebx
cmp dword [0x47cf68], ebx
jne 0x458e86
push 0x401048
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x47cf68], 2
test esi, esi
jne 0x458e93
xor eax, eax
mov ecx, 0x47cf64
xchg dword [ecx], eax
cmp dword [0x47cf74], 0
je 0x458ec1
push 0x47cf74
call fcn.00459670
pop ecx
test eax, eax
je 0x458ec1
push 0
push 2
push 0
mov esi, dword [0x47cf74]
mov ecx, esi
call dword [0x47d4cc]
call esi
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov ecx, dword [eax]
test ecx, ecx
je 0x458f9d
mov dword [ebp - 0x20], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x24]
movzx eax, word [ecx]
cmp ax, si
ja 0x458f31
test ax, ax
je 0x458eea
test edx, edx
jne 0x458f31
movzx eax, word [ecx]
test ax, ax
je 0x458eff
cmp ax, si
ja 0x458eff
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x458eea
test byte [ebp - 0x40], 1
je 0x458f0b
movzx eax, word [ebp - 0x3c]
jmp 0x458f0e
push 0xa
pop eax
push eax
push ecx
push 0
push 0x400000
call main
mov dword [0x47c9c0], eax
cmp dword [0x47c9d8], 0
jne 0x458f79
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp eax, 0x22
jne 0x458f42
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x24], edx
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x458ed9
cmp dword [0x47c9c4], 0
jne 0x458f8d
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x47c9c0]
mov dword [ebp - 4], 0xfffffffe
jmp 0x458fa9
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0045988c
ret
call fcn.00459778
jmp 0x458dc8

Function at 0x45955f
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x478ff0
call fcn.004599bc
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4595bf
cmp eax, 0xffffffff
je 0x4595bf
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4595b8
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4595b8
cmp edx, 0x10000000
jae 0x4595b8
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4595b5
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00459a01
ret 4
Function at 0x459620
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x45965e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x459656
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x459660
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x459646
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x459740
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x459756
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x459771
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x46ee12
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x47a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], eax
jb 0x46ee65
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi], 3
jmp 0x46ef30
push esi
mov esi, dword [ebx + 0x18]
mov ecx, esi
call dword [0x47d4cc]
mov ecx, dword [ebp - 0xc]
jmp 0x46ef1a
cmp ecx, 0x61
jb 0x46ee83
cmp ecx, 0x7a
jbe 0x46ef00
lea eax, [ecx - 0x41]
cmp eax, 0x19
jbe 0x46ef00
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x46ef00
cmp ecx, 0x2f
ja 0x46eec9
cmp ecx, 0x28
jae 0x46ef06
cmp ecx, 0xa
je 0x46ef06
cmp ecx, 0xd
je 0x46ef06
cmp ecx, 0x1f
jbe 0x46eee7
cmp ecx, 0x21
jbe 0x46ef06
cmp ecx, 0x22
jbe 0x46eee7
cmp ecx, 0x25
jbe 0x46ef06
cmp ecx, 0x27
jne 0x46eee7
cmp dword [ebx + 0x24], 0xa
sete al
jmp 0x46ef02
cmp ecx, 0x3a
jb 0x46eee7
cmp ecx, 0x3b
jbe 0x46ef06
cmp ecx, 0x3d
je 0x46ef06
cmp ecx, 0x3e
jbe 0x46eee7
cmp ecx, 0x40
jbe 0x46ef06
cmp ecx, 0x5f
je 0x46ef06
mov eax, dword [ebp - 0xc]
mov dword [edi], 0xc
sub eax, dword [ebx + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x10], eax
xor eax, eax
jmp 0x46ef2f
mov al, 1
test al, al
je 0x46eee7
mov esi, dword [ebx + 0x18]
mov ecx, esi
inc dword [ebp - 8]
mov dword [ebp - 0xc], edx
call dword [0x47d4cc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call esi
mov ecx, eax
mov dword [ebp - 0x14], edx
cmp ecx, 0xffffffff
jne 0x46ee79
mov eax, edx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00459020
mov esp, ebp
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1009a06
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1010060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x428], edi
cmp eax, dword [ebp + 0xc]
jb 0x1009a37
mov eax, 0x80070057
jmp 0x1009b7c
push ebx
push esi
lea esi, [edi + eax*4]
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax + 0x34], ebx
je 0x1009b78
cmp dword [eax + 0x38], 1
jbe 0x1009b78
cmp dword [eax + 0x44], ebx
jne 0x1009b78
cmp dword [eax + 0x40], ebx
jne 0x1009b78
mov dword [ebp - 0x41c], ebx
cmp dword [ebp + 0xc], ebx
jbe 0x1009adc
mov eax, dword [edi]
mov dword [ebp - 0x420], ebx
cmp dword [eax + 0x14], ebx
jbe 0x1009ac8
mov dword [ebp - 0x424], ebx
mov ecx, dword [esi]
mov eax, dword [edi]
mov edx, dword [ebp - 0x420]
add ecx, 0x34
push ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
push dword [ecx + edx*4]
add eax, dword [ebp - 0x424]
push eax
call fcn.01009450
test al, al
jne 0x1009b64
inc dword [ebp - 0x420]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x420]
sub dword [ebp - 0x424], 0xffffff80
cmp ecx, dword [eax + 0x14]
jb 0x1009a83
inc dword [ebp - 0x41c]
mov eax, dword [ebp - 0x41c]
add edi, 4
cmp eax, dword [ebp + 0xc]
jb 0x1009a70
mov eax, dword [esi]
cmp dword [eax + 0x40], ebx
jne 0x1009b78
push 2
pop ecx
push 0x7b
mov word [ebp - 0x418], cx
pop ecx
push 4
push ebx
push ebx
mov word [ebp - 0x416], cx
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x414], eax
push 0x401
lea eax, [ebp - 0x408]
push eax
push 0x10
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x1009b78
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x408]
push eax
push ebx
push ebx
call edi
mov dword [ebp - 0x428], eax
cmp eax, ebx
je 0x1009ba5
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [esi]
mov dword [ecx + 0x44], eax
mov eax, dword [esi]
cmp dword [eax + 0x44], ebx
jne 0x1009b8b
mov eax, 0x8007000e
jmp 0x1009b7a
mov ecx, dword [ebp - 0x428]
mov edx, dword [ebp - 0x41c]
mov eax, dword [esi]
mov ecx, dword [ecx + edx*4]
mov dword [eax + 0x40], ecx
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0100bee5
leave
ret 0xc
push dword [ebp - 0x428]
push dword [eax + 0x44]
lea eax, [ebp - 0x408]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call edi
test eax, eax
jne 0x1009b78
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1009b7a
and eax, 0xffff
or eax, 0x80070000
jmp 0x1009b7a
Function at 0x100aafc
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push edi
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor edi, edi
push edi
push 0x1001538
push 0x80000002
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x100ab41
jg 0x100ab35
mov dword [ebp - 4], eax
jmp 0x100ac63
and eax, 0xffff
or eax, 0x80070000
jmp 0x100ab2d
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push edi
mov ebx, 0x10028a0
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 8], edi
call esi
cmp eax, edi
je 0x100ab79
jle 0x100ab71
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
jmp 0x100ac61
cmp dword [ebp - 0x14], 2
je 0x100ab8b
mov dword [ebp - 4], 0x8000ffff
jmp 0x100ac61
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x40
call edi
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x100abab
mov dword [ebp - 4], 0x8007000e
jmp 0x100ac50
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x100abd6
jg 0x100abca
mov dword [ebp - 4], eax
jmp 0x100ac50
and eax, 0xffff
or eax, 0x80070000
jmp 0x100abc2
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
push ecx
push ecx
shr eax, 1
push ebx
mov word [ebx + eax*2 - 2], cx
call esi
mov dword [ebp - 8], eax
test eax, eax
jne 0x100ac01
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jmp 0x100abc0
add eax, eax
push eax
push 0x40
call edi
mov edi, eax
test edi, edi
jne 0x100ac17
mov dword [ebp - 4], 0x8007000e
jmp 0x100ac45
push dword [ebp - 8]
push edi
push ebx
call esi
mov dword [ebp - 8], eax
test eax, eax
jne 0x100ac3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100ac39
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
jmp 0x100ac45
mov eax, dword [ebp + 8]
mov dword [eax], edi
xor edi, edi
test edi, edi
je 0x100ac50
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x10], 0
je 0x100ac5f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
pop esi
pop ebx
cmp dword [ebp - 0xc], edi
pop edi
je 0x100ac72
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x100b3fd
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x10105b8], eax
cmp eax, edi
jne 0x100b434
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x100b430
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x100b4a2
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
push 0x100a983
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10105b4], eax
cmp eax, edi
je 0x100b41c
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [0x10105b8]
call esi
cmp eax, 0xffffffff
je 0x100b499
push edi
push 0x100b2e6
push edi
push 0x65
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 0xffffffff
je 0x100b41c
cmp eax, edi
mov ebx, eax
jl 0x100b4a2
push edi
push dword [0x10105b4]
call esi
cmp eax, 0x102
jne 0x100b4a0
mov ebx, 0x8000ffff
jmp 0x100b4a2
xor ebx, ebx
mov eax, dword [0x10105b4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x100b4ba
push eax
call esi
mov dword [0x10105b4], edi
mov eax, dword [0x10105b8]
cmp eax, edi
je 0x100b4cc
push eax
call esi
mov dword [0x10105b8], edi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x100b627
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x100b651
mov edi, 0x80004005
jmp 0x100b6be
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
add eax, eax
push eax
push 0x40
call edi
mov dword [ebp - 4], eax
test eax, eax
je 0x100b64a
push dword [ebp - 8]
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x100b64a
mov esi, dword [ebp + 8]
shl esi, 2
lea eax, [esi + 4]
push eax
push 0x40
call edi
mov ebx, eax
test ebx, ebx
je 0x100b64a
mov edx, dword [ebp + 8]
test edx, edx
jle 0x100b69f
mov eax, dword [ebp + 0x10]
mov ecx, ebx
sub eax, ebx
mov edi, dword [eax + ecx]
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x100b694
and dword [esi + ebx], 0
push ebx
push dword [ebp - 4]
push 0
call dword [sym.imp.msvcrt.dll__wspawnv]
add esp, 0xc
mov edi, 0x80004005
cmp eax, 0xffffffff
je 0x100b6be
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call esi
push dword [ebp - 4]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100bdf1
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x100e4c0
call fcn.0100c464
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x101092c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x100bba8
cmp eax, esi
jne 0x100bb9b
xor esi, esi
inc esi
mov ebx, esi
jmp 0x100bbab
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100bb82
xor esi, esi
inc esi
mov eax, dword [0x1010928]
cmp eax, esi
jne 0x100bbbe
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100bbed
mov eax, dword [0x1010928]
test eax, eax
jne 0x100bbe7
mov dword [0x1010928], esi
push 0x1001278
push 0x100126c
call fcn.0100bae7
pop ecx
pop ecx
test eax, eax
je 0x100bbed
jmp 0x100bd15
mov dword [0x10105e8], esi
mov eax, dword [0x1010928]
cmp eax, esi
jne 0x100bc11
push 0x1001268
push 0x1001260
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1010928], 2
test ebx, ebx
jne 0x100bc1d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1010938], 0
je 0x100bc41
push 0x1010938
call fcn.0100c3d9
pop ecx
test eax, eax
je 0x100bc41
push 0
push 2
push 0
call dword [0x1010938]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x100bc9d
test al, al
je 0x100bc5b
cmp dword [ebp - 0x1c], 0
jne 0x100bc9d
mov al, byte [esi]
test al, al
je 0x100bc6b
cmp al, 0x20
ja 0x100bc6b
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100bc5b
test byte [ebp - 0x3c], 1
je 0x100bc77
movzx eax, word [ebp - 0x38]
jmp 0x100bc7a
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x10105e4], eax
cmp dword [0x10105d8], 0
jne 0x100bcf1
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x100bcac
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x100bcbf
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x100bc48
cmp dword [0x10105e8], 0
jne 0x100bd00
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10105e4]
jmp 0x100bd21
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0100c4a9
ret
call fcn.0100c5b1
jmp 0x100bb48
Function at 0x100c817
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
xor ebx, ebx
call fcn.0100c7d7
test eax, eax
je 0x100c871
push esi
call fcn.0100c739
mov edi, eax
cmp edi, esi
jl 0x100c8d5
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x100c8be
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jg 0x100c865
mov edi, eax
jmp 0x100c8d5
and eax, 0xffff
or eax, 0x80070000
jmp 0x100c861
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
cmp ebx, esi
jne 0x100c88c
mov edi, 0x8007000e
jmp 0x100c8ca
mov eax, dword [ebp + 0x10]
push esi
push esi
lea ecx, [eax + eax]
push ecx
push ebx
push eax
push dword [ebp + 0xc]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp + 0x10], eax
cmp eax, esi
je 0x100c8c2
push esi
lea ecx, [ebp + 0x10]
push ecx
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100c8c2
xor edi, edi
jmp 0x100c8ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp ebx, esi
je 0x100c8d5
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x100cc1e
Capabilities:
Create raw socket
Send icmp echo request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4a4
mov eax, dword [0x1010060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x400
push esi
mov dword [ebp - 0x49c], eax
xor ebx, ebx
lea eax, [ebp - 0x40c]
push ebx
push eax
mov byte [ebp - 0xc], 0x61
mov byte [ebp - 0xb], 0x62
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x66
mov byte [ebp - 6], 0x67
mov byte [ebp - 5], 0x68
call sub.msvcrt.dll_memset
movzx eax, word [edi]
add esp, 0xc
dec eax
dec eax
je 0x100cda7
sub eax, 0x15
je 0x100cc94
mov esi, 0x80070057
jmp 0x100ce11
call sub.IPHLPAPI.DLL_Icmp6CreateFile
mov dword [ebp - 0x490], eax
cmp eax, 0xffffffff
jne 0x100ccc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jg 0x100ccb5
mov esi, eax
jmp 0x100ce11
and eax, 0xffff
or eax, 0x80070000
jmp 0x100ccae
push ebx
push 3
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x4a0], eax
cmp eax, 0xffffffff
jne 0x100ccf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x100cceb
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x100ce06
push ebx
push ebx
lea ecx, [ebp - 0x4a4]
push ecx
push 0x80
lea ecx, [ebp - 0x48c]
push ecx
push dword [ebp + 0xc]
push edi
push 0xc8000014
push eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push dword [ebp - 0x4a0]
cmp eax, 0xffffffff
jne 0x100cd2a
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x100ccd7
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebp + 0x10]
lea eax, [ebp - 0x40c]
push esi
push eax
lea eax, [ebp - 0x498]
push eax
push 8
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x48c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x490]
mov byte [ebp - 0x498], 0xff
mov byte [ebp - 0x497], bl
mov byte [ebp - 0x496], bl
mov byte [ebp - 0x495], bl
mov dword [ebp - 0x494], ebx
call sub.IPHLPAPI.DLL_Icmp6SendEcho2
test eax, eax
je 0x100ccd7
mov esi, dword [ebp - 0x3f0]
cmp esi, ebx
jle 0x100cd9d
and esi, 0xffff
or esi, 0x80070000
cmp esi, ebx
jne 0x100ce06
mov eax, dword [ebp - 0x3ec]
jmp 0x100cdfe
call sub.IPHLPAPI.DLL_IcmpCreateFile
mov dword [ebp - 0x490], eax
cmp eax, 0xffffffff
je 0x100cca4
push dword [ebp + 0x10]
lea ecx, [ebp - 0x40c]
push esi
push ecx
push ebx
push 8
lea ecx, [ebp - 0xc]
push ecx
push dword [edi + 4]
push eax
call sub.IPHLPAPI.DLL_IcmpSendEcho
test eax, eax
je 0x100ccd7
mov esi, dword [ebp - 0x408]
cmp esi, ebx
jle 0x100cdf6
and esi, 0xffff
or esi, 0x80070000
cmp esi, ebx
jne 0x100ce06
mov eax, dword [ebp - 0x404]
mov ecx, dword [ebp - 0x49c]
mov dword [ecx], eax
push dword [ebp - 0x490]
call sub.IPHLPAPI.DLL_IcmpCloseHandle
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100bee5
leave
ret 0x10