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

Disassembly:
cmp ecx, dword [0x10085030]
jne 0x1001f3b6
repz ret
jmp fcn.1001f65d

Function at 0x10020d70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [0x10085004], 0x8e9
mov dword [ebp - 8], 0
mov dword [0x10085000], 0x1ca7
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x10085000]
sub eax, 0x9c8
mov dword [0x10085000], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [0x10085004], 0x1f19
mov dword [ebp - 0x10], 0
jmp 0x10020e62
jmp 0x10020e22
jmp 0x10020f49
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add esp, 0x1c
pop ebp
ret
mov dword [0x10085004], 0x1d6f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
cmp eax, 0
je 0x10020e71
jmp 0x10020e73
mov dword [0x10085004], 0x14b9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
je 0x10020eaf
jmp 0x10020e5d
jmp 0x10020e5d
mov eax, dword [0x10085000]
sub eax, 0x25f8
mov dword [0x10085000], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax]
cmp ecx, 0x6c
je 0x10020f0d
jmp 0x10020dd0
jmp 0x10020f4e
cmp dword [ebp - 0x10], 0x104
jl 0x10020de3
jmp 0x10020e8a
jmp 0x10020e8a
mov dword [0x10085004], 0x2548
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x10020e62
mov dword [0x10085004], 0x5ab
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
je 0x10020e00
jmp 0x10020f4e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x10020e22
mov dword [0x10085000], 0x220d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x10020dce
mov dword [0x10085000], 0x1ea0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx + eax*2 - 0x12]
cmp eax, 0x64
je 0x10020e24
jmp 0x10020f49
mov eax, dword [0x10085000]
sub eax, 0x770
mov dword [0x10085000], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x10020f44
mov dword [0x10085004], 0x310
mov dword [ebp - 4], 1
jmp 0x10020dd5
jmp 0x10020dd0
jmp 0x10020dce
mov dword [ebp - 4], 0
jmp 0x10020dd5
Function at 0x10021210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.10021210]
mov dword [0x10085004], 0x247b
mov dword [ebp - 8], eax
mov dword [0x10085000], 0x99e
jmp 0x1002123e
mov dword [ebp - 4], 0
jmp 0x10021289
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10021267
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax], 0x4550
jne 0x10021265
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10021289
jmp 0x10021267
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x10085004], 0x1961
mov al, 1
test al, 1
jne 0x1002123e
jmp 0x10021235
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret
Function at 0x4012eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x40704c], 1
mov dword [0x407050], 1
mov dword [0x407054], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40132c
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40134f
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401371
cmp eax, 0x20b
je 0x401396
jmp 0x4013c1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401383
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x4013ae
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, 0
leave
ret

Function at 0x401928
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.00402940
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.00402940
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x4024fc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40251b
mov eax, 0
jmp 0x40255f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40253e
mov eax, 0
jmp 0x40255f
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x40255a
mov eax, 0
jmp 0x40255f
mov eax, 1
leave
ret
Function at 0x402561
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x4025c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x4025b8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x4025b8
mov eax, dword [ebp - 4]
jmp 0x4025d4
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x402595
mov eax, 0
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4037e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44394b
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x44f030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x403826
mov eax, dword [eax]
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4038dc
push 0x100
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x118], 0x100
push eax
call fcn.00409bb0
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x40386f
mov esi, dword [esi]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push esi
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4038dc
cmp byte [ebp - 0x110], al
jne 0x4038b4
xor ecx, ecx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, edi
call fcn.00402270
mov bl, 1
jmp 0x4038de
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4038c0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, edi
call fcn.00402270
mov bl, 1
jmp 0x4038de
xor bl, bl
mov ecx, dword [ebp - 0x114]
test ecx, ecx
je 0x4038ef
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004072be
mov esp, ebp
pop ebp
ret
Function at 0x403aa0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4439d6
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x44f030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], edi
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x403ae9
mov eax, dword [eax]
lea ecx, [ebp - 0x134]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403b0e
xor bl, bl
jmp 0x403c48
xor esi, esi
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00409bb0
add esp, 0xc
mov dword [ebp - 0x138], 0x104
lea eax, [ebp - 0x140]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x403c3d
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x12c], al
cmp byte [ebp - 0x114], al
je 0x403b99
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403b90
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00402270
mov edi, dword [edi]
lea eax, [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
push eax
mov byte [ebp - 4], 1
push dword [edi + 4]
push edi
call fcn.00402470
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 4]
sub ecx, eax
cmp ecx, 1
jb 0x403c7c
lea ecx, [eax + 1]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x130]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x403c37
mov ecx, dword [ebp - 0x12c]
inc eax
cmp eax, 0x1000
jb 0x403c2e
test cl, 0x1f
jne 0x403c77
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x403c77
sub ecx, eax
cmp ecx, 4
jb 0x403c77
cmp ecx, 0x23
ja 0x403c77
mov ecx, eax
push ecx
call fcn.004072ab
add esp, 4
mov edi, dword [ebp - 0x130]
inc esi
test ebx, ebx
je 0x403b10
mov bl, 1
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x403c59
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004072be
mov esp, ebp
pop ebp
ret
call fcn.004121f3
push str.list_T__too_long
call fcn.004071d2
int3
Function at 0x404650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443b0b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x44f030]
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, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionStillImageRegistered_Applications
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4046c5
push str.SOFTWAREMicrosoftWindowsCurrentVersionStillImageRegistered_Applications
push str.RegOpenKeyEx___s__Error_r_n
call fcn.00404100
add esp, 8
xor esi, esi
jmp 0x404752
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 0x11c], 0x104
push 0
push eax
call fcn.00409bb0
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x120]
push eax
push 0
push esi
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40471f
push esi
push str.Get_Register_Application___s__Error_r_n
call fcn.00404100
add esp, 8
xor esi, esi
jmp 0x404752
cmp byte [ebp - 0x114], 0
jne 0x40472c
xor ecx, ecx
jmp 0x40473e
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404735
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
call fcn.00402270
mov esi, 1
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x404763
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004072be
mov esp, ebp
pop ebp
ret
Function at 0x406090
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x44f030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x9c
lea eax, [ebp - 0xa0]
mov ebx, 0xa
push 0
push eax
call fcn.00409bb0
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4060f9
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je case.default.0x40615b
mov eax, dword [ebp - 0x90]
cmp eax, 1
jne 0x406140
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x40612a
xor ebx, ebx
cmp eax, 0xa
setne bl
add ebx, 2
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004072be
mov esp, ebp
pop ebp
ret
mov ebx, 1
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004072be
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne case.default.0x40615b
mov eax, dword [ebp - 0x9c]
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x40615b
jmp dword [eax*4 + 0x4061fc]
mov ebx, 5
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004072be
mov esp, ebp
pop ebp
ret
mov ebx, 4
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004072be
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x98]
sub eax, 0
je 0x4061cf
sub eax, 1
je 0x4061b9
sub eax, 1
jne case.default.0x40615b
mov ebx, 8
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004072be
mov esp, ebp
pop ebp
ret
mov ebx, 7
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004072be
mov esp, ebp
pop ebp
ret
mov ebx, 6
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004072be
mov esp, ebp
pop ebp
ret
mov ebx, 9
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004072be
mov esp, ebp
pop ebp
ret
Function at 0x4065b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443e16
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x44f030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
call fcn.00406090
cmp eax, 1
je 0x406660
cmp eax, 4
je 0x406660
cmp eax, 5
je 0x406660
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 0x320], 0
push 0
push eax
call fcn.00409bb0
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str._sti.dll
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004258b9
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x40667e
push str._STI_Error__LoadLibrary_r_n
call fcn.00404100
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004072be
mov esp, ebp
pop ebp
ret
push str.StiCreateInstanceW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x4066ab
push str.StiCreateInstanceW
push str._STI_Error__GetProceAddress___s__r_n
call fcn.00404100
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x406660
push 0
lea eax, [ebp - 0x320]
push eax
push 2
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call edi
test eax, eax
jns 0x406724
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
lea ecx, [ebp - 0x330]
mov dword [ebp - 4], 0
call fcn.00404580
push eax
push str._STI_Error__StiCreateInstance___s__r_n
call fcn.00404100
add esp, 8
lea ecx, [ebp - 0x330]
call fcn.004043b0
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
jmp 0x406662
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0xffffffffffffffff
push ebx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x320]
lea edx, [ebp - 0x31c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jns 0x4067ae
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
lea ecx, [ebp - 0x330]
mov dword [ebp - 4], 1
call fcn.00404580
push eax
push str._STI_Error__UnregisterLaunchApplication___s__r_n
call fcn.00404100
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x330]
call fcn.004043b0
xor edi, edi
jmp 0x4067b3
mov edi, 1
mov eax, dword [ebp - 0x320]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
jmp 0x406662
Function at 0x4156cd
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
sbb byte [esi + 0x23], dh
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4156ef
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x415700
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x41570a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4156e5
xor eax, eax
pop edi
pop esi
ret

Function at 0x41595a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x41597b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0041568d
cwde
push ecx
call 0xc086e7b7
push eax
call fcn.0041569d
push eax

Function at 0x415a58
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041569d
push eax
push esi
push dword [ebp + 8]
call fcn.00415652
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x415b28
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041569d
push eax
push esi
push dword [ebp + 8]
call fcn.00415652
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0041568d
xchg esp, eax
invalid
Function at 0x415d4f
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x415d64
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x415d82
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x415de0
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x415dc7
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x415dd0
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x415dda
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x415dbc
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x415d46
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x415ec8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax - 0x3a]
test dword [edx + 0x51fffffc], esi
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0041569d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00415652
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
add al, 0
add byte [eax], al
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
invalid
test dword [ebp - 4], ecx