joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ee40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x88
mov eax, dword [0x1001c048]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
push ebx
mov ebx, dword [esp + 0x94]
push ebp
push edi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
xor edi, edi
mov dword [ebx], edi
cmp ebp, 0xffffffff
je 0x1000efaa
push edi
lea eax, [esp + 0x10]
push eax
push 0x80
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000efa3
push esi
mov esi, dword [sym.imp.MSVCR100.dll_strncmp]
push 6
lea edx, [esp + 0x18]
push str.AC1012
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x1000eed0
lea edi, [eax + 1]
jmp 0x1000efa2
push 6
lea eax, [esp + 0x18]
push str.AC1014
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x1000eeed
lea edi, [eax + 2]
jmp 0x1000efa2
push 6
lea ecx, [esp + 0x18]
push str.AC1015
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x1000ef0a
lea edi, [eax + 3]
jmp 0x1000efa2
push 6
lea edx, [esp + 0x18]
push str.AC1018
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x1000ef24
lea edi, [eax + 4]
jmp 0x1000ef8a
push 6
lea eax, [esp + 0x18]
push str.AC1021
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x1000ef3e
lea edi, [eax + 5]
jmp 0x1000ef8a
push 6
lea ecx, [esp + 0x18]
push str.AC701a
push ecx
call esi
add esp, 0xc
test eax, eax
jne 0x1000ef58
lea edi, [eax + 5]
jmp 0x1000ef8a
push 6
lea edx, [esp + 0x18]
push str.AC1024
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x1000ef72
lea edi, [eax + 6]
jmp 0x1000ef8a
push 6
lea eax, [esp + 0x18]
push str.AC1027
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x1000efa2
lea edi, [eax + 7]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x1000efa0
mov eax, dword [esp + 0x21]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
ja 0x1000efa0
mov eax, ecx
mov dword [ebx], eax
pop esi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x90]
mov eax, edi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.100134d2
add esp, 0x88
ret
Function at 0x10011e30
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10013fcb
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x1001c048]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001c048]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x264]
xor esi, esi
mov edi, ecx
mov dword [esp + 0x1c], 0x100
mov dword [esp + 0x20], esi
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
push esi
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp]
lea edx, [esp + 0x60]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x10011fc4
cmp eax, esi
jne 0x10011fbb
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
lea edx, [esp + 0x18]
push edx
push 0x20019
push esi
mov dword [esp + 0x268], esi
mov eax, dword [ebp]
lea ecx, [esp + 0x58]
push ecx
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10011f46
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
push 0x10017cc8
push ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], 0x200
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x10011f88
mov eax, dword [esp + 0x30]
cmp eax, 1
je 0x10011f2d
cmp eax, 2
jne 0x10011f88
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x10011f5e
test al, 1
jne 0x10011f88
mov edx, eax
shr edx, 1
cmp word [esp + edx*2 + 0x4a], si
je 0x10011f65
jmp 0x10011f88
inc dword [esp + 0x20]
mov dword [esp + 0x25c], 0xffffffff
mov dword [esp + 0x28], esi
jmp 0x10011e82
xor ecx, ecx
mov word [esp + 0x4c], cx
shr eax, 1
lea edx, [esp + 0x3c]
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x10011f88
lea eax, [esp + 0x3c]
call fcn.1000e260
mov dword [esp + 0x1c], 0x100
cmp ebx, esi
je 0x10011f9d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [esp + 0x25c], 0xffffffff
cmp ebx, esi
je 0x10011fb7
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
inc dword [esp + 0x20]
jmp 0x10011e82
mov al, 1
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.100134d2
add esp, 0x24c
ret
Function at 0x10012f40
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10012fae
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x10012f7f
cmp eax, 2
jne 0x10012f9a
mov eax, dword [esp]
test esi, esi
je 0x10012fa8
test eax, eax
je 0x10012fa3
test al, 1
jne 0x10012f9a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x10012fa8
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8

Function at 0x100134d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001c048]
jne 0x100134dc
repz ret
jmp fcn.10013ac0
Function at 0x10004cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x10004d02
lea esp, [esp]
test cl, 3
je 0x10004d02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0xf76a460]
add ecx, 1
sub esi, 1
jne 0x10004ce0
cmp esi, 0x20
push ebx
push edi
jb 0x10004eec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0xf76a860]
xor edx, dword [ebx*4 + 0xf76ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0xf76a460]
add ecx, 4
xor edx, dword [eax*4 + 0xf76b060]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0xf76a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0xf76ac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0xf76a460]
add ecx, 4
xor eax, dword [edx*4 + 0xf76b060]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0xf76a860]
xor edx, dword [ebx*4 + 0xf76ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0xf76a460]
xor edx, dword [eax*4 + 0xf76b060]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0xf76a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0xf76ac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0xf76a460]
xor eax, dword [edx*4 + 0xf76b060]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0xf76a860]
xor edx, dword [ebx*4 + 0xf76ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0xf76a460]
xor edx, dword [eax*4 + 0xf76b060]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0xf76a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0xf76ac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0xf76a460]
and edx, 0xff
xor eax, dword [edx*4 + 0xf76b060]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0xf76a860]
xor edx, dword [ebx*4 + 0xf76ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0xf76a460]
add ecx, 4
xor edx, dword [eax*4 + 0xf76b060]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0xf76a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0xf76ac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0xf76a460]
and edx, 0xff
xor eax, dword [edx*4 + 0xf76b060]
sub edi, 1
jne 0x10004d12
cmp esi, 4
jb 0x10004f39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0xf76a860]
movzx ebx, ah
xor edi, dword [ebx*4 + 0xf76ac60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0xf76a460]
and eax, 0xff
xor edi, dword [eax*4 + 0xf76b060]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x10004ef6
test esi, esi
pop edi
pop ebx
je 0x10004f5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0xf76a460]
add ecx, 1
sub esi, 1
jne 0x10004f40
not eax
pop esi
ret
Function at 0x41d350
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x417015
lea edi, [esi - 0x16015]
push edi
jmp 0x41d36a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41d371
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41d360
mov eax, 1
add ebx, ebx
jne 0x41d383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41d378
jne 0x41d394
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d378
xor ecx, ecx
sub eax, 3
jb 0x41d3a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41d41a
mov ebp, eax
add ebx, ebx
jne 0x41d3b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41d3c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41d3e4
inc ecx
add ebx, ebx
jne 0x41d3d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41d3c5
jne 0x41d3e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d3c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41d404
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41d3f5
jmp 0x41d366
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41d404
add edi, ecx
jmp 0x41d366
pop esi
mov edi, esi
mov ecx, 0x95
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41d422
cmp byte [edi], 3
jne 0x41d422
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41d427
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41d49f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e750]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e78c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41d454
mov ecx, edi
jns 0x41d483
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e790]
or eax, eax
je 0x41d499
mov dword [ebx], eax
add ebx, 4
jmp 0x41d471
call dword [esi + 0x1e7a0]
mov ebp, dword [esi + 0x1e794]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41d4d3
sub esp, 0xffffff80
jmp 0x401f7c
Function at 0x4041c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x433b34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x130], 0
push 0x124
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.00414300
add esp, 0xc
mov byte [ebp - 0x135], 0
mov byte [ebp - 0x135], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x40421e
jmp 0x4042ed
mov dword [ebp - 0x130], 0x128
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4042d1
push str.SDManifoldsComEx.exe
lea eax, [ebp - 0x10c]
push eax
call fcn.00414cc9
add esp, 8
test eax, eax
jne 0x4042b6
mov ecx, dword [ebp - 0x128]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x13c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x13c], 0
je 0x4042b6
push 0
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x135], 1
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x404243
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, byte [ebp - 0x135]
test ecx, ecx
jne 0x4041fa
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413572
mov esp, ebp
pop ebp
ret
Function at 0x408490
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov byte [ebp - 5], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4084bc
xor al, al
jmp 0x40855e
push 0xf01ff
mov eax, dword [ebp - 0x34]
add eax, 4
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408547
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x40852b
lea edx, [ebp - 0x28]
push edx
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0
je 0x40852b
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x40852b
cmp dword [ebp - 0x24], 1
je 0x40852b
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408509
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x40853d
mov byte [ebp - 5], 1
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
call eax
mov esp, ebp
pop ebp
ret

Function at 0x408810
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x433b34]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x9c
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.00414300
add esp, 0xc
mov dword [ebp - 0xa8], 0x9c
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa4], 6
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413572
mov esp, ebp
pop ebp
ret
Function at 0x417913
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x417894
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4178b2
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 0x417910
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 0x4178f7
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x417900
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41790a
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4178ec
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x417876
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41795d
dec eax
je 0x417954
sub eax, 3
je 0x41794b
mov dword [ebp - 4], 0x40
jmp 0x41797a
mov dword [ebp - 4], 4
jmp 0x417960
mov dword [ebp - 4], 0x20
jmp 0x417960
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4179ac
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41792c
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004171bd
mov ch, 0x1e
rcl byte [esi + 0x6a1475ff]
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x4179b8
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417a14
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [edx - 0x3a]
test dword [esi + 0x46fffffc], esi
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.004171cd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00417182
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
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
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004171cd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00417182
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
inc dword [eax - 0x3db7a3a]
invalid
dec dword [edx - 0x3da7a3a]
invalid
inc dword [edx - 0x3d97a3a]
invalid
dec dword [ebx - 0x3d87a3a]
mov eax, esi
test dword [edi], esp
cld
invalid
jmp [edi - 0x3d77a3a]
invalid
invalid
out dx, al
lea eax, [ebp - 0x3ec]
push eax
call fcn.004171cd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00417182
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.004171bd
xor dword [ecx], 9
fild dword [eax - 0x5335b]
inc dword [eax]
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
invalid
and dh, ch
invalid
Function at 0x418087
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0041719b
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0

Function at 0x418654
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.004171bd
push ds
adc byte fs:[ecx - 0x73], dh
test esp, edx
clc
invalid

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41f281
call fcn.00415e11
mov dword [eax], esi
call fcn.00415dfe
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004152d1
add esp, 0x14
push 0x16
pop eax
jmp 0x41f2d6
test dword [ebp + 0xc], 0xfffffff9
jne 0x41f25d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41f2ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00415e24
pop ecx
call fcn.00415dfe
mov eax, dword [eax]
jmp 0x41f2d6
test al, 0x10
jne 0x41f2d4
test al, 1
je 0x41f2d4
test byte [ebp + 0xc], 2
je 0x41f2d4
call fcn.00415e11
mov dword [eax], 5
call fcn.00415dfe
mov dword [eax], 0xd
jmp 0x41f2a5
xor eax, eax
pop esi
pop ebp
ret
Function at 0xd62370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xd6238e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xd8b074
push ecx
mov edi, eax
call fcn.00d76198
mov esi, eax
add esp, 8
test esi, esi
jne 0xd623cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00d7602e
push esi
call fcn.00d75fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret