joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100be230
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.100c4640
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x100be329
lea ecx, [esp + 0x10]
push ecx
push str..htm
push accept
mov ecx, esi
call fcn.1005e210
test eax, eax
jne 0x100be329
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push accept
mov ecx, esi
call fcn.1005e210
test eax, eax
jne 0x100be329
lea edx, [esp + 0x10]
push 0x10180828
push edx
call fcn.100e7160
mov esi, eax
add esp, 8
test esi, esi
jne 0x100be2fa
lea eax, [esp + 0x10]
push 0x10180824
push eax
call fcn.100e7160
mov esi, eax
add esp, 8
test esi, esi
jne 0x100be2fa
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x100be2fd
mov byte [esi], 0
push 0x1017ffec
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x100c4580
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10106b18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x100c4630
mov eax, dword [0x10188abc]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.100f7722
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.100f7771
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.100f76ce
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x100c4617
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x100c4617
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.100f733e
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x100c76e0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10106ec0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x100c7887
mov ecx, dword [0x10188abc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x100c77dc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.100c6400
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.100f742b
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.100f733e
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x1017ffec
call fcn.100f73ac
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.100c67c0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.100f742b
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.100f733e
lea ecx, [esp + 0xc]
call fcn.100f7806
mov ecx, dword [esp + 0xc]
push 0x10180a2c
push ecx
call fcn.100e5fd4
add esp, 8
test eax, eax
je 0x100c7804
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x100c773d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.100f733e
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.100f733e
jmp 0x100c788b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.100c7480
test eax, eax
push 0
je 0x100c786f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.100c5b20
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x100c7855
cmp eax, 0x64
jg 0x100c7843
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100c77e0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100c77e0
cmp eax, 0x64
jge 0x100c77dc
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x100c77e0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.100c5b20
mov esi, eax
jmp 0x100c77e0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x100c7895
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x100d07a0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x100d0843
test eax, eax
jbe 0x100d0843
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x100d0843
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x100d07ee
xor esi, esi
jmp 0x100d07f4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x100d081f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.100bc170
add esi, eax
push esi
mov ebx, esi
call fcn.100bc170
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x100d0800
pop ebp
test edi, edi
pop edi
jne 0x100d0843
test ebx, ebx
je 0x100d0843
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.100e6950
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x100d0960
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x100d0a7d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100d0a7d
mov eax, dword [esi + 0x3c]
push eax
call fcn.100f8da6
mov esi, eax
test esi, esi
je 0x100d0a7d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x100d0a7d
mov ecx, esi
call fcn.100d08f0
cmp edi, eax
jge 0x100d0a7d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x100d0a03
mov dword [esp + 0x34], 1
jmp 0x100d0a5e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x100d0a7d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.100cf1b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x100d2d30
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 0x100d2d96
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 0x100d2d96
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x100d2d77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x100d3120
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x100d3158
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 0x100d3d80
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 0x100d3dc9
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 0x100d4240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10107500
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.100d3df0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.100d3e70
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.100d3e70
lea ecx, [esi + 0xc]
call fcn.100f72c9
lea ecx, [esi + 0x10]
call fcn.100f72c9
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.100d5410
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.100d5410
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.100d5410
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.100f733e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.100f733e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100dc3d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x100dc41c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x100dc41c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x100dc406
push eax
call ebp
test ax, ax
jl 0x100dc414
inc esi
add edi, 4
cmp esi, 6
jb 0x100dc3f8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.100dc0d0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100dff30
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x100dff90
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x100dff90
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x100dff90
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x100dff90
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x100dffa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x100e0a50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x100e0a5c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x100e0aef
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x100e0ab9
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.100e0b00
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x100e0a8e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x100e0b20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x100e0c1d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x100e0b72
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x100e0b9e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.100e0b00
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x100e0bdf
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x100e0b61
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x100e25b0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x10186f14]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x100e25c3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x100e2604
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x10186fbc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x100e2636
mov bl, byte [esp + ecx + 0x4c]
jmp 0x100e263a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x100e262b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x100e2658
mov bl, byte [esp + ecx + 0x4c]
jmp 0x100e265c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x100e264d
xor ecx, ecx
mov eax, 0x10186f24
xor ebx, ebx
mov bl, byte [ecx + 0x10186fcc]
cmp byte [esp + ebx + 0x14], 0
je 0x100e2687
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x10186fe4]
cmp byte [esp + ebx + 0x14], 0
je 0x100e269e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x100e266e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x100e25f7
lea edx, [esp + 0x84]
push edx
call fcn.100e26e0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x100f9749
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100f9781
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.100f7799
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100f7771
jmp 0x100f978d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100fae43
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 0x100fae85
call fcn.10100f69
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100fae85
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100fae7c
xor eax, eax
jmp 0x100fae8d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100fae93
pop edi
pop esi
pop ebx
ret 4
Function at 0x10011d5
Capabilities:
Resolve dns
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10030b8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.WS2_32.dll_getnameinfo]
push edi
mov byte [ebp - 0x409], 0
mov edi, 0x401
je 0x100123d
push 4
push 0
push 0
push edi
lea eax, [ebp - 0x408]
push eax
push dword [ebp + 0xc]
push ebx
call esi
test eax, eax
jne 0x100123d
lea eax, [ebp - 0x408]
push eax
push 0x273a
push 1
mov byte [ebp - 0x409], 1
call fcn.01002979
add esp, 0xc
push 2
push 0
push 0
push edi
lea eax, [ebp - 0x408]
push eax
push dword [ebp + 0xc]
push ebx
call esi
pop edi
pop esi
pop ebx
test eax, eax
je 0x100126e
push 0x2724
push 1
call fcn.01002979
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
cmp byte [ebp - 0x409], 0
lea eax, [ebp - 0x408]
push eax
je 0x1001285
push 0x2710
jmp 0x100128a
push 0x273d
push 1
call fcn.01002979
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0xc
call fcn.010024f7
leave
ret 0xc
Function at 0x100149d
Capabilities:
Send icmp echo request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
and dword [ebp - 8], 0
push ebx
push esi
movzx esi, byte [eax]
push edi
xor edi, edi
inc edi
mov dword [ebp - 0x10], esi
cmp esi, edi
jb 0x10014e0
mov ebx, 0x1003738
push dword [0x100300c]
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebx], eax
test eax, eax
je 0x1001543
inc edi
add ebx, 0x98
cmp edi, esi
jbe 0x10014c1
and dword [ebp - 4], 0
cmp dword [0x1003008], 0
jbe 0x10015f4
mov ebx, 0x10034c0
mov edi, 0x10013ed
cmp esi, 1
jb 0x10015cb
mov eax, dword [ebp - 0x10]
mov esi, 0x1003738
mov dword [ebp - 0xc], eax
lea eax, [esi + 8]
movzx ecx, word [eax]
cmp cx, 2
jne 0x100156b
push dword [section..data]
push dword [0x100300c]
push dword [esi]
push dword [ebp + 8]
push 0x40
push ebx
push dword [eax + 4]
push esi
push edi
push 0
push dword [0x10030e0]
call sub.IPHLPAPI.DLL_IcmpSendEcho2
jmp 0x100159a
cmp edi, 1
jbe 0x1001644
mov eax, edi
imul eax, eax, 0x98
lea esi, [eax + 0x10036a0]
dec edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalFree]
dec edi
jne 0x100155b
jmp 0x1001644
cmp cx, 0x17
jne 0x10015b9
push dword [section..data]
push dword [0x100300c]
push dword [esi]
push dword [ebp + 8]
push 0x40
push ebx
push eax
push 0x10030e8
push esi
push edi
push 0
push dword [0x10030e0]
call sub.IPHLPAPI.DLL_Icmp6SendEcho2
test eax, eax
jne 0x10015ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x10015ae
inc dword [ebp - 8]
push dword [0x1003004]
call fcn.010013b5
add esi, 0x98
dec dword [ebp - 0xc]
jne 0x100150f
mov esi, dword [ebp - 0x10]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [0x1003008]
jb 0x10014fb
mov edi, dword [ebp - 8]
jmp 0x10015ec
push 1
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_SleepEx]
cmp dword [0x100316c], edi
jb 0x10015e2
mov eax, esi
imul eax, eax, 0x98
mov ecx, dword [eax + 0x1003728]
mov dword [eax + 0x100372c], ecx
test esi, esi
jbe 0x100163a
dec esi
je 0x100163a
mov eax, esi
imul eax, eax, 0x98
add eax, 0x10037c4
mov ecx, dword [eax - 0x9c]
mov edx, dword [eax]
cmp ecx, edx
ja 0x100162a
mov ecx, edx
mov dword [eax - 0x98], ecx
dec esi
sub eax, 0x98
test esi, esi
ja 0x100161c
mov eax, dword [0x1003008]
mov dword [0x100372c], eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1001851
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_getaddrinfo]
push edi
push 8
pop ecx
xor ebx, ebx
mov byte [eax], bl
xor eax, eax
push 4
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
pop edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
call esi
test eax, eax
jne 0x10018d7
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
push dword [esi + 0x10]
push dword [esi + 0x18]
push dword [ebp + 0x10]
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [ebp + 0x20], bl
je 0x10018ca
push edi
push ebx
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [esi + 0x10]
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov esi, dword [ebp + 8]
mov bl, 1
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov al, bl
jmp 0x1001931
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x20], 2
call esi
test eax, eax
jne 0x100192f
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
push dword [esi + 0x10]
push dword [esi + 0x18]
push dword [ebp + 0x10]
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x14], ebx
je 0x1001916
mov esi, dword [esi + 0x14]
jmp 0x1001919
mov esi, dword [ebp + 0xc]
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.010017e9
mov esi, dword [ebp + 8]
test eax, eax
setge bl
jmp 0x10018cc
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x10024e8
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1002a70
call fcn.010026a4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100ce9c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x10022fd
cmp eax, esi
jne 0x10022f0
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1002300
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10022d7
xor esi, esi
inc esi
mov eax, dword [0x100ce98]
cmp eax, esi
jne 0x1002313
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100234e
mov eax, dword [0x100ce98]
test eax, eax
jne 0x1002348
mov dword [0x100ce98], esi
push 0x100110c
push 0x1001100
call fcn.01002254
pop ecx
pop ecx
test eax, eax
je 0x100234e
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1002418
mov dword [0x100318c], esi
mov eax, dword [0x100ce98]
cmp eax, esi
jne 0x1002372
push 0x10010fc
push 0x10010f4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100ce98], 2
cmp dword [ebp - 0x1c], ebx
jne 0x100237f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100cea0], ebx
je 0x10023a0
push 0x100cea0
call fcn.01002619
pop ecx
test eax, eax
je 0x10023a0
push ebx
push 2
push ebx
call dword [0x100cea0]
push dword [0x1003174]
push dword [0x1003178]
push dword [0x1003170]
call fcn.0100193d
add esp, 0xc
mov dword [0x1003188], eax
cmp dword [0x100317c], ebx
jne 0x10023fe
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100318c], ebx
jne 0x100240c
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1003188]
call fcn.010026e9
ret
call fcn.010027f1
jmp 0x10022b5