joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447f2c
Capabilities:
Timestomp file

Disassembly:
push 0x4c
mov eax, 0x473acb
call fcn.00454b83
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x48], esi
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_couldnt_open__S
push eax
mov dword [ebp - 4], ebx
call fcn.0042fa5d
add esp, 0xc
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x447f79
mov ecx, eax
call fcn.0042d9c1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00404060
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_GetFileTime:__S
push eax
call fcn.0042fa5d
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x447fba
mov ecx, ebx
call fcn.0042d9c1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00404060
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_DosDateTimeToFileTime:__S
push eax
call fcn.0042fa5d
add esp, 0xc
mov ebx, eax
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push ecx
shr ecx, 0x10
push ecx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
jne 0x447ffb
mov ecx, ebx
call fcn.0042d9c1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00404060
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_LocalFileTimeToFileTime:__S
push eax
call fcn.0042fa5d
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
jne 0x448038
mov ecx, ebx
call fcn.0042d9c1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00404060
push edi
lea eax, [ebp - 0x2c]
push str.SetFileModTime_failed_SetFileTime:__S
push eax
call fcn.0042fa5d
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x44807a
mov ecx, edi
call fcn.0042d9c1
lea ecx, [ebp - 0x2c]
call fcn.00404060
test esi, esi
je 0x44808d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00454b32
ret 8

Function at 0x448358
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0xff
mov esi, dword [edi]
mov eax, esi
xor eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
and eax, ebx
shr esi, 8
mov eax, dword [edx + eax*4]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [edx + eax*4]
mov eax, dword [ebp + 8]
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x464025
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49b7f8]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004568bc
mov dword [ebp - 0x14], eax
cmp dword [0x4a5f64], edi
jne 0x464116
push 0x800
push edi
push 0x47b39c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4640a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4641f6
push 0x47b39c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4641f6
push 0x47b3b4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4641f6
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4a5f64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4a5f68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4a5f6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a5f74], eax
test eax, eax
je 0x464113
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a5f70], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46413b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46412e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x464150
push 4
pop eax
jmp 0x4641f8
cmp dword [ebp - 0x14], edi
je 0x464150
push dword [0x4a5f64]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x464135
mov eax, dword [0x4a5f70]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4641ae
cmp dword [0x4a5f74], esi
je 0x4641ae
push eax
call ebx
push dword [0x4a5f74]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4641ae
test eax, eax
je 0x4641ae
call ecx
test eax, eax
je 0x4641a3
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 0x4641a3
test byte [ebp - 8], 1
jne 0x4641ae
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4641de
mov eax, dword [0x4a5f68]
cmp eax, esi
je 0x4641db
push eax
call ebx
test eax, eax
je 0x4641db
call eax
mov edi, eax
test edi, edi
je 0x4641db
mov eax, dword [0x4a5f6c]
cmp eax, esi
je 0x4641db
push eax
call ebx
test eax, eax
je 0x4641db
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4a5f64]
call ebx
test eax, eax
je 0x4641f6
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4641f8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f834
leave
ret
Function at 0x466685
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00458db7
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4666bd
xor eax, eax
jmp 0x4666e9
cmp esi, dword [ebp - 4]
je 0x4666e6
cmp dword [ebp + 0xc], 0
je 0x4666e6
push dword [edi + 0x9c]
call fcn.00466293
push dword [edi + 0x9c]
mov esi, eax
call fcn.00456d2a
pop ecx
pop ecx
cmp esi, eax
je 0x4666b9
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x421a9b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042173d

Function at 0x421aa6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004218cc

Function at 0x421ea0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040f050
mov eax, dword [0x488ac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004207a0
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x421ee2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x42203e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042eae0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x48a908]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00423070
mov ecx, dword [esi*4 + 0x48a908]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x422037
cmp eax, dword [edi + ecx + 0x24]
jne 0x422037
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x422037
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00423070
add esp, 0x14
test edx, edx
jl 0x422037
jg 0x421fad
test eax, eax
jb 0x422037
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x422037
jl 0x421fc7
cmp dword [ebp - 0x1008], eax
ja 0x422037
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x421fe5
test ebx, ebx
je 0x42201e
cmp ecx, edi
jae 0x42201e
mov al, byte [ecx]
cmp al, 0xd
jne 0x421fff
lea eax, [edi - 1]
cmp ecx, eax
jae 0x42200b
cmp byte [ecx + 1], 0xa
jne 0x42200b
inc ecx
jmp 0x42200b
movzx eax, al
movsx eax, byte [eax + 0x488d80]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x421fe5
cmp edx, ebx
jne 0x421fe5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x42203c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040e527
leave
ret
Function at 0x42250e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x48a908]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42254e
cmp byte [ebx], 0xa
jne 0x42254e
or byte [eax + edi + 0x28], 4
jmp 0x422553
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x422651
mov al, byte [edx]
cmp al, 0x1a
je 0x422633
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x422582
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4225a7
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4225b1
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x422564
jmp 0x422651
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42262e
cmp dword [ebp - 0xc], 0
je 0x42262e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x48a908]
test byte [eax + edi + 0x28], 0x48
je 0x422608
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4225f3
mov byte [esi], dl
jmp 0x422604
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x48a908]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x422651
cmp byte [ebp - 1], 0xa
jne 0x422617
cmp esi, ebx
jne 0x422617
mov byte [esi], 0xa
jmp 0x422650
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0042308e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x422651
mov byte [esi], 0xd
jmp 0x422650
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x48a908]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42264d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x422651
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42265a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x48a908]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42269d
cmp word [esi], dx
jne 0x42269d
or byte [edi + eax + 0x28], 4
jmp 0x4226a2
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4227f5
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4227d5
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4226e4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42271a
cmp eax, edx
jae 0x422726
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4226bc
jmp 0x4227f5
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4227d1
cmp dword [ebp - 0x14], 0
je 0x4227d1
mov eax, dword [ebx*4 + 0x48a908]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4227a9
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x422772
mov word [esi], cx
jmp 0x4227a5
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x48a908]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x48a908]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x48a908]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4227f5
pop ebx
cmp word [ebp - 4], bx
jne 0x4227ba
cmp esi, dword [ebp + 0xc]
jne 0x4227ba
mov word [esi], bx
jmp 0x4227f2
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042308e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4227f5
push 0xd
jmp 0x4227ee
mov ecx, dword [ebx*4 + 0x48a908]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4227ec
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4227f5
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x463400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5e000]
push edi
jmp 0x46341a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x463421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x463410
mov eax, 1
add ebx, ebx
jne 0x463433
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x463428
jne 0x463444
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x463428
xor ecx, ecx
sub eax, 3
jb 0x463458
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4634ca
mov ebp, eax
add ebx, ebx
jne 0x463463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x463470
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x463494
inc ecx
add ebx, ebx
jne 0x463480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x463475
jne 0x463491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x463475
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4634b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4634a5
jmp 0x463416
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4634b4
add edi, ecx
jmp 0x463416
pop esi
mov edi, esi
mov ecx, 0x24a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4634d2
cmp byte [edi], 1
jne 0x4634d2
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 0x4634d7
lea edi, [esi + 0x61000]
mov eax, dword [edi]
or eax, eax
je 0x46354f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x97a84]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x97b38]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x463504
mov ecx, edi
jns 0x463533
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 + 0x97b3c]
or eax, eax
je 0x463549
mov dword [ebx], eax
add ebx, 4
jmp 0x463521
call dword [esi + 0x97b4c]
mov ebp, dword [esi + 0x97b40]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x463583
sub esp, 0xffffff80
jmp 0x40323c

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 0x45db70
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebp
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x45dbbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x45dbbb
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call sub.MFC42u.DLL_operatornew
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
lea edx, [ecx + ecx]
push edx
call sub.MFC42u.DLL_operatornew
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x45dc00
test esi, esi
je 0x45dc11
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x45dc0d
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
test ebx, ebx
jne 0x45dc20
mov edi, dword [edi]
test edi, edi
je 0x45dc20
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 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 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40a240
Capabilities:
Encode data using xor

Disassembly:
xor dword [eax], edx
xchg ah, al
cmc
lodsb al, byte [si]
test al, 0xd9
sbb dl, cl
mov dl, dl
mov esi, 0x1dac7f3a
push esp
add bh, byte [edi]
pop ds
push ebx
enter 0x33cd, 0xffffffffffffff8d
xor dword [edx - 0x39c4d6d5], eax
xor ecx, dword [ebp + 0x292b8231]
cmp eax, esi
pop esi
inc esp
push ss
and byte [esi - 0x2aea0e8c], bl
jecxz 0x40a259
and al, 0x7b
ret
Function at 0x4321bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [0xd8089c], 0
jne 0x4321cd
call fcn.00431b79
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov edx, dword [eax + 0x10]
push ebx
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x20]
push esi
lea esi, [ecx + 4]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0x30]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x40]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x50]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x60]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x70]
push edi
mov dword [ecx + 0x1c], eax
mov edi, eax
mov dword [ebp + 8], 0xd80474
push 8
push edi
call fcn.00be1734
mov ebx, eax
push 8
push edi
shr ebx, 0x18
call fcn.00be1734
mov ebx, dword [ebx*4 + 0xd7e074]
shr eax, 0x10
movzx eax, al
xor ebx, dword [eax*4 + 0xd7dc74]
push 8
push edi
call fcn.00be1734
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + 0xd7d874]
push 8
push edi
call fcn.00be1734
movzx eax, al
xor ebx, dword [eax*4 + 0xd7d474]
mov eax, dword [ebp + 8]
xor ebx, dword [eax]
lea eax, [esi + 0x20]
xor ebx, dword [esi - 4]
add dword [ebp + 8], 4
mov dword [esi + 0x1c], ebx
xor ebx, dword [esi]
add esp, 0x20
mov dword [eax], ebx
xor ebx, dword [esi + 4]
mov dword [esi + 0x24], ebx
xor ebx, dword [esi + 8]
mov dword [esi + 0x28], ebx
mov ecx, ebx
shr ecx, 0x18
mov edi, dword [ecx*4 + 0xd7e074]
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
movzx edx, dl
xor edi, dword [edx*4 + 0xd7dc74]
movzx ecx, cl
xor edi, dword [ecx*4 + 0xd7d874]
xor ecx, ecx
mov cl, bl
xor edi, dword [ecx*4 + 0xd7d474]
xor edi, dword [esi + 0xc]
mov dword [esi + 0x2c], edi
xor edi, dword [esi + 0x10]
mov dword [esi + 0x30], edi
xor edi, dword [esi + 0x14]
mov dword [esi + 0x34], edi
xor edi, dword [esi + 0x18]
cmp dword [ebp + 8], 0xd80490
mov dword [esi + 0x38], edi
mov esi, eax
jb 0x432210
pop edi
pop esi
pop ebx
pop ebp
ret