joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a3e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d4a0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45a094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x48], 0x40000
mov dword [esi + 0x24], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x4c], 0x40000
mov dword [esi + 0x28], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x50], 0x40000
mov dword [esi + 0x2c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x54], 0x40000
mov dword [esi + 0x30], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x58], 0x40000
push 0x40ec80
push 0x41a3d0
push 4
push 4
lea eax, [esi + 0x2f8]
mov dword [ebp - 4], 0
push eax
mov dword [esi], 0x44f95c
mov dword [esi + 4], 0x44f96c
mov dword [esi + 8], 0x44f97c
mov dword [esi + 0xc], 0x44f98c
mov dword [esi + 0x10], 0x44f9a0
mov dword [esi + 0x14], 0x44f9b4
mov dword [esi + 0x18], 0x44f9c4
mov word [esi + 0x2e0], 0
mov dword [esi + 0x2e8], 0
mov dword [esi + 0x2ec], 0
mov dword [esi + 0x2f0], 0
mov dword [esi + 0x2f4], 0
call fcn.0043f82c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41f980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d9f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x45a094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x11], 0
mov word [edi + 0x15], 0
mov byte [edi + 0x17], 0
call fcn.004093b0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.004093b0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
call fcn.004093b0
lea esi, [edi + 0x78]
mov dword [edi + 0x44], 0
xor eax, eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], eax
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 6
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.004093b0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 7
call fcn.004093b0
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004093b0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 9
call fcn.004093b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41fb50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44da87
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x45a094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi], 0x44fe9c
mov dword [edi + 4], 0x44feb0
mov dword [edi + 8], 0x44fec4
mov dword [edi + 0xc], 0x44fed4
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 2
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.004093b0
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 3
call fcn.004093b0
lea esi, [edi + 0x60]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0040c900
lea ecx, [esi + 0x28]
call fcn.004093b0
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 5
call fcn.0041e070
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41fc90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dab0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x45a094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.0043f9fc
push dword [esi + 0xc0]
call fcn.0043f9fc
push dword [esi + 0x9c]
call fcn.0043f9fc
push dword [esi + 0x90]
call fcn.0043f9fc
push dword [esi + 0x30]
call fcn.0043f9fc
push dword [esi + 0x24]
call fcn.0043f9fc
push dword [esi + 0x18]
call fcn.0043f9fc
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x41fd10
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x41fd24
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x41fd38
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x41fd4b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41fe00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44db3c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45a094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xe0
call fcn.0043f9b5
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x41ff91
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [esi], ecx
test ecx, ecx
je 0x41fe5a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 1
mov dword [esi + 4], ecx
test ecx, ecx
je 0x41fe6e
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 2
mov dword [esi + 8], ecx
test ecx, ecx
je 0x41fe82
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 3
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x41fe96
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
movzx eax, byte [edi + 0x10]
lea ecx, [esi + 0x18]
mov byte [esi + 0x10], al
movzx eax, byte [edi + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [edi + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [edi + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [edi + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [edi + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [edi + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [edi + 0x17]
mov byte [esi + 0x17], al
lea eax, [edi + 0x18]
push eax
mov byte [ebp - 4], 4
call fcn.00409210
lea eax, [edi + 0x24]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x24]
call fcn.00409210
lea eax, [edi + 0x30]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x30]
call fcn.00409210
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
movq xmm0, qword [edi + 0x44]
movq qword [esi + 0x44], xmm0
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
movzx eax, byte [edi + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x74]
mov dword [esi + 0x70], eax
lea eax, [edi + 0x78]
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x78]
push eax
mov byte [ebp - 4], 7
call fcn.0041fab0
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0xa8]
call fcn.0041fab0
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], ecx
jmp 0x41ff93
xor esi, esi
mov eax, dword [ebx + 4]
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov ecx, dword [ebx]
mov dword [ecx + eax*4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43e480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x45a094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov dword [ebp - 0x84], 0x420041
xor edx, edx
mov dword [ebp - 0x80], 0x440043
mov dword [ebp - 0x7c], 0x460045
mov dword [ebp - 0x78], 0x480047
mov dword [ebp - 0x74], 0x4a0049
mov dword [ebp - 0x70], 0x4c004b
mov dword [ebp - 0x6c], 0x4e004d
mov dword [ebp - 0x68], 0x50004f
mov dword [ebp - 0x64], 0x520051
mov dword [ebp - 0x60], 0x540053
mov dword [ebp - 0x5c], 0x560055
mov dword [ebp - 0x58], 0x580057
mov dword [ebp - 0x54], 0x5a0059
mov dword [ebp - 0x50], 0x620061
mov dword [ebp - 0x4c], 0x640063
mov dword [ebp - 0x48], 0x660065
mov dword [ebp - 0x44], 0x680067
mov dword [ebp - 0x40], 0x6a0069
mov dword [ebp - 0x3c], 0x6c006b
mov dword [ebp - 0x38], 0x6e006d
mov dword [ebp - 0x34], 0x70006f
mov dword [ebp - 0x30], 0x720071
mov dword [ebp - 0x2c], 0x740073
mov dword [ebp - 0x28], 0x760075
mov dword [ebp - 0x24], 0x780077
mov dword [ebp - 0x20], 0x7a0079
mov dword [ebp - 0x1c], 0x310030
mov dword [ebp - 0x18], 0x330032
mov dword [ebp - 0x14], 0x350034
mov dword [ebp - 0x10], 0x370036
mov dword [ebp - 0xc], 0x390038
mov dword [ebp - 8], 0x2f002b
test esi, esi
jle 0x43e5bf
nop word [eax + eax]
movzx ecx, word [edi + edx*2]
xor eax, eax
cmp word [ebp + eax*2 - 0x84], cx
je 0x43e5ba
inc eax
cmp eax, 0x40
jb 0x43e596
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f7b6
mov esp, ebp
pop ebp
ret 4
inc edx
cmp edx, esi
jl 0x43e590
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0043f7b6
mov esp, ebp
pop ebp
ret 4
Function at 0x43e960
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x45a094]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00440e00
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43ea47
push ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43e9ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43e9ff
mov ecx, dword [edi]
jmp 0x43ea11
mov eax, dword [ebp - 0x210]
xor ecx, ecx
add ecx, ebx
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
push ecx
mov dword [ebp - 0x218], 0
call fcn.0043f9f3
mov ecx, dword [ebp - 0x214]
add esp, 4
push 0
mov dword [ecx], eax
lea ecx, [ebp - 0x218]
push ecx
push dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043f7b6
mov esp, ebp
pop ebp
ret 8
Function at 0x443ecc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x443f0b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x443f0b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x443f0b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x443f0b
cmp dword [ecx + 0x74], 0xe
jbe 0x443f0b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x446440
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4530a4
push 0x45309c
push str.FlsAlloc
push 0x1f
call fcn.0044631c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x446474
push dword [ebp + 8]
mov ecx, esi
call dword [0x44f25c]
call esi
jmp 0x44647a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4464be
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4530b4
push 0x4530ac
push str.FlsGetValue
push 0x21
call fcn.0044631c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4464f5
push dword [ebp + 8]
mov ecx, esi
call dword [0x44f25c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4464fd
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4530bc
push 0x4530b4
push str.FlsSetValue
push 0x22
call fcn.0044631c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x446537
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44f25c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x447ad2
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x447b6f
push ebx
push esi
call fcn.00447a9b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044613a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x447b1c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x447b6e
push edi
push eax
call fcn.00445d51
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x447b3c
call fcn.00445d17
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x447b6d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044613a
add esp, 0x20
test eax, eax
jne 0x447b5b
push edi
call fcn.00445d17
jmp 0x447b63
push ebx
call fcn.00445d17
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6cc87b8d
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7e620456
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x375b1b26
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x42cd70
nop
mov ecx, 0x5c91743b
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
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 0x42e06c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x5f814889
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov ebx, ecx
jmp 0x5f8148ad
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x5f814903
test eax, eax
je 0x5f8148fc
cmp eax, esi
ja 0x5f8148fc
sub esi, eax
add edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5f81489a
call fcn.5f8152ae
mov esi, eax
test esi, esi
jns 0x5f814903
lfence
mov eax, dword [0x5f831160]
cmp eax, 0x5f831160
je 0x5f8148f8
test byte [eax + 0x1c], 1
je 0x5f8148f8
push esi
push dword [eax + 0x14]
mov edx, 0x5f80880c
push dword [eax + 0x10]
push 0x13
pop ecx
call fcn.5f80a456
mov eax, esi
jmp 0x5f814905
mov esi, 0x8000ffff
jmp 0x5f8148cb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x5f8149fb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
push esi
push edi
mov edi, edx
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5f814a50
call fcn.5f8152ae
mov esi, eax
cmp esi, 0x80070002
je 0x5f814a4c
cmp esi, 0x80070003
je 0x5f814a4c
mov eax, dword [0x5f831160]
cmp eax, 0x5f831160
je 0x5f814a4c
test byte [eax + 0x1c], 1
je 0x5f814a4c
push esi
push edi
push dword [eax + 0x14]
mov edx, 0x5f80880c
push dword [eax + 0x10]
push 0x1e
pop ecx
call fcn.5f80be0b
mov eax, esi
jmp 0x5f814a54
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
pop ecx
ret
Function at 0x5f81627d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov eax, ecx
mov ebx, edx
mov ecx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ecx], edi
mov ecx, dword [ebp + 0x10]
push ebx
push eax
mov dword [ecx], edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x5f8162da
call fcn.5f8152ae
mov esi, eax
mov ecx, dword [0x5f831160]
cmp ecx, 0x5f831160
je 0x5f8162d3
test byte [ecx + 0x1c], 1
je 0x5f8162d3
push esi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x11
mov edx, 0x5f8088e8
pop ecx
call fcn.5f80a456
mov eax, esi
jmp 0x5f8163ee
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x5f81630d
call fcn.5f8152ae
mov esi, eax
mov ecx, dword [0x5f831160]
cmp ecx, 0x5f831160
je 0x5f8162d3
test byte [ecx + 0x1c], 1
je 0x5f8162d3
push esi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x12
jmp 0x5f8162c8
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x5f816341
call fcn.5f8152ae
mov esi, eax
mov ecx, dword [0x5f831160]
cmp ecx, 0x5f831160
je 0x5f8162d3
test byte [ecx + 0x1c], 1
je 0x5f8162d3
push esi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x13
jmp 0x5f8162c8
lea ecx, [eax + esi]
cmp esi, ecx
jbe 0x5f81636b
mov eax, dword [0x5f831160]
cmp eax, 0x5f831160
je 0x5f8163d8
test byte [eax + 0x1c], 1
je 0x5f8163d8
push dword [ebp + 8]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
jmp 0x5f8163cd
mov edx, dword [ebp + 8]
and edx, 0xf
jbe 0x5f816385
cmp esi, ecx
jae 0x5f816389
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
inc edi
cmp edi, edx
jb 0x5f816373
cmp esi, ecx
jb 0x5f8163a8
mov eax, dword [0x5f831160]
cmp eax, 0x5f831160
je 0x5f8163d8
test byte [eax + 0x1c], 1
je 0x5f8163d8
push dword [ebp + 8]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
jmp 0x5f8163cd
movzx eax, word [esi]
test ax, ax
jne 0x5f8163df
mov eax, dword [0x5f831160]
cmp eax, 0x5f831160
je 0x5f8163d8
test byte [eax + 0x1c], 2
je 0x5f8163d8
push dword [ebp + 8]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
mov edx, 0x5f8088e8
pop ecx
call fcn.5f80a456
mov eax, 0x80070714
jmp 0x5f8163ee
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [esi + 2]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x5f8238cb
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x5f823908
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x5f823901
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x5f82390d
add edx, 0x28
cmp edx, esi
jne 0x5f8238f2
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x5f82390a
Function at 0x5f826825
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5f8069d4
push 0x5f8069cc
push 0x5f805580
push 0
call fcn.5f8267a3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5f82685a
push dword [ebp + 8]
mov ecx, esi
call dword [0x5f833194]
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x5f82689f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5f8069e4
push 0x5f8069dc
push 0x5f8055a4
push 2
call fcn.5f8267a3
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x5f8268d3
mov ecx, esi
call dword [0x5f833194]
call esi
jmp 0x5f8268d9
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x5f8268dc
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5f8069ec
push 0x5f8069e4
push 0x5f8055b8
push 3
call fcn.5f8267a3
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x5f826913
mov ecx, esi
call dword [0x5f833194]
call esi
jmp 0x5f826919
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x5f82ea40
Capabilities:
Enumerate pe sections

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

Function at 0x5f82eb50
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x5f82eb81
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x5f82eb81
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x5f82eb81
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret