joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10025110
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
cmp esi, dword [0x102fbb38]
jg 0x10025147
push 0x102fbb3c
call fcn.100281d0
mov ecx, dword [0x102fbb34]
add esp, 4
test ecx, ecx
je 0x10025139
mov eax, dword [ecx]
mov dword [0x102fbb34], eax
mov dword [0x102fbb3c], 1
test ecx, ecx
jne 0x1002515d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x10025161
mov eax, ecx
pop esi
ret
push 0xffffffffffffffff
call fcn.101c3949
int3

Function at 0x10025200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x102fbb38]
jg 0x1002523b
push 0x102fbb3c
call fcn.100281d0
mov ecx, dword [0x102fbb34]
add esp, 4
test ecx, ecx
je 0x1002522d
mov eax, dword [ecx]
mov dword [0x102fbb34], eax
mov dword [0x102fbb3c], 1
test ecx, ecx
jne 0x10025251
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x10025258
mov eax, ecx
pop esi
pop ebp
ret 4
push 0xffffffffffffffff
call fcn.101c3949
int3

Function at 0x100252c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x102fbb2c]
jb 0x10025334
cmp esi, dword [0x102fbb30]
jae 0x10025334
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x102fbb38]
jle 0x10025349
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x1002534d
push dword [0x102fbb38]
push esi
push edi
call fcn.101c0150
push 0x102fbb3c
call fcn.100281d0
mov eax, dword [0x102fbb34]
add esp, 0x10
mov dword [esi], eax
mov dword [0x102fbb34], esi
mov esi, edi
mov dword [0x102fbb3c], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
test esi, esi
jne 0x1002532d
push 0xffffffffffffffff
call fcn.101c3949
int3
Function at 0x100266d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e7f45
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x102f8384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x1002688e
cmp word [esi], 0
je 0x1002688e
lea ecx, [ebp - 0x38]
call fcn.10004e60
mov dword [ebp - 4], 0
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x10026867
cmp word [esi + 2], 0
je 0x10026778
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026734
sub ecx, edi
mov eax, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x10026778
cmp word [esi + ecx*2 - 4], 0x3a
je 0x10026778
lea eax, [ecx - 1]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.10028c30
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x10026775
cmp dword [ebp - 0x14], esi
je 0x10026867
mov esi, dword [ebp - 0x1c]
movzx eax, word [esi]
movzx eax, ax
test ax, ax
je 0x10026867
cmp eax, 0x5c
jne 0x10026794
cmp word [esi + 2], 0
je 0x10026867
cmp word [esi + 2], 0x3a
jne 0x100267b8
movzx eax, word [esi + 4]
test ax, ax
je 0x10026867
cmp eax, 0x5c
jne 0x100267b8
cmp word [esi + 6], 0
je 0x10026867
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
test eax, eax
jne 0x10026867
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10026867
cmp eax, 3
jne 0x10026863
push 0x5c
push esi
call fcn.101bfacd
mov edx, eax
add esp, 8
test edx, edx
je 0x10026863
cmp word [edx + 2], 0
jne 0x10026815
sub edx, 2
cmp edx, esi
jb 0x10026863
cmp word [edx], 0x5c
je 0x10026815
sub edx, 2
cmp edx, esi
jae 0x10026804
xor esi, esi
jmp 0x1002686c
lea ecx, [ebp - 0x64]
call fcn.10004e60
mov byte [ebp - 4], 1
sub edx, esi
sar edx, 1
lea ecx, [ebp - 0x64]
push edx
push esi
call fcn.10028c30
lea ecx, [ebp - 0x64]
call fcn.10015a20
mov ecx, eax
call fcn.100266d0
test eax, eax
je 0x10026857
push 0
push esi
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10004f20
jmp 0x1002686c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10004f20
xor esi, esi
jmp 0x1002686c
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10004f20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100268b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e7f8d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x102f8384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x10026a0c
cmp word [esi], 0
je 0x10026a0c
push 0x44
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.101c06d0
or dword [ebp - 0x50], 1
xor eax, eax
mov dword [ebp - 0x38], vtable.CVolCommonBaseWithMemManager.0
add esp, 0xc
mov dword [ebp - 0x7c], 0x44
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
push esi
call fcn.10027920
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
cmove eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10026979
xor esi, esi
jmp 0x1002699c
push 0x1f4
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100269d7
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolWrapperObject.virtual_12
jne 0x100269d2
mov ecx, 0x102fbb28
call fcn.100283a0
jmp 0x100269d7
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x38], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10026a20
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e7fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x102f8384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x10026b88
cmp word [esi], 0
je 0x10026b88
lea ecx, [ebp - 0x244]
call fcn.10004e60
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x10026a97
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
movzx eax, word [esi]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
cmp eax, 0x5c
je 0x10026ad0
test ax, ax
je 0x10026b02
cmp word [esi + 2], 0x3a
jne 0x10026b02
cmp word [esi + 4], 0x5c
jne 0x10026b02
push 0x5c
push esi
call fcn.101bfacd
add esp, 8
test eax, eax
je 0x10026b02
cmp eax, esi
jbe 0x10026aee
cmp word [eax - 2], 0x3a
lea ecx, [eax - 2]
cmovne eax, ecx
sub eax, esi
lea ecx, [ebp - 0x244]
add eax, 2
sar eax, 1
push eax
push esi
call fcn.10028c30
mov edi, dword [ebp - 0x238]
test edi, edi
jne 0x10026b1e
cmp dword [ebp - 0x220], edi
je 0x10026b69
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x10026b69
cmp word [edi], 0
je 0x10026b69
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x10026b69
cmp word [edi], 0
je 0x10026b47
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp word [ebp - 0x218], 0
mov esi, eax
je 0x10026b72
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x10026b72
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.10004f20
mov eax, esi
jmp 0x10026b8a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101bdc82
mov esp, ebp
pop ebp
ret
Function at 0x10027b00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
je 0x10027bd7
cmp word [eax], 0
je 0x10027bd7
push ebx
push edi
push 0x102e7538
push eax
or ebx, 0xffffffff
call fcn.101ca914
mov edi, eax
add esp, 8
test edi, edi
je 0x10027baa
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xffffffff
jne 0x10027b5b
push 2
push 0
push edi
call fcn.101c6c8c
push edi
call fcn.101cb348
push 0
push 0
push edi
mov ebx, eax
call fcn.101c6c8c
add esp, 0x1c
test ebx, ebx
jle 0x10027b9a
push edi
push ebx
push 1
push ebx
mov ecx, esi
call fcn.100277d0
push eax
call fcn.101cac96
push edi
mov ebx, eax
call fcn.101cb530
add esp, 0x14
test eax, eax
jne 0x10027b9e
push ebx
mov ecx, esi
call fcn.10027830
push edi
call fcn.101c3d2f
add esp, 4
mov eax, ebx
pop edi
pop ebx
pop esi
pop ebp
ret 8
xor ebx, ebx
jmp 0x10027ba1
or ebx, 0xffffffff
push edi
call fcn.101c3d2f
add esp, 4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10027bb9
mov edx, dword [esi]
push ecx
mov ecx, esi
call dword [edx + 0xc]
pop edi
mov eax, ebx
mov dword [esi + 0xc], 0
pop ebx
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
pop esi
pop ebp
ret 8
or eax, 0xffffffff
pop esi
pop ebp
ret 8
Function at 0x1002af20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e8400
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x102f8384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CTcpAgent.0
mov dword [esi + 4], 1
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x2710
mov dword [esi + 0x14], 0x2710
call fcn.1002dba0
push 0
push 1
push 1
push 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x1000
mov dword [esi + 0x20], 0x7530
mov dword [esi + 0x24], 0x258
mov dword [esi + 0x28], 0x400
mov dword [esi + 0x2c], 0x258
mov dword [esi + 0x30], 0x400
mov dword [esi + 0x34], 0xea60
mov dword [esi + 0x38], 0x4e20
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x1002b135
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esi + 0x50], eax
xor eax, eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 3
mov dword [esi + 0x60], 0
mov word [esi + 0x64], ax
movups xmmword [esi + 0x66], xmm0
movq qword [esi + 0x76], xmm0
mov word [esi + 0x7e], ax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
push dword [0x102f9d94]
lea ecx, [esi + 0x90]
push 0x400
push 0x400
call fcn.1002ac60
lea ecx, [esi + 0x168]
mov byte [ebp - 4], 3
push 0
mov dword [esi + 0x164], 0
call fcn.1002ace0
mov dword [esi + 0x294], 0
mov eax, dword [esi + 0x294]
mov dword [esi + 0x290], 0
mov dword [esi + 0x2d4], 0
mov dword [esi + 0x314], 0
test eax, eax
je 0x1002b0d1
push eax
call fcn.101cbb1d
mov dword [esi + 0x294], 0
add esp, 4
mov dword [esi + 0x290], 0
mov dword [esi + 0x2d4], 0
mov dword [esi + 0x314], 0
mov dword [esi + 0x354], 0
mov dword [esi + 0x358], 0
push 8
mov byte [ebp - 4], 5
mov dword [esi + 0x364], 0
call fcn.101be1d6
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x1002b113
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x1002b115
xor eax, eax
mov dword [esi + 0x360], eax
mov dword [esi + 0x35c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1002bf40
int3
Function at 0x1002b140
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e846d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x102f8384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CTcpServer.0
mov dword [esi + 4], 1
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x2710
call fcn.1002dba0
push 0
push 1
push 1
push 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], closesocket
mov dword [esi + 0x1c], 0x12c
mov dword [esi + 0x20], 0x1000
mov dword [esi + 0x24], 0x7530
mov dword [esi + 0x28], 0x258
mov dword [esi + 0x2c], 0x400
mov dword [esi + 0x30], 0x258
mov dword [esi + 0x34], 0x400
mov dword [esi + 0x38], 0xea60
mov dword [esi + 0x3c], 0x4e20
mov dword [esi + 0x40], 1
mov dword [esi + 0x44], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x48], eax
test eax, eax
je 0x1002b360
xor eax, eax
mov dword [esi + 0x4c], 0
mov word [esi + 0x58], ax
mov eax, dword [ebp + 8]
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 3
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
push dword [0x102f9d94]
lea ecx, [esi + 0x80]
push 0x400
push 0x400
call fcn.1002ac60
lea ecx, [esi + 0x158]
mov byte [ebp - 4], 3
push 0
mov dword [esi + 0x154], 0
call fcn.1002ace0
mov dword [esi + 0x284], 0
mov eax, dword [esi + 0x284]
mov dword [esi + 0x280], 0
mov dword [esi + 0x2c4], 0
mov dword [esi + 0x304], 0
test eax, eax
je 0x1002b2f2
push eax
call fcn.101cbb1d
mov dword [esi + 0x284], 0
add esp, 4
mov dword [esi + 0x280], 0
mov dword [esi + 0x2c4], 0
mov dword [esi + 0x304], 0
mov dword [esi + 0x344], 0
mov dword [esi + 0x348], 0
push 8
mov byte [ebp - 4], 5
mov dword [esi + 0x354], 0
call fcn.101be1d6
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x1002b334
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x1002b336
xor eax, eax
mov dword [esi + 0x350], eax
mov dword [esi + 0x34c], eax
mov eax, esi
mov dword [esi + 0x358], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1002bf40
int3
Function at 0x1002b550
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e8490
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x102f8384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.ATL::CThreadPool_class_CHPThreadPool::CWorker__class_ATL::CRTThreadTraits__class_ATL::Win32WaitTraits_.0
cmp dword [esi + 0x40], 0
je 0x1002b60c
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0x30]
mov ecx, esi
push 0
call fcn.1002c7d0
mov edi, dword [esi + 0xc]
sub edi, 1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
js 0x1002b5ea
nop dword [eax]
cmp edi, dword [esi + 0xc]
jge 0x1002b653
mov eax, dword [esi + 8]
mov ebx, dword [eax + edi*4]
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x10], 0x103
jne 0x1002b5dc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
sub edi, 1
jns 0x1002b5b0
push dword [esi + 0x40]
call ebx
lea edi, [esi + 0x14]
mov dword [esi + 0x40], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [esi + 0x3c]
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x1002b623
push eax
call fcn.101cbb1d
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x1002b63a
push eax
call fcn.101cbb1d
add esp, 4
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 0xc000008c
call fcn.1002d270
int3
Function at 0x1002d210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1002d269
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1002d269
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1002d25a
cmp esi, edx
jae 0x1002d269
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1002d248
cmp esi, edx
jae 0x1002d269
cmp word [esi], 0
je 0x1002d269
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1002d290
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x1002d3e6
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.101be206
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x1002d349
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1002d307
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1002d3dc
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x1002d35d
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x1002d360
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1002d3dc
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.101be206
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x1002d3ed
cmp esi, eax
jne 0x1002d3b7
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x1002d370
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1002d6a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002df00
Function at 0x1002d860
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 4], edi
shl eax, cl
cmp edx, eax
ja 0x1002d9b0
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.1002d760
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp edx, ebx
je 0x1002d98b
mov ecx, edx
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul esi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor esi, eax
movzx eax, byte [ecx + 0xa]
imul esi, esi, 0x1000193
xor esi, eax
movzx eax, byte [ecx + 0xb]
imul esi, esi, 0x1000193
xor esi, eax
imul eax, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, eax
mov eax, dword [edi + 0xc]
lea ebx, [eax + esi*8]
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
cmp dword [ebx], eax
jne 0x1002d913
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
jmp 0x1002d980
mov eax, dword [ebx + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x1002d94a
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp eax, ecx
je 0x1002d945
mov edi, dword [ecx + 4]
mov ebx, dword [ebp - 0xc]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov dword [ebx + 4], ecx
jmp 0x1002d97d
mov ebx, dword [ebx]
mov esi, eax
cmp ebx, eax
je 0x1002d960
mov eax, dword [eax + 4]
mov esi, eax
cmp edi, dword [eax + 8]
je 0x1002d994
cmp ebx, eax
jne 0x1002d952
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov edi, dword [ebp - 4]
mov ecx, edx
cmp edx, dword [ebp - 8]
jne 0x1002d8c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ecx + 4]
mov ebx, dword [eax]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x1002d97d
push str.invalid_hash_bucket_count
call fcn.101bdc62
int3