joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10044910
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100a89c4], eax
je 0x10044934
mov eax, 0x10dd
jmp 0x10044adc
cmp dword [0x100a89c8], 0
je 0x10044947
mov eax, dword [0x100a89c8]
jmp 0x10044adc
cmp dword [ebp + 0xc], 0
jne 0x10044957
mov eax, 0x57
jmp 0x10044adc
cmp dword [ebp + 8], 0
jne 0x10044967
mov eax, 6
jmp 0x10044adc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10044990
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100a89c8], ecx
mov edx, dword [ebp + 8]
mov dword [0x100a89cc], edx
mov eax, dword [ebp - 8]
jmp 0x10044adc
push 0x18
call fcn.10045fe0
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100449eb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100a89c8], ecx
cmp dword [ebp - 4], 0
je 0x100449da
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10046080
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100a89cc], ecx
mov eax, dword [ebp - 8]
jmp 0x10044adc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.100448f0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100448f0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x10044a2b
cmp dword [ebp - 0xc], 0x1e
jbe 0x10044a47
mov dword [ebp - 8], 9
cmp dword [0x100a89bc], 0
je 0x10044a42
jmp 0x100449b9
jmp 0x100449b0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10044a6e
mov dword [ebp - 8], 9
cmp dword [0x100a89bc], 0
je 0x10044a69
jmp 0x100449b9
jmp 0x100449b0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10044a99
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x100449b0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x100a89d4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100a89d4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10044af0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100a89c4], eax
je 0x10044b0d
mov eax, 0x10dd
jmp 0x10044bf0
mov eax, dword [0x100a89d4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10044b8c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10044b68
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10044b68
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10043990
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10046080
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10044b15
mov dword [0x100a89d4], 0
call fcn.10044270
mov ecx, dword [0x100a89d0]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10044bda
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10046080
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10044ba4
mov dword [0x100a89d0], 0
mov dword [0x100a89c4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100450d0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100a89c8], 0
je 0x100450e9
mov eax, dword [0x100a89c8]
jmp 0x10045188
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x100450fa
xor eax, eax
jmp 0x10045188
push 8
call fcn.10045fe0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10045152
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1004513b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10046080
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100a89c8], eax
mov dword [0x100a89cc], 0
mov eax, dword [ebp - 8]
jmp 0x10045188
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1004516a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1004511a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100a89d0]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100a89d0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1004bda0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.1004b9b0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1004bdd2
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x10085208]
call dword [ebp - 8]
jmp 0x1004bddc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x10068d40
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.100685e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10068d74
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x10085208]
call dword [ebp - 8]
jmp 0x10068d7a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10068dd0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.10068620
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10068e04
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x10085208]
call dword [ebp - 8]
jmp 0x10068e0e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret 4

Function at 0x10068e20
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.10068640
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10068e58
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call dword [0x10085208]
call dword [ebp - 8]
jmp 0x10068e66
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret 8

Function at 0x10068e70
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.100686c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10068eb0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x10085208]
call dword [ebp - 8]
jmp 0x10068ece
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.100690c0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1006d1c0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1006d1e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1005ba90
add esp, 4
or eax, 0xffffffff
jmp 0x1006d1e9
xor eax, eax
pop ebp
ret
Function at 0x10073b10
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.1004d630
lea ecx, [ebp - 4]
call fcn.10073ae0
movzx eax, al
test eax, eax
jne 0x10073b4d
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.10073a20
mov eax, dword [ebp - 0x18]
jmp 0x10073c75
lea ecx, [ebp - 4]
call fcn.1004c330
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10073aa0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.1004c330
push eax
push 0
push 0
call fcn.100715a0
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10073bb3
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.10073a20
mov eax, dword [ebp - 0x20]
jmp 0x10073c75
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10050890
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.10042b10
lea ecx, [ebp - 8]
call fcn.10043190
movzx edx, al
test edx, edx
jne 0x10073bfc
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.10043170
lea ecx, [ebp - 4]
call fcn.10073a20
mov eax, dword [ebp - 0x24]
jmp 0x10073c75
lea ecx, [ebp - 8]
call fcn.10042b80
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.1004c330
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.100715a0
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10073c57
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.10043170
lea ecx, [ebp - 4]
call fcn.10073a20
mov eax, dword [ebp - 0x34]
jmp 0x10073c75
lea ecx, [ebp - 8]
call fcn.1004e150
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.10043170
lea ecx, [ebp - 4]
call fcn.10073a20
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x1007aea0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.10080e80
mov eax, dword [0x100a6040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x100a91e0]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x1007b078
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x1007afc7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x1007afc7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x1007afa5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x1007af29
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1007b031
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x1007b098
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x1007b073
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x1007b098
jmp 0x1007af02
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045fd0
mov esp, ebp
pop ebp
ret
Function at 0x1007b0b0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.10080e80
mov eax, dword [0x100a6040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x100a91e0]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x1007b29b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x1007b1e6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x1007b1e6
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x1007b1c2
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x1007b139
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1007b254
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x1007b2bb
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x1007b296
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x1007b2bb
jmp 0x1007b112
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045fd0
mov esp, ebp
pop ebp
ret
Function at 0x407180
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 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x30e23c8c
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
mov eax, section..pdata
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x284d7061
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x407410
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
and eax, 0
push eax
push eax
push eax
call fcn.0040747c
add eax, 0xfffffffd
clc
imul ax, dx
mov edx, 6
and eax, 0xff
cmp ax, 0xffa7
cld
bnd je 0x40749c
push esp
push 2
call dword [sym.imp.ole32.dll_CoGetMalloc]
mov ecx, ebp
cmp al, 0x57
jne 0x4074dd
mov eax, 0x407497
add eax, edx
push ecx
sub esp, 4
mov dword [esp], eax
push 0
call fcn.004074d2
test eax, eax
jne 0x4074af
jmp 0x4074dd
jmp 0x864b92c
mov eax, 0x8d007746
cmp byte [eax - 0x7e007737], 0xc2
sar ch, 0xff
inc dword [ebx]
add cl, byte [ecx + 0xc8b2602]
and al, 0x83
in al, dx
invalid
add byte [eax], al
add byte [eax], al
fidivr dword [bx + 0x15]
call 0x196f0c3a
inc ebx
hlt
Function at 0x40ab98
Capabilities:
Resolve function by parsing pe exports

Disassembly:
ret
mov dword fs:[eax], esp
clc
nop
nop
cld
jae 0x40ba33
lodsb al, byte [esi]
test dword [eax], eax
push es
invalid
push dword fs:[eax]
clc
nop
nop
cld
jae 0x408c45
add byte [eax], al
xlatb
add byte [eax], al
sti
sbb al, 0x61
lea esp, [esp + eax]
clc
nop
nop
cld
jae 0x40b84f
popfd
popfd
add byte [edx - 0x15ceff7e], dl
je 0x40a708
clc
nop
nop
cld
jae 0x40958e
add byte [eax], ah
add byte [ebx], ch
lodsb al, byte [esi]
mov eax, ebx
clc
nop
nop
cld
jae 0x40adbd
add byte [ecx + ebx - 0x77ffdf28], ch
invalid
xor eax, eax
clc
nop
nop
cld
jae 0x4092d3
aad 0
add byte [edx], bh
insb byte es:[edi], dx
sbb dword [esi + 0xf], 0xffffff84
inc ebx
idiv edi
call dword [ebp - 0x75]
in al, dx
nop
leave
nop
jmp 0x40a680
add eax, dword [eax + 0x3c]
push ebp
pop dword fs:[eax]
push ebp
mov ebp, esp
nop
leave
nop
jmp 0x408bc0
les eax, fs:[eax - 1]
push ebp
mov ebp, esp
nop
leave
nop
jmp 0x409e6f

Function at 0x40b97e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
clc
nop
nop
cld
jae 0x40ad3e
add byte [eax + 0xef6a], cl
add byte [eax], al
out 0x11, al
mov edi, dword [ecx + 0x6572466c]
Function at 0x419350
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ecx]
xor eax, eax
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x419399
push 8
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00489920
add esp, 0xc
inc bl
mov al, bl
pop ebx
leave
ret 4

Function at 0x4193a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ecx]
xor eax, eax
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push ecx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4193e9
push 8
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00489920
add esp, 0xc
inc bl
mov al, bl
pop ebx
leave
ret 4

Function at 0x419409
Capabilities:
Get disk information

Disassembly:
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x419424
cmp eax, 5
je 0x419424
cmp eax, 6
je 0x419424
xor eax, eax
jmp 0x419427
xor eax, eax
inc eax
mov ecx, dword [esp + 4]
mov byte [ecx], al
mov al, 1
ret 4

Function at 0x419950
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x1c
lea eax, [ebp - 0x1c]
push eax
call fcn.00419938
cmp dword [eax + 0x18], 8
jb 0x41996d
mov eax, dword [eax + 4]
jmp 0x419970
add eax, 4
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
dec ebx
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x1c]
inc bl
call fcn.0040321f
mov al, bl
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x1c
lea eax, [ebp - 0x1c]
push eax
call fcn.00419938
cmp dword [eax + 0x18], 8
jb 0x4199af
mov eax, dword [eax + 4]
jmp 0x4199b2
add eax, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0
push 1
lea ecx, [ebp - 0x1c]
mov ebx, eax
call fcn.0040321f
mov ecx, dword [ebp + 0xc]
test bl, 0x10
seta al
mov byte [ecx], al
xor eax, eax
cmp ebx, 0xffffffff
setne al
pop ebx
leave
ret