joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a4f0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e39d4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x57af80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [0x502598]
lea ecx, [esi + 0x20]
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 4
call dword [0x502ed8]
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0
call dword [0x502ed8]
lea ecx, [esi + 0x28]
call dword [0x502ed8]
lea ecx, [esi + 0x2c]
call dword [0x502ed8]
lea ecx, [esi + 0x30]
call dword [0x502ed8]
lea ecx, [esi + 0x34]
call dword [0x502ed8]
lea ecx, [esi + 0x38]
call dword [0x502ed8]
lea ecx, [esi + 0x3c]
call dword [0x502ed8]
lea ecx, [esi + 0x40]
call dword [0x502ed8]
mov eax, dword [0x502e94]
mov dword [esi + 0x44], eax
mov eax, dword [0x502e94]
mov dword [esi + 0x48], eax
lea ecx, [esi + 0x4c]
call dword [0x502ed8]
lea ecx, [esi + 0x50]
call dword [0x502ed8]
lea ecx, [esi + 0x54]
call dword [0x502ed8]
mov eax, dword [0x502e94]
mov dword [esi + 0x58], eax
push 0
push 6
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xe
call dword [0x502f18]
lea ecx, [esi + 0x60]
call dword [0x502ed8]
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
lea ecx, [esi + 0x70]
mov dword [esi + 0x6c], 0
call dword [0x502ed8]
lea ecx, [esi + 0x78]
mov byte [esi + 0x74], 0
call dword [0x502ed8]
lea ecx, [esi + 0x7c]
call fcn.0041a110
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 0x14
call fcn.0041a6e0
lea ecx, [esi + 0x98]
call dword [0x5025a8]
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.0041aec0
push 0x10
call fcn.004df156
add esp, 4
test eax, eax
je 0x41a67c
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
jmp 0x41a67e
xor eax, eax
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
push eax
movq qword [ebp - 0x18], xmm0
call fcn.0041a0a0
mov edi, dword [esi + 0x68]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x64], eax
test edi, edi
je 0x41a6cc
or edx, 0xffffffff
lea ecx, [edi + 4]
mov eax, edx
lock xadd dword [ecx], eax
jne 0x41a6bc
mov eax, dword [edi + 8]
push edi
call eax
add esp, 4
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
jne 0x41a6cc
push edi
call fcn.004df15c
add esp, 4
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
Function at 0x433c00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7c3b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x57af80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov word [esi + 8], ax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov eax, dword [0x502e94]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0x3f800000
mov dword [esi + 0x20], 0
call dword [0x5024e8]
lea ecx, [esi + 0x28]
call dword [0x502ed8]
lea ecx, [esi + 0x30]
call dword [0x5023c0]
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 0x460400
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eeb20
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x57af80]
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
mov eax, dword [ebp + 8]
push 0
push eax
mov dword [ebp - 0x18], esi
call dword [0x503850]
push 0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], vtable.VNoShutdowns.0
mov dword [esi + 8], vtable.VNoShutdowns.1.0
call dword [0x502b7c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [ebp - 4], 2
call fcn.0040aac0
push 0x14
mov dword [esi + 0x2c], eax
call fcn.004df156
add esp, 4
test eax, eax
je 0x460499
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
jmp 0x46049b
xor eax, eax
push esi
lea ecx, [esi + 0x18]
mov dword [esi + 0x30], eax
call dword [0x502b74]
mov ecx, dword [esi + 0x30]
push esi
call fcn.004612a0
push 1
mov ecx, esi
call dword [0x503e10]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call dword [0x5037b0]
mov edx, dword [ebp - 0x14]
mov ecx, esi
and edx, 0xfffeffff
push edx
mov dword [ebp - 0x14], edx
call dword [0x504984]
mov ecx, esi
call fcn.00460ff0
push 0x10
lea ecx, [esi + 0x18]
call dword [0x502b88]
mov eax, esi
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.004df262
mov esp, ebp
pop ebp
ret 4
Function at 0x48bf40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6669
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57af80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
sub esp, 0x14
mov edi, esp
mov dword [ebp - 4], 0
mov dword [edi], eax
lea ecx, [edi + 4]
lea eax, [ebp + 0xc]
push eax
call dword [0x502ee8]
mov eax, dword [ebp + 0x10]
lea ecx, [edi + 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xc], eax
lea eax, [ebp + 0x18]
push eax
call dword [0x502ed4]
mov ecx, dword [ebx + 0x34]
call fcn.0046ad20
mov ecx, dword [ebx + 0x30]
lea eax, [ebp - 0x10]
push eax
call fcn.0042e460
push 0x505a70
mov ecx, eax
mov byte [ebp - 4], 1
call dword [0x50255c]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
mov bl, al
call dword [0x502f10]
test bl, bl
je 0x48bfe4
mov ecx, dword [ebp - 0x14]
call fcn.004b78c0
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 2
call dword [0x502f10]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call dword [0x502f14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4935e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f76c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x57af80]
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
mov eax, dword [ebp + 8]
push 0
push eax
mov dword [ebp - 0x18], esi
call dword [0x503850]
push 0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], vtable.VShutdowns.0
mov dword [esi + 8], vtable.VShutdowns.1.0
call dword [0x502b7c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [ebp - 4], 2
call fcn.0040aac0
push 0x14
mov dword [esi + 0x2c], eax
call fcn.004df156
add esp, 4
test eax, eax
je 0x493679
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
jmp 0x49367b
xor eax, eax
push esi
lea ecx, [esi + 0x18]
mov dword [esi + 0x30], eax
call dword [0x502b74]
mov ecx, dword [esi + 0x30]
push esi
call fcn.004612a0
push 1
mov ecx, esi
call dword [0x503e10]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call dword [0x5037b0]
mov edx, dword [ebp - 0x14]
mov ecx, esi
and edx, 0xfffeffff
push edx
mov dword [ebp - 0x14], edx
call dword [0x504984]
mov ecx, esi
call fcn.00493b60
push 0x10
lea ecx, [esi + 0x18]
call dword [0x502b88]
mov eax, esi
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.004df262
mov esp, ebp
pop ebp
ret 4
Function at 0x4a3080
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f943f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57af80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push 0xa001003
push eax
mov dword [ebp - 0x14], ebx
call dword [0x503850]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.VRemoteShutdown.0
mov dword [ebx + 8], vtable.VRemoteShutdown.1.0
call fcn.0040aac0
push ebx
lea ecx, [ebx + 0x18]
mov dword [ebx + 0x60], eax
call fcn.004a4a80
mov ecx, dword [ebx + 0x30]
mov esi, dword [0x503744]
push 0x1ff
call esi
mov ecx, dword [ebx + 0x2c]
push 0x1ff
call esi
mov edi, dword [0x502e18]
lea eax, [ebp - 0x10]
push 0
push str.1OnOk__
push ebx
push str.2clicked__
push dword [ebx + 0x58]
push eax
call edi
add esp, 0x18
mov ecx, eax
mov byte [ebp - 4], 1
call dword [0x5024dc]
mov esi, dword [0x502e24]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call esi
push 0
push str.1OnCancel__
push ebx
push str.2clicked__
push dword [ebx + 0x5c]
lea eax, [ebp - 0x10]
push eax
call edi
add esp, 0x18
mov ecx, eax
mov byte [ebp - 4], 2
call dword [0x5024dc]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call esi
push 0
push str.1UpdateControls__int__
push ebx
push str.2stateChanged__int__
push dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
push eax
call edi
add esp, 0x18
mov ecx, eax
mov byte [ebp - 4], 3
call dword [0x5024dc]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call esi
push 0x10
call fcn.004df156
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x4a31c0
push ebx
push 0x12cc0300
push 1
mov ecx, esi
call dword [0x503380]
mov dword [esi], vtable.QIntValidator.0
jmp 0x4a31c2
xor esi, esi
mov ecx, dword [ebx + 0x3c]
push esi
mov byte [ebp - 4], 0
call dword [0x503848]
mov eax, ebx
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 0x4ba6f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push edi
mov edi, ecx
push edi
mov ecx, dword [edi + 0x18]
call fcn.0049f510
mov ecx, dword [edi + 0x18]
mov esi, dword [0x5040ec]
push 2
mov ecx, dword [ecx + 0xc]
call esi
mov ecx, dword [edi + 0x18]
push 1
mov ecx, dword [ecx + 0xc]
call esi
mov ecx, dword [edi + 0x18]
push 0
mov ecx, dword [ecx + 0xc]
call esi
mov ecx, dword [edi + 0x18]
push dword [edi + 0x20]
mov ecx, dword [ecx + 8]
call dword [0x5042c8]
pop edi
pop esi
ret
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4ba7e1
mov eax, dword [ebp + 0x10]
cmp eax, 0xb
ja case.default.0x4ba70a
jmp dword [eax*4 + 0x4ba80c]
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.004ba5e0
mov ecx, dword [ebp + 8]
pop ebp
jmp 0x49dfa0
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, esp
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
call fcn.0049df90
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
push dword [eax]
call fcn.004a3020
pop ebp
ret
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.0049e6d0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
movzx eax, byte [eax]
push eax
call fcn.0049f430
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
movzx eax, byte [eax]
push eax
call fcn.0049f500
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
movzx eax, byte [eax]
push eax
call fcn.0049ef30
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
movzx eax, byte [eax]
push eax
call fcn.0049f070
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
movzx eax, byte [eax]
push eax
call fcn.0049f2f0
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
movzx eax, byte [eax]
push eax
call fcn.0049f1b0
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
movzx eax, byte [eax]
push eax
call fcn.0049e510
pop ebp
ret
cmp eax, 0xa
jne case.default.0x4ba70a
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
cmp ecx, fcn.004ba5e0
jne case.default.0x4ba70a
test ecx, ecx
je 0x4ba802
cmp dword [eax + 4], 0
jne case.default.0x4ba70a
mov dword [edx], 0
pop ebp
ret
Function at 0x401760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push edx
push ecx
mov esi, dword [ebp + 0xc]
sub eax, eax
test esi, esi
je 0x401821
call fcn.00401866
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
not eax
test ecx, ecx
je 0x40181f
test esi, 3
je 0x4017a3
xor al, byte [esi]
inc esi
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40178c
mov edx, ecx
shr ecx, 3
je 0x401805
lea ebx, [ebx]
xor eax, dword [esi]
add esi, 4
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x4017b0
mov ecx, edx
and ecx, 7
je 0x40181f
lea esp, [esp]
xor al, byte [esi]
inc esi
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x401810
not eax
pop ecx
pop edx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x403375
Capabilities:
Terminate process

Disassembly:
push edi
xor edi, edi
cmp dword [0x426928], edi
jne 0x403394
cmp dword [0x41a140], edi
jg 0x403399
dec dword [0x41a140]
mov dword [0x426874], edi
or eax, 0xffffffff
pop edi
ret
cmp dword [0x426874], edi
push esi
jg 0x40340f
mov esi, 0x2000
push esi
push dword [0x42686c]
push dword [0x426890]
call fcn.0041068d
add esp, 0xc
cmp eax, edi
mov dword [0x426874], eax
jne 0x4033d0
mov dword [0x426874], edi
or eax, 0xffffffff
jmp 0x403425
jge 0x4033fa
push 0x401
mov esi, str.error:__zipfile_read_error_n
push esi
call fcn.00409230
pop ecx
push eax
push esi
push 0x41a0a0
call dword [int.00426aa0]
add esp, 0x10
push 3
call fcn.0040977a
mov eax, dword [0x42686c]
add dword [0x426898], esi
mov dword [0x426870], eax
call fcn.0040327a
mov eax, dword [0x426870]
dec dword [0x426874]
mov al, byte [eax]
inc dword [0x426870]
movzx eax, al
pop esi
pop edi
ret
Function at 0x406d88
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x24
push esi
push dword [0x426950]
call fcn.0040a5ea
xor esi, esi
cmp dword [0x41a0b0], esi
pop ecx
jne 0x406f75
push ebx
push ebp
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
call fcn.00406c77
pop ecx
pop ecx
push esi
push 0x80
push 3
push esi
push 2
push 0x40000000
mov ebp, 0x426968
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x10], eax
mov eax, dword [0x41a860]
mov eax, dword [eax + 0x14]
test al, 0x5f
mov esi, 0x41a864
mov edi, 0x41a0a0
je 0x406e28
and eax, 0x7f
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x406e28
push 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nwarning___d_:_could_not_set_file_attributes_n
push esi
call fcn.00408233
add esp, 0xc
push eax
push esi
push edi
call dword [int.00426aa0]
add esp, 0x10
mov ecx, dword [0x4268a0]
test ecx, ecx
je 0x406edc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
movzx eax, word [0x4268c0]
call fcn.00406bee
test eax, eax
pop ecx
pop ecx
je 0x406edc
mov eax, dword [0x41a860]
push dword [eax + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.0040627f
cmp eax, 0x4f
pop ecx
pop ecx
jne 0x406edc
cmp dword [0x41a0d4], 0
je 0x406eb2
push 1
push 0x41e864
push ebp
call fcn.00401aa5
push eax
push 0x414b84
push esi
call fcn.00408233
add esp, 0x14
push eax
push esi
push edi
call dword [int.00426aa0]
add esp, 0x10
cmp dword [0x41a0d4], 0
mov eax, 0x414b78
jne 0x406eb7
mov eax, 0x4144c7
push 1
push eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff5
push eax
push str._compressed_WinNT_security_data_missing___d_bytes__s
push esi
call fcn.00408233
add esp, 0x10
push eax
push esi
push edi
call dword [int.00426aa0]
add esp, 0x10
cmp dword [esp + 0x10], 0xffffffff
jne 0x406f08
push 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nCreateFile___error__d_when_trying_set_file_time_n
push esi
call fcn.00408233
add esp, 0xc
push eax
push esi
push edi
call dword [int.00426aa0]
add esp, 0x10
jmp 0x406f72
test ebx, ebx
je 0x406f68
mov eax, ebx
and al, 1
neg al
lea ecx, [esp + 0x1c]
sbb eax, eax
and eax, ecx
push eax
mov eax, ebx
and al, 2
neg al
lea ecx, [esp + 0x28]
sbb eax, eax
and eax, ecx
and bl, 4
neg bl
push eax
lea eax, [esp + 0x34]
sbb ebx, ebx
and ebx, eax
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x406f68
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._nSetFileTime_failed:__d_n
push esi
call fcn.00408233
add esp, 0xc
push eax
push esi
push edi
call dword [int.00426aa0]
add esp, 0x10
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x24
ret
Function at 0x40cb2f
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x1505
jmp 0x40cb50
lea eax, [ecx - 0x61]
cmp eax, 0x19
ja 0x40cb48
and ecx, 0xffffffdf
imul edx, edx, 0x21
xor edx, ecx
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
jne 0x40cb3d
mov eax, dword [ebp + 0x10]
movzx ecx, dl
mov edx, ecx
shr edx, 5
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
xor edx, edx
and ecx, 0x1f
inc edx
shl edx, cl
pop esi
mov dword [eax], edx
pop ebp
ret 0x10

Function at 0x4013c0
Capabilities:
Create process on windows

Disassembly:
mov al, byte [0x40c030]
mov edx, dword [esp + 4]
sub esp, 0x54
test al, al
je 0x4013d4
test edx, edx
je 0x40143a
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
lea ecx, [esp + 4]
mov dword [esp + 8], eax
push ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x40143a
mov ecx, dword [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 4]
push edx
call esi
mov al, 1
pop esi
add esp, 0x54
ret
xor al, al
add esp, 0x54
ret

Function at 0x40328d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40c540
cmp edx, dword [eax]
je 0x4032af
add eax, 8
inc ecx
cmp eax, 0x40c5d0
jl 0x4032a0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40c540]
jne 0x4033dd
mov eax, dword [0x40d090]
cmp eax, 1
je 0x4033b7
test eax, eax
jne 0x4032e0
cmp dword [0x40c044], 1
je 0x4033b7
cmp edx, 0xfc
je 0x4033dd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403317
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405280
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405180
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40335a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405180
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40a49c
push edi
call fcn.00405040
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405280
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405290
lea eax, [ebp - 0xa0]
push 0x40a47c
push eax
call fcn.00405290
push dword [esi + 0x40c544]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405290
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004066d5
add esp, 0x2c
pop edi
jmp 0x4033dd
lea eax, [ebp + 8]
lea esi, [esi + 0x40c544]
push 0
push eax
push dword [esi]
call fcn.00405180
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100012c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10015334], eax
push ebx
push esi
push edi
test eax, eax
je 0x10001309
mov esi, dword [eax]
test esi, esi
je 0x10001309
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x10015334]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0x10001290
push 0xe
push 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 1
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
test eax, eax
jne 0x10001358
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3b02
je 0x10001358
mov ebx, dword [ebp - 0x214]
xor edi, edi
jmp 0x10001364
mov ebx, dword [ebp - 0x20c]
mov edi, dword [ebp - 0x210]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000139e
push 0
push 0
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100013b8
mov esp, ebp
pop ebp
ret
Function at 0x1000735a
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 0x100073f7
push ebx
push esi
call fcn.10007323
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.1000726c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100073a4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100073f6
push edi
push eax
call fcn.10005429
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100073c4
call fcn.100053ef
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100073f5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000726c
add esp, 0x20
test eax, eax
jne 0x100073e3
push edi
call fcn.100053ef
jmp 0x100073eb
push ebx
call fcn.100053ef
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 0x10007662
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f4b0
push 0x1000f4a8
push str.FlsAlloc
push 0x1e
call fcn.10007580
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007696
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e124]
call esi
jmp 0x1000769c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100076e0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f4c0
push 0x1000f4b8
push str.FlsGetValue
push 0x20
call fcn.10007580
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007717
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e124]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1000cd70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000cd9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000cd9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret