joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51b1c4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047d4
xor eax, eax
push ebp
push 0x51b2f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404324
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004047e4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x51b2cd
mov eax, ebx
call fcn.004027d0
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.004047e4
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x51b300
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00409158
push dword [ebp - 0x14]
push 0x51b30c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00409158
push dword [ebp - 0x18]
push 0x51b30c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00409158
push dword [ebp - 0x1c]
push 0x51b30c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00409158
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.004046a4
mov eax, esi
call fcn.004027f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51b2f7
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404348
lea eax, [ebp - 4]
call fcn.00404324
ret

Function at 0x51b514
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x51b5b1
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [0x5233a8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00409ae8
lea ecx, [ebp - 0x108]
mov eax, dword [ebx]
mov edx, 1
call fcn.0043bbc0
mov eax, dword [ebp - 0x108]
mov edx, 0x51b5c8
call fcn.00404730
je 0x51b598
mov eax, ebx
mov edx, 0x51b5c8
call fcn.004045ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51b5b8
lea eax, [ebp - 0x108]
call fcn.00404324
ret
Function at 0x51b5cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x51b650
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x51b694
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x51b632
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.00404594
jmp 0x51b63e
mov eax, ebx
mov edx, 0x51b6a0
call fcn.00404378
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x10c
pop ebx
ret

Function at 0x51b878
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x51b881
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047d4
mov eax, dword [ebp - 8]
call fcn.004047d4
xor eax, eax
push ebp
push 0x51b9c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov dl, 1
mov eax, dword [0x4404e0]
call fcn.0044064c
mov dword [ebp - 0xc], eax
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00440728
xor eax, eax
push ebp
push 0x51b97e
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x51b9dc
mov eax, dword [ebp - 0xc]
call fcn.00440790
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004097b0
mov eax, dword [ebp - 0x14]
call fcn.004045e4
sub eax, 4
push eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004097b0
mov eax, dword [ebp - 0x18]
mov edx, 1
pop ecx
call fcn.00404844
mov eax, dword [ebp - 0x10]
call fcn.0051b6d0
test al, al
jne 0x51b974
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.0040906c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.00404630
mov eax, dword [ebp - 0x1c]
push eax
push 0x51ba14
push dword [ebp - 4]
push 0x51ba20
push dword [ebp - 8]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.004046a4
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
pop edx
call fcn.0044094c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51b98a
mov eax, dword [ebp - 0xc]
call fcn.004406f8
mov eax, dword [ebp - 0xc]
call fcn.00403494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51b9c9
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00404348
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404348
ret
Function at 0x51c214
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x51c3cc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x51c3dc
push 0
push edx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x51c3a6
push 0
push 0x51c3e4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x51c3a6
push 0
push 0x51c3f4
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x51c408
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x51c3a6
call fcn.0051b160
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x51c2b9
cmp eax, dword [esp]
pop edx
pop eax
je 0x51c3a6
lea eax, [ebp - 0x404]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x524f48]
call fcn.004043bc
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404594
mov eax, dword [ebp - 0x408]
call fcn.00409658
test al, al
jne 0x51c3a6
cmp dword [esi + 0x3bc], 0
jle 0x51c31d
dec dword [esi + 0x3bc]
jmp 0x51c342
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404594
mov eax, dword [ebp - 0x40c]
call fcn.0051a190
test al, al
je 0x51c3a6
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404594
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 4]
call fcn.0040e41c
test eax, eax
jne 0x51c3a6
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404844
mov eax, dword [ebp - 0x414]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c3d3
lea eax, [ebp - 0x414]
mov edx, 4
call fcn.00404348
lea eax, [ebp - 4]
call fcn.00404324
ret
Function at 0x51c410
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x51c5c8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x51c5d8
push 0
push edx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x51c5a2
push 0
push 0x51c5e0
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x51c5a2
push 0
push 0x51c5f0
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x51c604
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x51c5a2
call fcn.0051b160
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x51c4b5
cmp eax, dword [esp]
pop edx
pop eax
je 0x51c5a2
lea eax, [ebp - 0x404]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x524f48]
call fcn.004043bc
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404594
mov eax, dword [ebp - 0x408]
call fcn.00409658
test al, al
jne 0x51c5a2
cmp dword [esi + 0x3bc], 0
jle 0x51c519
dec dword [esi + 0x3bc]
jmp 0x51c53e
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404594
mov eax, dword [ebp - 0x40c]
call fcn.0051a190
test al, al
je 0x51c5a2
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404594
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 4]
call fcn.0040e41c
test eax, eax
jne 0x51c5a2
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404844
mov eax, dword [ebp - 0x414]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c5cf
lea eax, [ebp - 0x414]
mov edx, 4
call fcn.00404348
lea eax, [ebp - 4]
call fcn.00404324
ret
Function at 0x51c60c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x51c7d5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x51c7e4
push 0
push edx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x51c7af
push 0
push 0x51c7ec
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x51c7af
push 0
push 0x51c7fc
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x51c80c
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x51c818
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x51c7af
call fcn.0051b160
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x51c6c2
cmp eax, dword [esp]
pop edx
pop eax
je 0x51c7af
lea eax, [ebp - 0x404]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x524f48]
call fcn.004043bc
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404594
mov eax, dword [ebp - 0x408]
call fcn.00409658
test al, al
jne 0x51c7af
cmp dword [esi + 0x3bc], 0
jle 0x51c726
dec dword [esi + 0x3bc]
jmp 0x51c74b
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404594
mov eax, dword [ebp - 0x40c]
call fcn.0051a190
test al, al
je 0x51c7af
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404594
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 4]
call fcn.0040e41c
test eax, eax
jne 0x51c7af
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404844
mov eax, dword [ebp - 0x414]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c7dc
lea eax, [ebp - 0x414]
mov edx, 4
call fcn.00404348
lea eax, [ebp - 4]
call fcn.00404324
ret
Function at 0x51c990
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x420], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x51cb60
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x51cb70
push 0
push edi
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
jne 0x51ca3c
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebp - 0x41c]
push eax
push edi
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x418]
add eax, 0x28
push eax
mov eax, dword [ebp - 0x41c]
add eax, 0x190
push eax
call sub.user32.dll_SetCursorPos
push 0
push 0
push 0
push 0
push 2
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 4
call sub.user32.dll_mouse_event
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetCursorPos
push 0
push 0x51cb70
push 0
push edi
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x51cb3a
lea eax, [ebp - 0x40c]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x524f48]
call fcn.004043bc
lea eax, [ebp - 0x420]
lea edx, [ebp - 0x40c]
mov ecx, 0x400
call fcn.00404594
mov eax, dword [ebp - 0x420]
call fcn.00409658
test al, al
jne 0x51cb3a
cmp dword [esi + 0x3bc], 0
jle 0x51cab1
dec dword [esi + 0x3bc]
jmp 0x51cad6
lea eax, [ebp - 0x424]
lea edx, [ebp - 0x40c]
mov ecx, 0x400
call fcn.00404594
mov eax, dword [ebp - 0x424]
call fcn.0051a980
test al, al
je 0x51cb3a
lea eax, [ebp - 0x428]
lea edx, [ebp - 0x40c]
mov ecx, 0x400
call fcn.00404594
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 4]
call fcn.0040e41c
test eax, eax
jne 0x51cb3a
lea eax, [ebp - 0x42c]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404844
mov eax, dword [ebp - 0x42c]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51cb67
lea eax, [ebp - 0x42c]
mov edx, 4
call fcn.00404348
lea eax, [ebp - 4]
call fcn.00404324
ret
Function at 0x16f9058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x16f91a8
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 0x16f907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16f906a
add dl, dl
jne 0x16f9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16f90dc
xor eax, eax
add dl, dl
jne 0x16f9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16f917d
add dl, dl
jne 0x16f90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16f90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16f90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16f90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x16f90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x16f9075
mov eax, 1
add dl, dl
jne 0x16f90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16f90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16f90e1
sub eax, ebx
mov ebx, 1
jne 0x16f9128
mov ecx, 1
add dl, dl
jne 0x16f910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16f9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16f9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16f9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x16f913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16f914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16f9136
cmp eax, 0x7d00
jae 0x16f916d
cmp eax, 0x500
jb 0x16f9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16f9075
cmp eax, 0x7f
ja 0x16f9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16f9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x16f919e
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 0x16f9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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 0x599a6f
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.005995f2
push eax
call fcn.00584a1c
jmp 0x5995ed
Function at 0x668ec8
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bl, 0xd1
cld
bswap ebx
cld
xchg word [esp + 4], di
lea ebp, reloc.KERNEL32.dll_DuplicateHandle
jmp 0x668e93
xchg word [esp + 1], ax
rdtsc
bswap edx
xchg word [esp + 1], ax
jmp 0x668ea9

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 0x401e40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xffffffdb
mov cl, byte [ebx - 0x72a4568b]
inc ebp
out 0x6a, al
js 0x401ea1
push esi
call 0x6618e0
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x40b5c8]
push eax
push ecx
add edx, 0x40
push 0x40d44f
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [0x4102ac]
leave
les edx, [eax*4 + 0x500f74d6]
push 0xa140d254
call dword [0x8bc164]
add esp, 0xffffffc5
push esi
call dword [0xb6402470]
pop esi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
mov eax, 0xec8b5590
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x14]
invalid

Function at 0x402406
Capabilities:
Encode data using xor

Disassembly:
call fcn.004022bd
mov ecx, 0x1dd
call 0x402406
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x402409
ljmp 0x44b6:0xda8d5821
Function at 0x1002b60
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001370
call fcn.01002ce0
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002b9b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002b9b
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1002bb3
cmp eax, 0x20b
je 0x1002ba0
mov dword [ebp - 0x1c], edi
jmp 0x1002bc7
cmp dword [ecx + 0x84], 0xe
jbe 0x1002b9b
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1002bc1
cmp dword [ecx + 0x74], 0xe
jbe 0x1002b9b
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1004044], 0xffffffff
or dword [0x1004048], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004040]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100403c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100404c], eax
call fcn.01002db4
cmp dword [0x1004030], edi
jne 0x1002c22
push fcn.01002db4
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002d9d
push 0x1004010
push 0x100400c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1004038]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1004034]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1004008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01002859
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002c99
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002cce
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002d1b
ret
Function at 0x477ed2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x477f00
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x477f1e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00477e38
jmp 0x477f1e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x477f1e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00477e38
test edi, edi
mov eax, edi
jne 0x477f08
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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 0x422748
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4227fb
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x466b75
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x466b96
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x466b8d
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x466b85
mov eax, ebx
leave
ret

Function at 0x466bbc
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x466c1b
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x466c48
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x466c37
xor ecx, eax
xor edx, ebx
dec edi
jne 0x466c28
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x466c6e
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x466c0f
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8