joyce8/EMBER2024-capa huggingface dataset:
Function at 0x569ecd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x5d374b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005d2eda

Function at 0x5d3756
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005d3119

Function at 0x5d42b6
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005d4183

Function at 0x5d891a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005d851a

Function at 0x5d8925
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005d869d

Function at 0x5d9417
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
mov edx, dword [ebp + 0xc]
push ebx
sar ecx, 6
push esi
push edi
imul edi, eax, 0x30
mov eax, dword [ecx*4 + 0x688cd8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5d9458
cmp byte [edx], 0xa
jne 0x5d9458
or byte [eax + edi + 0x28], 4
jmp 0x5d945d
and byte [eax + edi + 0x28], 0xfb
lea eax, [edx + ecx]
mov ebx, edx
mov dword [ebp - 8], eax
mov esi, edx
cmp edx, eax
jae 0x5d954e
mov al, byte [ebx]
cmp al, 0x1a
je 0x5d952f
cmp al, 0xd
je 0x5d9486
mov byte [esi], al
inc esi
inc ebx
jmp 0x5d9524
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x5d94a6
cmp byte [eax], 0xa
jne 0x5d949b
push 2
mov byte [esi], 0xa
pop eax
jmp 0x5d94a1
xor eax, eax
mov byte [esi], 0xd
inc eax
add ebx, eax
inc esi
jmp 0x5d9524
push 0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5d951d
cmp dword [ebp - 0x14], 0
je 0x5d951d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x688cd8]
test byte [eax + edi + 0x28], 0x48
je 0x5d94f4
mov dl, byte [ebp - 1]
cmp dl, 0xa
jne 0x5d94e4
mov byte [esi], dl
jmp 0x5d9520
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x688cd8]
mov byte [eax + edi + 0x2a], dl
jmp 0x5d9520
cmp byte [ebp - 1], 0xa
jne 0x5d9506
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x5d9506
mov byte [esi], 0xa
jmp 0x5d94a3
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.005da192
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x5d9521
mov byte [esi], 0xd
inc esi
mov edx, dword [ebp + 0xc]
cmp ebx, dword [ebp - 8]
jb 0x5d946f
jmp 0x5d954e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x688cd8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x5d9549
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x5d954e
mov cl, byte [ebx]
mov byte [esi], cl
inc esi
sub esi, edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5d9559
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sar ecx, 6
imul edi, eax, 0x30
mov dword [ebp - 8], ecx
push 0xa
mov eax, dword [ecx*4 + 0x688cd8]
pop ebx
mov edx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x5d959d
cmp word [edx], bx
jne 0x5d959d
or byte [edi + eax + 0x28], 4
jmp 0x5d95a2
and byte [edi + eax + 0x28], 0xfb
lea eax, [edx + esi*2]
mov ebx, edx
mov dword [ebp - 0xc], eax
mov esi, edx
cmp edx, eax
jae 0x5d96f6
mov dword [ebp - 0x10], 0xd
movzx eax, word [ebx]
cmp eax, 0x1a
je 0x5d96d6
cmp ax, word [ebp - 0x10]
je 0x5d95db
mov word [esi], ax
add esi, 2
add ebx, 2
jmp 0x5d96cb
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0xc]
jae 0x5d9601
push 0xa
pop ecx
cmp word [eax], cx
jne 0x5d95f1
push ecx
pop eax
push 4
jmp 0x5d95f6
push 0xd
pop eax
push 2
mov word [esi], ax
pop eax
add ebx, eax
jmp 0x5d96c5
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5d96bc
cmp dword [ebp - 0x18], 0
je 0x5d96bc
mov ecx, dword [ebp - 8]
push 0xa
mov eax, dword [ecx*4 + 0x688cd8]
test byte [edi + eax + 0x28], 0x48
pop eax
je 0x5d9688
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x5d964c
mov word [esi], ax
jmp 0x5d9680
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ecx*4 + 0x688cd8]
mov word [ebp - 0x20], dx
push 0xa
mov byte [edi + eax + 0x2a], dl
mov ecx, dword [ecx*4 + 0x688cd8]
mov al, byte [ebp - 0x1f]
pop edx
mov byte [edi + ecx + 0x2b], al
mov ecx, dword [ebp - 8]
mov eax, dword [ecx*4 + 0x688cd8]
mov byte [edi + eax + 0x2c], dl
mov edx, dword [ebp + 0xc]
add esi, 2
jmp 0x5d96cb
cmp word [ebp - 4], ax
jne 0x5d969d
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x5d969d
mov word [esi], ax
add esi, 2
jmp 0x5d96cb
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.005da192
mov edx, dword [ebp + 0xc]
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x5d96c8
jmp 0x5d96bf
mov edx, dword [ebp + 0xc]
push 0xd
pop eax
mov word [esi], ax
add esi, 2
mov ecx, dword [ebp - 8]
cmp ebx, dword [ebp - 0xc]
jb 0x5d95bb
jmp 0x5d96f6
mov ecx, dword [ecx*4 + 0x688cd8]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x5d96ed
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x5d96f6
mov cx, word [ebx]
mov word [esi], cx
add esi, 2
sub esi, edx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e0e60
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.005373d0
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2d10], eax
test eax, eax
je 0x5e0fc2
cmp dword [ebp + 0xc], 0
je 0x5e0fc2
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop dword [eax]
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.004080e0
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x5e0fa5
push 0x2710
lea eax, [ebp - 0x2cfc]
mov dword [ebp - 0x2d0c], 0
push 0
push eax
mov dword [ebp - 0x2d00], 0
mov dword [ebp - 0x2d08], 0
mov dword [ebp - 0x2d04], 0
call fcn.0058a9f0
add esp, 0xc
lea eax, [ebp - 0x2d0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x5e0f9a
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.0058a9f0
lea eax, [ebp - 0x5ec]
push eax
push 1
push dword [ebp - 0x2ce4]
lea eax, [ebp - 0x2cfc]
push eax
call fcn.005e11b0
add esp, 0x1c
lea eax, [ebp - 0x5ec]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x2d10]
call fcn.005e0fe0
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x5e0faf
inc esi
cmp esi, 0x10
jl 0x5e0ea0
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0xd570a16
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x71177885
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401a14
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4320d0]
jne 0x401a1e
repz ret
jmp fcn.00402776

Function at 0x40db8d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404a91
and dword [ebp - 4], 0
cmp dword [0x43b0bc], 0
mov ebx, eax
jne 0x40dc3e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40dcef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40dcef
push eax
call fcn.00404a1f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43b0bc], eax
call esi
push eax
call fcn.00404a1f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43b0c0], eax
call esi
push eax
call fcn.00404a1f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43b0c4], eax
call esi
push eax
call fcn.00404a1f
pop ecx
mov dword [0x43b0cc], eax
test eax, eax
je 0x40dc3e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404a1f
pop ecx
mov dword [0x43b0c8], eax
mov eax, dword [0x43b0c8]
cmp eax, ebx
je 0x40dc96
cmp dword [0x43b0cc], ebx
je 0x40dc96
push eax
call fcn.00404a9a
push dword [0x43b0cc]
mov esi, eax
call fcn.00404a9a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40dc96
test edi, edi
je 0x40dc96
call esi
test eax, eax
je 0x40dc8d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40dc8d
test byte [ebp - 0xc], 1
jne 0x40dc96
or dword [ebp + 0x10], 0x200000
jmp 0x40dccf
mov eax, dword [0x43b0c0]
cmp eax, ebx
je 0x40dccf
push eax
call fcn.00404a9a
pop ecx
test eax, eax
je 0x40dccf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40dccf
mov eax, dword [0x43b0c4]
cmp eax, ebx
je 0x40dccf
push eax
call fcn.00404a9a
pop ecx
test eax, eax
je 0x40dccf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43b0bc]
call fcn.00404a9a
pop ecx
test eax, eax
je 0x40dcef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40dcf1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42c7e0
Capabilities:
Create pipe
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [0x43b5a4]
push edi
push dword [eax]
mov edi, dword [0x43b4ec]
call fcn.0042c715
cmp dword [0x43b5a4], 0x2f
pop ecx
jne 0x42c862
push esi
push 0x42f834
push str.yeceduk
push str.Fug_raritobeb_vibejetiwobomekuwozuj_sugijuhefoni_gafelukuhefikovekebitehekogabiya
lea eax, [ebp - 4]
push eax
push str.tusutuya_nozovamehepozajowohokihaf
push str.mepikaseviforijekaxabujowoko_hecowotujepihocimoyufaxokepehidi_codocutejabevesuvizati_sunisosehokiteyuwatuhip
xor esi, esi
push esi
push esi
push esi
push esi
push str.wuwiwujupobecogivux_jawitunuhenucumip_wodoverefisumet_gilugetehoxaladayobalehomeg_miwejupunotewepaw
push str.yejemadijukediwimuzobifojo_viduyorusirizahipalewinawikakeza_duvudowutuwibolonifuyilirawoji_lehosera
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
pop esi
push edi
call fcn.0042c757
pop ecx
pop edi
pop ebx
leave
ret
Function at 0x42cba0
Capabilities:
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, 0x13ba1f
cmp dword [0x43b5a4], 0xbf9
jne 0x42cbbf
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
cmp dword [0x43b5a4], 0x3dc
mov dword [0x43b598], 0x8e55ceaa
jne 0x42cbf1
push 0
push str.dewobihirutakaxevifajo
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.cowilijacuporehomedud_vil_bodagicurutujepeyanowamedebov
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
dec edi
jne 0x42cbad
xor ebx, ebx
cmp ebx, 0x8465cd
jne 0x42cc0d
mov eax, dword [0x43a564]
add eax, 0xa231
mov dword [0x43b5a4], eax
cmp dword [0x43b5a4], 0x141
jne 0x42cc54
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push dword [ebp - 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
or dword [0x43b26c], 0xffffffff
mov dword [0x43b268], 0xec58acac
inc ebx
cmp ebx, 0x125483c
jl 0x42cbf6
call fcn.0042c86d
pop edi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4042e8
Capabilities:
Encode data using xor

Disassembly:
push 0x31917425
mov ecx, 0x3b0df36f
pop eax
xor ecx, eax
push 0x376ceee2
mov edi, 0x4db5f3be
pop edx
xor edi, edx
xor edi, ecx
mov edx, 0
xor edx, edi
mov esi, 0xffffffff
xor edx, esi
mov eax, 0x2700c800
mov ebx, 0x10d2034d
xor eax, ebx
mov ebx, 0x7c857fd8
xor eax, ebx
mov edi, eax
push edi
push 0x5e1f0c37
mov edi, 0x3e91860
pop eax
xor edi, eax
push edi
mov edi, 0x6416e96b
mov edx, 0x72b749a9
xor edx, edi
pop ecx
xor edx, ecx
pop esi
xor edx, esi
xor esi, esi
add esi, edx
add esi, 0
je 0x403f3d
xor eax, eax
mov dword [0x40c02c], eax
mov byte [0x40c033], 2
mov byte [0x40c034], 2
mov byte [0x40c035], 3
mov word [0x40c3dc], 0
mov word [0x40c3ec], 1
call fcn.0040285c
mov eax, 0x40c038
mov edx, 0x404398
call fcn.00403c25
mov eax, 0x40c204
mov edx, 0x404398
call fcn.00403c25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404391
ret

Function at 0x4051fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405235
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40523e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405248
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405269
mov al, byte [esp]
jmp 0x40526b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret
Function at 0x100013b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
movzx eax, byte [ebx]
sub eax, 2
jne 0x1000143a
push esi
push edi
push 0x20470
call fcn.1000f567
push 0x20470
mov esi, eax
push 0
push esi
call fcn.10010470
push 0x20470
lea eax, [ebx + 1]
push eax
push esi
call fcn.10010100
mov edi, dword [ebx + 0x20471]
push edi
call fcn.1000f567
push edi
add ebx, 0x20475
push ebx
push eax
mov dword [ebp - 4], eax
call fcn.10010100
push 8
call fcn.1000f567
mov ecx, dword [ebp - 4]
push 0
push 0
push eax
push 0x10001310
push 0
mov dword [eax], esi
mov dword [eax + 4], ecx
push 0
mov dword [esi + 0x404], edi
call fcn.1000f6ac
add esp, 0x48
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100016c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0xd0]
sub esp, 8
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
call edi
mov ecx, dword [esi + 0xc]
push ecx
call edi
lea eax, [esi + 0xd4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea ebx, [esi + 0xc0]
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp + 0x10]
push edx
lea edi, [esi + 0xdc]
push 0xff
push edi
call fcn.1000f776
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push edi
push edi
mov dword [esi + 0x2dc], eax
call fcn.10010100
mov eax, dword [esi + 0x2dc]
mov ecx, dword [esi + 8]
add esp, 0xc
push 0
add eax, 8
push 0
mov dword [esi + 0x2e0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov edx, dword [edx]
push 1
add ecx, 4
push eax
mov eax, dword [ebp + 8]
push eax
call edx
mov eax, dword [esi + 0xc]
push 0xfa0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000179e
cmp eax, 0x102
je 0x1000178a
cmp eax, 0xffffffff
jne 0x10001794
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edi, [esi + 0xc8]
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi]
sub eax, dword [ebx]
mov ecx, dword [edi + 4]
sbb ecx, dword [ebx + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
fild qword [ebp - 8]
push 1
fild qword [esi + 0xb8]
lea eax, [esi + 0xd4]
push eax
fdiv qword [0x10025538]
fdivp st(1)
fstp qword [esi + 0xb0]
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10001ed0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
nop
push 0
push 0
push 0
push 0x10001dd0
push 0
push 0
call edi
mov esi, eax
push 0xffffffffffffffff
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001ee0

Function at 0x100020d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x3c]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x10002113
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x1000210c
mov esi, dword [eax + 0x20]
jmp 0x10002113
test bl, bl
jns 0x10002113
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x10], esi
mov esi, 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
cmp si, word [eax + 6]
jae 0x100021e0
lea ebx, [ecx + 0x4c]
lea esp, [esp]
mov esi, dword [edi + 0x3c]
mov ecx, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ecx
mov dword [ebp - 4], ecx
test edi, edi
jne 0x10002168
mov ecx, dword [ebx]
test cl, 0x40
je 0x10002161
mov edi, dword [eax + 0x20]
jmp 0x10002168
test cl, cl
jns 0x10002168
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x10002197
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x10002197
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.10002020
test eax, eax
je 0x100021fe
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
jmp 0x100021bf
mov eax, dword [ebx]
test eax, 0x2000000
je 0x100021ae
test dword [ebp - 0x10], 0x2000000
je 0x100021ae
or dword [ebp - 0x10], eax
jmp 0x100021b9
or eax, dword [ebp - 0x10]
and eax, 0xfdffffff
mov dword [ebp - 0x10], eax
sub edi, dword [ebp - 0x1c]
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp ecx, esi
jl 0x10002140
lea ecx, [ebp - 0x1c]
mov eax, edi
mov dword [ebp - 0xc], 1
call fcn.10002020
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100081a0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10007f30
Function at 0x1000a310
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
test eax, eax
jne 0x1000a362
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 8]
push eax
push 0xfffffffffffffffb
push 0xffff
push edi
call ebx
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0xffff
push edi
mov esi, eax
call ebx
pop edi
or eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x1000a39b
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [ebp - 4]
push edx
push 0xfffffffffffffffb
push 0xffff
push edi
call ebx
push 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push 4
push 0xffff
push edi
call ebx
pop edi
or eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x1000a3d4
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea ecx, [ebp - 4]
push ecx
push 0xfffffffffffffffb
push 0xffff
push edi
call ebx
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0xffff
push edi
mov esi, eax
call ebx
pop edi
or eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000a820
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x24]
mov word [ebp - 0x24], ax
mov eax, dword [ebp + 8]
push edx
push eax
mov dword [ebp - 8], 0x1c
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1000a84f
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.1000a700
add esp, 0x14
mov esp, ebp
pop ebp
ret