joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d666
Capabilities:
Get user security identifier

Disassembly:
push 0xd4
mov eax, 0x10012569
call fcn.10011eac
mov esi, ecx
mov edi, dword [ebp + 8]
call fcn.1000b849
test edi, edi
je 0x1000d7be
and dword [ebp - 0xd8], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0xd8]
push 0x100
call fcn.1000e3ad
mov ebx, dword [ebp - 0xd8]
lea eax, [esi + 0x4c]
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xdc], 0x44
push eax
push ebx
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xe0], 0x80
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x1000d741
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000d79a
cmp dword [ebp - 0xdc], 0x44
ja 0x1000d7c8
mov eax, dword [ebp - 0xe0]
cmp eax, 0x80
jbe 0x1000d71d
add eax, eax
lea ecx, [ebp - 0xd8]
push eax
call fcn.1000e2f0
mov ebx, dword [ebp - 0xd8]
lea eax, [esi + 0x4c]
push eax
lea eax, [ebp - 0xe0]
push eax
push ebx
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x1000d79a
lea eax, [ebp - 0x54]
mov byte [esi + 0x48], 1
push eax
lea eax, [esi + 4]
push eax
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x1000d79a
push ebx
lea ecx, [esi + 0x54]
call fcn.1000b302
push edi
lea ecx, [esi + 0x50]
call fcn.1000b302
push 0
lea ecx, [esi + 0x5c]
call fcn.1000b302
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
cmp dword [ebp - 0xd8], ecx
je 0x1000d796
lea ecx, [ebp - 0xd8]
call fcn.1000e378
mov al, 1
jmp 0x1000d7c0
mov ecx, esi
call fcn.1000b849
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xd8], eax
je 0x1000d7be
lea ecx, [ebp - 0xd8]
call fcn.1000e378
xor al, al
call fcn.10011e5b
ret 8
mov ecx, 0x80004005
call fcn.100034cf
int3
Function at 0x1000db92
Capabilities:
Get session user name

Disassembly:
push 0x6c
mov eax, 0x100125b4
call fcn.10011eac
mov edi, edx
mov ebx, ecx
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000dbcd
test byte [eax + 0x1c], 1
je 0x1000dbcd
cmp byte [eax + 0x19], 5
jb 0x1000dbcd
push dword [eax + 0x14]
mov edx, 0x10002270
push dword [eax + 0x10]
push 0x12
pop ecx
call fcn.10002ea3
lea eax, [ebp - 0x78]
mov ecx, 0x7fff
push eax
mov dword [ebp - 0x78], ecx
push ecx
mov ecx, edi
call fcn.1000b21b
push eax
push 2
call dword [sym.imp.SspiCli.dll_GetUserNameExW]
movzx esi, al
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000dc19
test byte [eax + 0x1c], 2
je 0x1000dc19
cmp byte [eax + 0x19], 4
jb 0x1000dc19
push esi
push dword [eax + 0x14]
mov edx, 0x10002270
push dword [eax + 0x10]
push 0x13
pop ecx
call fcn.10002ec1
mov ecx, dword [edi]
call fcn.1000b2ee
push eax
mov ecx, edi
call fcn.1000b248
lea ecx, [ebp - 0x74]
call fcn.1000b7a1
and dword [ebp - 4], 0
cmp esi, 1
jne 0x1000dca4
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000dc66
test byte [eax + 0x1c], 2
je 0x1000dc66
cmp byte [eax + 0x19], 4
jb 0x1000dc66
push dword [edi]
mov edx, 0x10002270
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
pop ecx
call fcn.10003c21
push ecx
push dword [edi]
lea ecx, [ebp - 0x74]
call fcn.1000d666
movzx esi, al
mov eax, dword [0x10014024]
mov edi, 0x10014024
cmp eax, edi
je 0x1000dcae
test byte [eax + 0x1c], 2
je 0x1000dcae
cmp byte [eax + 0x19], 4
jb 0x1000dcae
push esi
push dword [eax + 0x14]
mov edx, 0x10002270
push dword [eax + 0x10]
push 0x15
pop ecx
call fcn.10002ec1
jmp 0x1000dca9
mov edi, 0x10014024
mov eax, dword [0x10014024]
cmp esi, 1
jne 0x1000dcf2
lea ecx, [ebp - 0x74]
call fcn.1000d7d3
push eax
mov ecx, ebx
call fcn.1000b302
mov eax, dword [0x10014024]
cmp eax, edi
je 0x1000dd16
test byte [eax + 0x1c], 2
je 0x1000dcf2
cmp byte [eax + 0x19], 4
jb 0x1000dcf2
push dword [ebx]
mov edx, 0x10002270
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
pop ecx
call fcn.10003c21
mov eax, dword [0x10014024]
cmp eax, edi
je 0x1000dd16
test byte [eax + 0x1c], 1
je 0x1000dd16
cmp byte [eax + 0x19], 5
jb 0x1000dd16
push esi
push dword [eax + 0x14]
mov edx, 0x10002270
push dword [eax + 0x10]
push 0x17
pop ecx
call fcn.10002ec1
lea ecx, [ebp - 0x74]
call fcn.1000b811
mov eax, esi
call fcn.10011e5b
ret
Function at 0x1000e481
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x100141a8]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x14]
push esi
push edi
push eax
mov edi, ecx
xor ecx, ecx
push 0x2001f
push ecx
push ebx
push dword [edi]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1000e565
cmp dword [esp + 0xc], esi
je 0x1000e4e7
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
test esi, esi
jne 0x1000e565
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
push esi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push esi
push eax
jmp 0x1000e534
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.1000e481
mov esi, eax
test esi, esi
jne 0x1000e565
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
mov dword [esp + 0x38], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1000e509
cmp dword [esp + 0xc], 0
je 0x1000e55b
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push ebx
mov ecx, edi
call fcn.1000e3d5
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x1000e576
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10011470
mov esp, ebp
pop ebp
ret 4

Function at 0x1000e58f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000e5fc
cmp dword [ebp - 4], 1
je 0x1000e5d4
cmp dword [ebp - 4], 2
je 0x1000e5d4
push 0xd
pop eax
jmp 0x1000e5fc
mov ecx, dword [ebp - 8]
test esi, esi
je 0x1000e5f6
test ecx, ecx
je 0x1000e5f1
test cl, 1
jne 0x1000e5cf
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x1000e5f6
jmp 0x1000e5cf
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000e720
Capabilities:
Query service status

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100141a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [0x10014024]
mov edi, 0x10014024
cmp eax, edi
je 0x1000e75e
test byte [eax + 0x1c], 1
je 0x1000e75e
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0xf
pop ecx
call fcn.10002ea3
xor esi, esi
mov ecx, ebx
push esi
call fcn.10003014
mov ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [0x10014024]
cmp eax, edi
je 0x1000e796
test byte [eax + 0x1c], 2
je 0x1000e796
cmp byte [eax + 0x19], 4
jb 0x1000e796
push ecx
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x10
pop ecx
call fcn.10002ec1
push 9
xor eax, eax
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x2c], 1
pop ecx
rep stosd dword es:[edi], eax
jne 0x1000e823
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push esi
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_service_management_l2_1_0.dll_QueryServiceStatusEx]
cmp eax, 1
je 0x1000e7f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000e823
test byte [eax + 0x1c], 2
je 0x1000e823
cmp byte [eax + 0x19], 4
jb 0x1000e823
push ecx
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x11
pop ecx
call fcn.10002ec1
jmp 0x1000e823
mov esi, dword [ebp - 0x24]
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000e823
test byte [eax + 0x1c], 2
je 0x1000e823
cmp byte [eax + 0x19], 4
jb 0x1000e823
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x12
pop ecx
call fcn.10002ea3
mov ecx, ebx
call fcn.1000ec9f
mov ecx, dword [0x10014024]
cmp ecx, 0x10014024
je 0x1000e858
test byte [ecx + 0x1c], 1
je 0x1000e858
cmp byte [ecx + 0x19], 5
jb 0x1000e858
push esi
push dword [ecx + 0x14]
mov edx, 0x10002280
push dword [ecx + 0x10]
push 0x13
pop ecx
call fcn.10002ec1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003014
mov esp, ebp
pop ebp
ret
Function at 0x1000e86b
Capabilities:
Start service

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [0x10014024]
mov ebx, 0x10014024
cmp eax, ebx
je 0x1000e899
test byte [eax + 0x1c], 1
je 0x1000e899
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x20
pop ecx
call fcn.10002ea3
push 0
mov ecx, edi
call fcn.10003014
mov esi, eax
mov eax, dword [0x10014024]
cmp eax, ebx
je 0x1000e8cd
test byte [eax + 0x1c], 2
je 0x1000e8cd
cmp byte [eax + 0x19], 4
jb 0x1000e8cd
push esi
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x21
pop ecx
call fcn.10002ec1
cmp esi, 1
jne 0x1000e916
push 0
push 0
push dword [edi + 8]
call dword [sym.imp.api_ms_win_service_management_l1_1_0.dll_StartServiceW]
mov esi, eax
cmp esi, 1
je 0x1000e916
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x10014024]
cmp ecx, ebx
je 0x1000e916
test byte [ecx + 0x1c], 2
je 0x1000e916
cmp byte [ecx + 0x19], 4
jb 0x1000e916
push eax
push dword [ecx + 0x14]
mov edx, 0x10002280
push dword [ecx + 0x10]
push 0x22
pop ecx
call fcn.10002ec1
mov ecx, edi
call fcn.1000ec9f
mov eax, dword [0x10014024]
cmp eax, ebx
je 0x1000e946
test byte [eax + 0x1c], 1
je 0x1000e946
cmp byte [eax + 0x19], 5
jb 0x1000e946
push esi
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x23
pop ecx
call fcn.10002ec1
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x1000e94c
Capabilities:
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100141a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [0x10014024]
mov ebx, 0x10014024
cmp eax, ebx
je 0x1000e98a
test byte [eax + 0x1c], 1
je 0x1000e98a
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x2a
pop ecx
call fcn.10002ea3
push 0
mov ecx, edi
call fcn.1000ea51
mov esi, eax
mov eax, dword [0x10014024]
cmp eax, ebx
je 0x1000e9be
test byte [eax + 0x1c], 2
je 0x1000e9be
cmp byte [eax + 0x19], 4
jb 0x1000e9be
push esi
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x2b
pop ecx
call fcn.10002ec1
cmp esi, 1
jne 0x1000ea0c
lea eax, [ebp - 0x20]
push eax
push 0x9d
push dword [edi + 8]
call dword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
mov esi, eax
cmp esi, 1
je 0x1000ea0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x10014024]
cmp edx, ebx
je 0x1000ea0c
test byte [edx + 0x1c], 2
je 0x1000ea0c
cmp byte [edx + 0x19], 4
jb 0x1000ea0c
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x10002280
push 0x2c
pop ecx
call fcn.10002ec1
mov ecx, edi
call fcn.1000ec9f
mov eax, dword [0x10014024]
cmp eax, ebx
je 0x1000ea3c
test byte [eax + 0x1c], 1
je 0x1000ea3c
cmp byte [eax + 0x19], 5
jb 0x1000ea3c
push esi
push dword [eax + 0x14]
mov edx, 0x10002280
push dword [eax + 0x10]
push 0x2d
pop ecx
call fcn.10002ec1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011470
mov esp, ebp
pop ebp
ret 4
Function at 0x10011850
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 0x1001188e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10011886
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10011890
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10011876
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10011960
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 0x10011976
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10011991
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
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 0x11847058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.118471a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1184707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1184706a
add dl, dl
jne 0x11847089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x118470dc
xor eax, eax
add dl, dl
jne 0x11847096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1184717d
add dl, dl
jne 0x118470a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x118470b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x118470bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x118470c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x118470d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x11847075
mov eax, 1
add dl, dl
jne 0x118470ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x118470f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x118470e1
sub eax, ebx
mov ebx, 1
jne 0x11847128
mov ecx, 1
add dl, dl
jne 0x1184710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11847119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11847105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11847075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1184713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1184714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11847136
cmp eax, 0x7d00
jae 0x1184716d
cmp eax, 0x500
jb 0x11847168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11847075
cmp eax, 0x7f
ja 0x11847170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11847075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1184719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x11847075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10001070
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1004002c]
push eax
call fcn.10019b60
add esp, 4
mov ecx, 0x10040cfc
call fcn.1001cd00
cmp eax, 1
jne 0x10001098
mov eax, 1
jmp 0x100010ce
push 0x10036160
mov ecx, 0x10040cfc
call fcn.1001c7b0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100010b7
push 1
call fcn.100270d6
mov ecx, dword [ebp + 0x14]
push ecx
push 0x10036174
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x10019b60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034dd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push 0x10036238
lea ecx, [ebp - 0x24]
call fcn.100017d0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x20
je 0x10019bcd
push 0x1003623c
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.100011e0
add esp, 0xc
mov byte [ebp - 4], 1
push 1
call fcn.100270d6
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x24]
call fcn.10001ee0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10001cb0
lea ecx, [ebp - 0x24]
call fcn.10019a10
lea ecx, [ebp - 0x24]
call fcn.10002590
push eax
call fcn.10001270
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10001cb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001d1a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003502d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x40]
call fcn.10001a30
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.10001c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10001de0
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x28]
call fcn.10001e00
mov eax, dword [ebp - 0x10]
push eax
call fcn.10027314
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x40]
call fcn.10002920
push eax
lea ecx, [ebp - 0x40]
call fcn.10002590
push eax
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.1001d6d0
add esp, 0x10
test eax, eax
je 0x1001d248
push str.uncompress_failed
call fcn.10002ab0
add esp, 4
push 1
call fcn.100270d6
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
je 0x1001d264
push str.if__origSize___out_len_
call fcn.10002ab0
add esp, 4
push 1
call fcn.100270d6
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x6c]
call fcn.100196c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.100272f9
add esp, 4
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1001ab60
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.1001ae10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10001cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10001cb0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001d2e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035055
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
push str.ababc1ab
lea ecx, [ebp - 0x48]
call fcn.100017d0
mov dword [ebp - 4], 0
push 0x100362f4
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.100011e0
add esp, 0xc
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x1001d371
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001cb0
jmp 0x1001d40d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x4550
je 0x1001d3a5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001cb0
jmp 0x1001d40d
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x1001d3d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001cb0
jmp 0x1001d40d
lea ecx, [ebp - 0x30]
call fcn.10019a10
lea ecx, [ebp - 0x30]
call fcn.10002590
push eax
call fcn.10001270
add esp, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001cb0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x404405
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
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 ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004024d1
mov dword [ebp - 0x14], eax
cmp dword [0x411f08], esi
jne 0x4044f8
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x404485
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4045d8
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4045d8
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4045d8
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x411f08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x411f0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x411f10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x411f18], eax
test eax, eax
je 0x4044f5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x411f14], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40451d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x404510
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x404532
push 4
pop eax
jmp 0x4045da
cmp dword [ebp - 0x14], esi
je 0x404532
push dword [0x411f08]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x404517
mov eax, dword [0x411f14]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x404590
cmp dword [0x411f18], edi
je 0x404590
push eax
call ebx
push dword [0x411f18]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x404590
test eax, eax
je 0x404590
call ecx
test eax, eax
je 0x404585
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x404585
test byte [ebp - 8], 1
jne 0x404590
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4045c0
mov eax, dword [0x411f0c]
cmp eax, edi
je 0x4045bd
push eax
call ebx
test eax, eax
je 0x4045bd
call eax
mov esi, eax
test esi, esi
je 0x4045bd
mov eax, dword [0x411f10]
cmp eax, edi
je 0x4045bd
push eax
call ebx
test eax, eax
je 0x4045bd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x411f08]
call ebx
test eax, eax
je 0x4045d8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4045da
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401005
mov esp, ebp
pop ebp
ret