joyce8/EMBER2024-capa huggingface dataset:
Function at 0x713eed
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x8e6704]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x802958
push esi
call fcn.0071fcdc
pop ecx
pop ecx
test eax, eax
jne 0x713f1b
xor al, al
jmp 0x713f98
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.00713bf1
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x713f55
push dword [ebp - 0x210]
call fcn.00703abc
xor al, al
jmp 0x713f96
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x713f5b
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x713f7b
push edx
call fcn.00713e23
pop ecx
test al, al
je 0x713f46
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x713f89
mov bl, 1
push dword [ebp - 0x210]
call fcn.00703abc
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.006f384a
leave
ret

Function at 0x71d57d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x80410c
push 0x804104
push str.FlsAlloc
push 0x1e
call fcn.0071d3aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x71d5b1
push dword [ebp + 8]
mov ecx, esi
call dword [0x74863c]
call esi
jmp 0x71d5b7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x71d5fb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x80411c
push 0x804114
push str.FlsGetValue
push 0x20
call fcn.0071d3aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x71d632
push dword [ebp + 8]
mov ecx, esi
call dword [0x74863c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x71df4c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0071ddbd
Function at 0x71e994
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0071e910
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x71eb0c
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x71eb0c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x71eabb
jg 0x71e9ed
test eax, eax
je 0x71eab1
push 1
push 0x1000
call fcn.0071c27b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x71ea13
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x71eaa8
push 0x8000
push ebx
call fcn.0071492d
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x71ea3f
jg 0x71ea3a
cmp ecx, 0x1000
jb 0x71ea3f
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00709699
add esp, 0x10
cmp eax, 0xffffffff
je 0x71ea84
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x71ea3a
jl 0x71ea6b
test ecx, ecx
jne 0x71ea2c
push dword [ebp - 0xc]
push ebx
call fcn.0071492d
push esi
call fcn.0071ad90
add esp, 0xc
xor edi, edi
jmp 0x71eb1d
cmp byte [edi + 0x24], 0
je 0x71ea9b
cmp dword [edi + 0x20], 5
jne 0x71ea9b
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x71eaa6
mov edi, dword [edi + 0x18]
jmp 0x71eaa8
xor edi, edi
push esi
call fcn.0071ad90
pop ecx
jmp 0x71eb1d
test ecx, ecx
jg 0x71ea7d
jl 0x71eabb
test eax, eax
jae 0x71ea7d
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00709aa0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x71eade
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x71ea7d
jmp 0x71eb15
push ebx
call fcn.0070fb3b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x71ea7d
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x71eb1d
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x71eb1a
mov edi, dword [edi + 0x18]
jmp 0x71eb1d
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00709aa0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x721b83
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x8e6704]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x721bce
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00721d22
test al, al
jne 0x721bc8
sub edx, 2
cmp edx, edi
jne 0x721bae
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x721bf0
lea eax, [edi + 2]
cmp edx, eax
je 0x721bf0
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00721acf
add esp, 0x10
jmp 0x721cea
push esi
lea ecx, [ebp - 0x255]
call fcn.00721d22
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x721c33
push dword [ebp - 0x25c]
jmp 0x721be0
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x721c70
cmp word [ebp - 0x226], 0
je 0x721c91
cmp word [ebp - 0x226], ax
jne 0x721c70
cmp word [ebp - 0x224], 0
je 0x721c91
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00721acf
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x721cdd
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x721c4a
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x721cc5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x721cea
push 0x7218ff
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00710f50
add esp, 0x10
jmp 0x721cba
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006f384a
leave
ret
Function at 0x7225f5
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 0x722692
push ebx
push esi
call fcn.007225be
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.0071e6d1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x72263f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x722691
push edi
push eax
call fcn.0071adca
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x72265f
call fcn.0071ad90
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x722690
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0071e6d1
add esp, 0x20
test eax, eax
jne 0x72267e
push edi
call fcn.0071ad90
jmp 0x722686
push ebx
call fcn.0071ad90
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 0x722695
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x7226a6
pop esi
ret
push ebx
push edi
push esi
call fcn.007225be
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0071adca
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x7226ce
push ebx
push esi
push edi
call fcn.006f45d0
add esp, 0xc
push 0
call fcn.0071ad90
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x722e1a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00722941
Function at 0x72e4f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00705b2a
add esp, 0x10
pop ebp
ret 8
Function at 0x405282
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push str.WinMain_start__lpCmdLine_is:
call esi
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x14], edi
jne 0x4052a2
mov eax, str.NULL
push eax
call esi
push str.WinMain_start__parameter_is:
call esi
push str.package.nameZoom.msipackage.versionlatestpackage.size9958kdownloadRoothttps:__launcher.zoom.us_clientactionjoinbrowserchromeconfiddGlkPU8yT3lSUUczUlNtWGtDTXVZSFhPYWc_3Dconfno575965234zc0mcv0.92.11227.0929stafalseinstaller.exeInstaller.exe
call esi
push 0x444
call fcn.00407475
pop ecx
cmp eax, edi
je 0x4052ce
mov edx, dword [esp + 0xc]
push eax
call fcn.0040538c
jmp 0x4052d0
xor eax, eax
push str.zoom.us_Downloader_Mutex_1.0.0.0
push edi
push 0x1f0001
mov dword [0x41ddb8], eax
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, edi
je 0x4052f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4052fc
call fcn.00406405
test eax, eax
jne 0x40531c
push edi
push str.zoom.us_Boot_Downloader
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x405341
push edi
push edi
push 0x7e9
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x405341
mov ecx, dword [esp + 0x14]
call fcn.004057bb
mov eax, dword [0x41ddb8]
cmp eax, edi
je 0x405334
push eax
call fcn.00405348
push str.WinMain_end
mov dword [0x41ddb8], edi
call esi
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x402439
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 0x402498
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x402490
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 0x402490
mov eax, dword [ebp - 4]
jmp 0x4024ac
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 0x40246d
mov eax, 0
leave
ret

Function at 0x1001e34
Capabilities:
Parse pe header

Disassembly:
push 0x60
push 0x10011e0
call fcn.01002c88
mov edi, 0x94
mov eax, edi
call 0x1002df0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x10010a8]
mov ecx, dword [esi + 0x10]
mov dword [0x10062b8], ecx
mov eax, dword [esi + 4]
mov dword [0x10062c4], eax
mov edx, dword [esi + 8]
mov dword [0x10062c8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x10062bc], esi
cmp ecx, 2
je 0x1001e94
or esi, 0x8000
mov dword [0x10062bc], esi
shl eax, 8
add eax, edx
mov dword [0x10062c0], eax
cmp word [0x1000000], 0x5a4d
jne 0x1001ed0
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x1001ed0
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x1001ee9
cmp ecx, 0x20b
je 0x1001ed6
and dword [ebp - 0x1c], 0
jmp 0x1001efd
cmp dword [eax + 0x84], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x1001ef7
cmp dword [eax + 0x74], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.01002c2a
pop ecx
test eax, eax
jne 0x1001f2a
cmp dword [0x10062a8], 1
jne 0x1001f17
call fcn.01002406
push 0x1c
call fcn.01002219
push 0xff
call fcn.01002078
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.01002a5a
test eax, eax
jge 0x1001f3f
push 0x1b
call fcn.01001e05
pop ecx
call dword [0x10010ac]
mov dword [0x1006854], eax
call fcn.0100292d
mov dword [0x10062a0], eax
call fcn.01002884
test eax, eax
jge 0x1001f65
push 8
call fcn.01001e05
pop ecx
call fcn.0100262a
test eax, eax
jge 0x1001f76
push 9
call fcn.01001e05
pop ecx
call fcn.010020d2
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1001f89
push eax
call fcn.01001e05
pop ecx
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [0x10010b0]
call fcn.010025bc
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x1001fab
movzx eax, word [ebp - 0x40]
jmp 0x1001fae
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push 0
push 0x1000000
call fcn.01001c3d
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], 0
jne 0x1001fcf
push esi
call fcn.010021b2
call fcn.010021ea
jmp 0x1002001
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x7c]
call 0x1002cc3
ret
Function at 0x10001000
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edx + 0x3c]
sub esp, 8
cmp dword [eax + edx + 0x7c], 0
jne 0x10001036
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + edx + 0x78]
test ecx, ecx
je 0x10001030
mov eax, dword [ecx + edx + 0x1c]
push ebx
mov ebx, dword [ecx + edx + 0x14]
push esi
mov esi, dword [ecx + edx + 0x24]
add esi, edx
push edi
mov edi, dword [ecx + edx + 0x20]
mov dword [ebp - 8], esi
xor esi, esi
add edi, edx
add eax, edx
dec ebx
mov dword [ebp - 4], esi
je 0x100010dc
mov ecx, dword [edi + esi*4]
add ecx, edx
cmp byte [ecx], 0x47
jne 0x100010ba
cmp byte [ecx + 1], 0x65
jne 0x100010ba
cmp byte [ecx + 2], 0x74
jne 0x100010ba
cmp byte [ecx + 3], 0x50
jne 0x100010ba
cmp byte [ecx + 4], 0x72
jne 0x100010ba
cmp byte [ecx + 5], 0x6f
jne 0x100010ba
cmp byte [ecx + 6], 0x63
jne 0x100010ba
cmp byte [ecx + 7], 0x41
jne 0x100010ba
cmp byte [ecx + 8], 0x64
jne 0x100010ba
cmp byte [ecx + 9], 0x64
jne 0x100010ba
cmp byte [ecx + 0xa], 0x72
jne 0x100010ba
cmp byte [ecx + 0xb], 0x65
jne 0x100010ba
cmp byte [ecx + 0xc], 0x73
jne 0x100010ba
cmp byte [ecx + 0xd], 0x73
je 0x100010c9
inc esi
cmp esi, ebx
jb 0x10001062
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
movzx ecx, word [ecx + esi*2]
mov eax, dword [eax + ecx*4]
pop edi
pop esi
add eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100010f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x28], 0x4d746547
mov dword [ebp - 0x24], 0x6c75646f
mov dword [ebp - 0x20], 0x6e614865
mov dword [ebp - 0x1c], 0x41656c64
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x74726956
mov dword [ebp - 0x10], 0x506c6175
mov dword [ebp - 0xc], 0x65746f72
mov word [ebp - 8], 0x7463
mov byte [ebp - 6], 0
call fcn.10001000
mov esi, eax
mov edx, esi
call fcn.10001020
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
push esi
call ebx
lea ecx, [ebp - 0x14]
push ecx
push esi
mov dword [ebp - 0x34], eax
call ebx
push 0
mov esi, eax
call dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
push eax
mov eax, 1
add eax, 2
sub eax, 3
add eax, dword [ebp - 0x38]
xor eax, eax
add eax, dword [ebp - 0x2c]
add eax, 0x1c03
add eax, 0x10a0
mov dword [ebp - 0x2c], eax
pop eax
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x40
push 0x10
push eax
call esi
push ebx
push esi
lea ebx, [0x10001220]
sub ebx, dword [ebp - 0x2c]
sub ebx, 2
sub ebx, 1
add ebx, 1
sub ebx, 1
sub ebx, 2
mov esi, dword [ebp - 0x2c]
mov al, 0xe9
mov byte ds:[esi], al
inc esi
mov dword [esi], ebx
pop esi
pop ebx
mov ecx, dword [ebp + 8]
lea eax, [edi + ecx]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001463
mov esp, ebp
pop ebp
ret

Function at 0x10001463
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x1000146d
repz ret
jmp fcn.1000172a
Function at 0x1000529a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10001830
and dword [ebp - 0x14], 0
cmp dword [0x10009784], 0
mov dword [ebp - 0x18], eax
jne 0x1000534d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100053f5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100053f5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10009784], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10009788], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000978c], eax
call edi
push eax
call esi
mov dword [0x10009794], eax
test eax, eax
je 0x1000534d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10009790], eax
mov eax, dword [0x10009790]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100053a6
cmp dword [0x10009794], ecx
je 0x100053a6
push eax
call esi
push dword [0x10009794]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100053a6
test ebx, ebx
je 0x100053a6
call edi
test eax, eax
je 0x1000539d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000539d
test byte [ebp - 8], 1
jne 0x100053a6
or dword [ebp + 0x10], 0x200000
jmp 0x100053d9
mov eax, dword [0x10009788]
cmp eax, dword [ebp - 0x18]
je 0x100053d9
push eax
call esi
test eax, eax
je 0x100053d9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100053d9
mov eax, dword [0x1000978c]
cmp eax, dword [ebp - 0x18]
je 0x100053d9
push eax
call esi
test eax, eax
je 0x100053d9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10009784]
call esi
test eax, eax
je 0x100053f5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100053f7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001463
leave
ret
Function at 0x1000529c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10001830
and dword [ebp - 0x14], 0
cmp dword [0x10009784], 0
mov dword [ebp - 0x18], eax
jne 0x1000534d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100053f5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100053f5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10009784], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10009788], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000978c], eax
call edi
push eax
call esi
mov dword [0x10009794], eax
test eax, eax
je 0x1000534d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10009790], eax
mov eax, dword [0x10009790]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100053a6
cmp dword [0x10009794], ecx
je 0x100053a6
push eax
call esi
push dword [0x10009794]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100053a6
test ebx, ebx
je 0x100053a6
call edi
test eax, eax
je 0x1000539d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000539d
test byte [ebp - 8], 1
jne 0x100053a6
or dword [ebp + 0x10], 0x200000
jmp 0x100053d9
mov eax, dword [0x10009788]
cmp eax, dword [ebp - 0x18]
je 0x100053d9
push eax
call esi
test eax, eax
je 0x100053d9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100053d9
mov eax, dword [0x1000978c]
cmp eax, dword [ebp - 0x18]
je 0x100053d9
push eax
call esi
test eax, eax
je 0x100053d9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10009784]
call esi
test eax, eax
je 0x100053f5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100053f7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001463
leave
ret
Function at 0x406877
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40689b
xor eax, eax
test eax, eax
je 0x4068ae
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068ae
xor ecx, ecx
jmp 0x4068b1
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069d4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a65ec], 0
push esi
jne 0x406a0b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4069e5
mov dword [ecx*4 + 0x7a65e8], eax
inc ecx
cmp ecx, 0x100
jl 0x4069e0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a3c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a65e8]
xor eax, esi
inc ecx
dec edx
jne 0x406a1e
pop edi
not eax
pop esi
ret 0xc

Function at 0x401800
Capabilities:
Encode data using xor

Disassembly:
push 0x402ebc
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebp + 0x69aa993a], dl
movsd dword es:[edi], dword [esi]
cmc
inc esi
mov word [esi - 0x57d1b0ab], cs
out 0, eax
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax], dh
xor dh, byte [eax]
xor al, 0x33
xor byte [eax + 0x72], dl
outsd dx, dword [esi]
push 0x65
arpl word [ecx + esi], si
xor byte [0x30303043], ch
sub eax, 0
dec esp
xor dword [eax], eax
pop ds
jecxz 0x40184f
add bh, bh
int3
and cl, byte [edi + 0x25]
call 0x4ff7658c
sbb byte [ecx + 0x6d7c744c], bh
and al, 0x2b
add bh, byte [edi]
adc al, 0xd4
jmp 0x70709eb6