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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push 0xa13344
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
xor eax, eax
call dword [sym.imp.shell32.dll_ShellExecuteA]
nop
nop
cmp dword [ebp - 4], esp
je 0x5f1a1e
push 0x24
push 0x430ccb9
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jne 0x5f1a3a
mov eax, 0
jmp 0x5f1a44
mov eax, 1
jmp 0x5f1a44
mov esp, ebp
pop ebp
ret 0x14

Function at 0x604240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push SendDlgItemMessageA
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.006471f0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x604285
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0x104
xor eax, eax
call dword [sym.imp.kernel32.dll_GetTempPathA]
nop
nop
cmp dword [ebp - 8], esp
je 0x6042ba
push 0x5a
push 0x436a8a9
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle GetMenuState
push 0x80000301
push 0
push 1
push GetMenuCheckMarkDimensions
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x6042e6
mov eax, 0xa13344
push eax
push 2
mov ebx, 0x138
call fcn.00647230
add esp, 0x1c
mov dword [ebp - 8], eax
push GetSysColorBrush
push dword [ebp - 8]
call fcn.004f1030
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je reloc.GDI32.dll_SetBkMode
push ebx
call fcn.00645a87
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x604364
push SetPolyFillMode
push dword [ebp - 4]
mov ecx, 2
call fcn.004f1344
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x604360
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x604380
push eax
mov ebx, eax
call fcn.004efc64
inc eax
push eax
call fcn.00645a7b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp OffsetViewportOrgEx
mov eax, 0xa13344
jmp 0x60438f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6043a0
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x60667c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
pop ebp
mov eax, dword [esp + 4]
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x606697
cmp word [eax + 8], 0x5a4d
lea ecx, [eax + 8]
je 0x6066a0
mov eax, edx
ret 8
add ecx, dword [ecx + 0x3c]
cmp word [ecx + 4], 0x14c
jne 0x606697
cmp dword [ecx], 0x4550
jne 0x606697
mov edx, dword [ecx + 0x34]
mov eax, dword [esp + 8]
mov dword [eax], edx
mov edx, dword [ecx + 0x50]
jmp 0x606697

Function at 0x6066d4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
test eax, eax
je 0x6066f4
cmp word [eax + 8], 0x5a4d
lea ebx, [eax + 8]
je 0x606706
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov esi, dword [ebx + 0x3c]
xor eax, eax
lea edx, [esi + ebx]
cmp word [edx + 4], 0x14c
jne 0x6066f4
cmp dword [edx], 0x4550
jne 0x6066f4
movzx edx, word [edx + 6]
add esi, 0xf8
mov dword [esp + 4], ebx
xor edi, edi
lea eax, [edx + edx*4]
mov dword [esp + 0x18], edx
lea eax, [esi + eax*8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [esp + 0x4c]
sub esp, 0xc
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1000
mov dword [esp], eax
call dword [esp + 0x48]
sub esp, 0x10
mov edx, dword [esp + 0x18]
test edx, edx
je 0x6067e5
lea esi, [esi]
lea ebp, [ebx + esi]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x6067db
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x6067db
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x10]
add eax, ebx
add ecx, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 0x18], ecx
call dword [esp + 0x4c]
sub esp, 0xc
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], 0x40
mov eax, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [esp + 0x48]
sub esp, 0x10
mov edx, dword [esp + 0x1c]
add edi, 1
add esi, 0x28
cmp edx, edi
jne 0x60677e
mov eax, 1
jmp 0x6066f4
Function at 0x606800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x6068c1
test ecx, ecx
je 0x6068c1
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x6068c1
test ebx, ebx
je 0x6068c1
mov ebx, eax
add ebx, edx
je 0x6068c1
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x6068c1
cmp dword [edx + eax + 0x14], 0
je 0x6068c1
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x6068c1
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x6068b1
test dl, dl
je 0x6068ad
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x6068b1
add edi, 2
add esi, 2
test dl, dl
jne 0x606891
xor eax, eax
jmp 0x6068b6
sbb eax, eax
or eax, 1
test eax, eax
je 0x6068cd
inc ebp
cmp ebp, dword [esp + 4]
jb 0x60687e
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x6069a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0
je 0x606a20
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov eax, 0xa13348
xor ecx, ecx
test eax, eax
je 0x6069e4
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x6069f7
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x606a0e
dec eax
test ecx, ecx
je 0x606a0e
call fcn.004f28d8
add esp, 0xc
test eax, eax
je 0x606a20
mov eax, 1
jmp 0x606a25
mov eax, 0
test eax, eax
je 0x606b96
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0xc], ebx
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x606a4d
mov eax, 0xa13348
push eax
push 1
mov ebx, 0x194
call fcn.00646e60
add esp, 0x10
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
lea eax, [ebp - 8]
push eax
push 0x40
push dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
xor eax, eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x606aa5
push 0xb4
push 0x436a910
push 6
call fcn.00645a6f
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x10]
call fcn.0060697c
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
push dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.006068f4
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov eax, 0xa13348
test eax, eax
je 0x606b28
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00645a7b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x606b3b
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
cmp dword [ebp - 8], 0x40
je 0x606b96
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
xor eax, eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x606b96
push 0x22c
push 0x436a910
push 6
call fcn.00645a6f
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x6086b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.006471f0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6086f5
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
xor eax, eax
call dword [sym.imp.kernel32.dll_GetTempPathA]
nop
nop
cmp dword [ebp - 8], esp
je 0x60872a
push 0x36
push 0x436a95b
push 6
call fcn.00645a6f
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x608746
push eax
mov ebx, eax
call fcn.004efc64
inc eax
push eax
call fcn.00645a7b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x60874b
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x60875c
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x608e5c
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0xa82754], 0
jne 0x608f07
mov eax, str.__threadStrMap
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00608f8c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x608e9d
push ebx
call fcn.00645a87
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0xa82754], eax
cmp dword [0xa82754], 0
jne 0x608f07
mov dword [ebp - 8], esp
xor eax, eax
call dword [sym.imp.kernel32.dll_TlsAlloc]
nop
nop
cmp dword [ebp - 8], esp
je 0x608edb
push 0xc6
push 0x436a900
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [0xa82754], eax
push dword [0xa82754]
mov eax, str.__threadStrMap
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.006093d8
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x608f07
push ebx
call fcn.00645a87
add esp, 4
mov dword [ebp - 8], esp
push dword [0xa82754]
xor eax, eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
nop
nop
cmp dword [ebp - 8], esp
je 0x608f36
push 0x138
push 0x436a900
push 6
call fcn.00645a6f
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x608f7d
call fcn.00609214
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push dword [0xa82754]
xor eax, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
nop
nop
cmp dword [ebp - 8], esp
je 0x608f7d
push 0x1b6
push 0x436a900
push 6
call fcn.00645a6f
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x608f85
mov esp, ebp
pop ebp
ret
Function at 0x608fbc
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
cmp dword [0xa82758], 0
jne 0x6091f3
push 0x80000301
push 0
push 0x40
push 1
mov ebx, 0x184
call fcn.006471f0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x60900e
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
xor eax, eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
nop
nop
cmp dword [ebp - 8], esp
je 0x60903b
push 0xb8
push 0x436a904
push 6
call fcn.00645a6f
add esp, 0xc
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00646f40
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str.__processStrMap_
mov ecx, 2
call fcn.004f1344
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x609080
push ebx
call fcn.00645a87
add esp, 4
mov dword [ebp - 0x18], esp
push 0x40
push dword [ebp - 4]
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x6090b4
push 0xb8
push 0x436a904
push 6
call fcn.00645a6f
add esp, 0xc
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x6090c4
push ebx
call fcn.00645a87
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x6090d7
mov eax, 0xa13344
push eax
push 1
mov ebx, 0x164
call fcn.0064aeb0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
fld qword [ebp - 0x14]
call fcn.004ef9d0
mov dword [0xa82758], eax
cmp dword [0xa82758], 0
jne 0x6091f3
call fcn.00609214
mov dword [0xa82758], eax
mov dword [ebp - 8], esp
xor eax, eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
nop
nop
cmp dword [ebp - 8], esp
je 0x60913d
push 0x1c1
push 0x436a904
push 6
call fcn.00645a6f
add esp, 0xc
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00646f40
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str.__processStrMap_
mov ecx, 2
call fcn.004f1344
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x609182
push ebx
call fcn.00645a87
add esp, 4
push 0x80000301
push 0
push dword [0xa82758]
push 1
mov ebx, 0x168
call fcn.00646f40
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x6091d3
push 0x1d6
push 0x436a904
push 6
call fcn.00645a6f
add esp, 0xc
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x6091e3
push ebx
call fcn.00645a87
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x6091f3
push ebx
call fcn.00645a87
add esp, 4
mov eax, dword [0xa82758]
jmp 0x6091fd
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x60920e
push ebx
call fcn.00645a87
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x60b38c
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x60b3ad
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x60b3a4
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x60b39c
mov eax, ebx
leave
ret

Function at 0x60b3d3
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x60b432
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x60b45f
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x60b44e
xor ecx, eax
xor edx, ebx
dec edi
jne 0x60b43f
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x60b485
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x60b426
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x60bcc5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.0060b352
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x60bea4
push dword [ebp - 4]
call fcn.0060b336
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x60bd95
jmp 0x60bea4
push dword [ebp - 4]
call fcn.0060b336
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x60bde9
lea eax, [ebp - 4]
push eax
call fcn.0060bcab
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.0060b55d
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x60bde9
mov eax, 1
jmp 0x60bdeb
xor eax, eax
test eax, eax
je 0x60be99
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x60be91
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.0060bac8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x60be80
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.0060bc84
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x60be33
add esp, 0xc
jmp 0x60bea4
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x60bd6e
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x60bec5
mov esp, ebp
pop ebp
ret 8

Function at 0x60c97c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.kernel32.dll_CopyFileA]
nop
nop
cmp dword [ebp - 4], esp
je 0x60c9bb
push 0x12
push 0x436a8b0
push 6
call fcn.00645a6f
add esp, 0xc
jmp 0x60c9c0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x60cdec
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
jmp 0x60cdf4
sub esp, 0x28
push ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0
jle 0x60ce39
mov eax, dword [ecx]
mov dword [ebp - 8], eax
cmp word [ebp - 8], 0x5a4d
jne 0x60ce39
lea eax, [ecx + 0x3c]
mov eax, dword [eax]
add ecx, eax
mov eax, dword [ecx]
cmp eax, 0x4550
jne 0x60ce39
lea eax, [ecx + 0x16]
mov eax, dword [eax]
cwde
and eax, 0x2000
test eax, eax
je 0x60ce39
lea eax, [ecx + 0x28]
mov eax, dword [eax]
add eax, dword [ebp + 8]
jmp 0x60ce3d
xor eax, eax
jmp 0x60ce68
nop
push 0
push 0
push 0
call eax
call fcn.0060ce6d
push 0x700ed6df
push eax
push 0
call fcn.0060cec0
push 0
push 0x8000
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
call eax
pop ecx
leave
ret 4

Function at 0x60ce6d
Capabilities:
Access peb ldr_data
Resolve function by hash

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

Function at 0x60cec0
Capabilities:
Hash data with crc32

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