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

Disassembly:
push 0xffffffffffffffff
push 0xfb09fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xf9c002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00f9fdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xf9c002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00f976e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00fa020b
push 0x10
call fcn.00fa01d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xf9bfc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00f8c1c0
jmp 0xf9bfc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00f9bb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xf9bff0
mov ecx, edi
call fcn.00f8c2c0
push edi
call fcn.00fa01c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xf9c021
inc ebx
cmp ebx, 0x20
jb 0xf9bf3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xf9d250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xfb1808
push 0xfa1288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xf9d329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xf9d329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00fa01d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xf9d329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xf9d329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xf9d32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00f9d351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf9dd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xf9dd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xf9dd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xf9dd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xf9dd94
push eax
push esi
call fcn.00fa020b
add esp, 8
pop esi
ret 0x10

Function at 0xf9dda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xf9de22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xf9de15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xfb6320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00f9fdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xf9ddda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xf9de30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xf9dec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xf9deb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xfb6320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00f9fdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xf9deab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xf9de6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xf9e000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xf9e131
push esi
call fcn.00fa1145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00f90080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xf9e131
push 0
push ebp
call fcn.00f903a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00f90260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xf9e08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00f902f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xf9e121
push 0xfb6918
push edi
call fcn.00f9f3f0
push eax
push ebx
push esi
call fcn.00f9df60
push 0xfb68f8
push edi
call fcn.00f9f3f0
push eax
push ebx
push esi
call fcn.00f9df60
push 0xfb68d8
push edi
call fcn.00f9f3f0
push eax
push ebx
push esi
call fcn.00f9df60
push 0xfb68c0
push edi
call fcn.00f9f3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00f9df60
push 0xfb68a0
push edi
call fcn.00f9f3f0
push eax
push ebx
push esi
call fcn.00f9df60
push 0xfb6888
push edi
call fcn.00f9f3f0
push eax
push ebx
push esi
call fcn.00f9df60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xf9f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00f9f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00f9f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00f9f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00f9f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xf9fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xf9fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xfb187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xf9fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xf9fc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x403690
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d9a08
push eax
mov dword fs:[0], esp
sub esp, 0x448
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_SetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x4036cb
lea eax, [ebp - 0x454]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x4036b8
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov ebx, dword [ebp - 0x10]
xor esi, esi
call edi
cmp esi, 0x2b259d
jle 0x4036f2
cmp ebx, 0x785074d5
jne 0x4036fb
inc esi
cmp esi, 0x1c1b
jl 0x4036e0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x40372d
inc esi
cmp esi, 0x4f6a4
jl 0x403710
cmp dword [0x8fb080], 0x400
jne 0x403767
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
lea eax, [ebp - 0x30]
call fcn.00403800
push 0
mov dword [ebp - 4], 0
call fcn.00403b34
add esp, 4
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00403820
mov ecx, dword [0x4dc13c]
mov edx, dword [0x4dc110]
mov dword [0x8fb080], ecx
mov dword [0x8fb084], edx
call fcn.004033c0
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
nop
push 0
call edi
cmp esi, 0x2b259d
jle 0x4037a4
cmp ebx, 0x785074d5
jne 0x4037ad
inc esi
cmp esi, 0x11915
jl 0x403790
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
lea esp, [esp]
cmp dword [0x8fb080], 0x51f
jne 0x4037d2
lea eax, [ebp - 0x54]
push eax
call esi
sub edi, 1
jne 0x4037c0
mov eax, dword [0x8f9fd4]
mov dword [0x8fa614], eax
call eax
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4044a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4db0c8]
jne 0x4044aa
repz ret
jmp fcn.00406c0e
Function at 0x9e4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9e41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9e407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e406a
add dl, dl
jne 0x9e4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e40dc
xor eax, eax
add dl, dl
jne 0x9e4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e417d
add dl, dl
jne 0x9e40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9e40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9e4075
mov eax, 1
add dl, dl
jne 0x9e40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e40e1
sub eax, ebx
mov ebx, 1
jne 0x9e4128
mov ecx, 1
add dl, dl
jne 0x9e410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9e4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9e413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9e414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e4136
cmp eax, 0x7d00
jae 0x9e416d
cmp eax, 0x500
jb 0x9e4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e4075
cmp eax, 0x7f
ja 0x9e4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9e419e
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 0x9e4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4066e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x431d2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404484
call fcn.00409274
push 4
mov dword [esp + 0x18], 0
call fcn.0040a916
mov edi, eax
add esp, 4
test edi, edi
je 0x406754
push ebx
call fcn.0040906f
mov dword [edi], eax
call fcn.00408e2e
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00409235
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406748
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040925d
pop ebx
jmp 0x406756
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b40e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4353dc]
jne 0x40b418
repz ret
jmp fcn.004113ac
Function at 0x416aa3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4353dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040f88e
and dword [ebp - 0x14], 0
cmp dword [0x4384b4], 0
mov dword [ebp - 0x18], eax
jne 0x416b56
push 0x403fd0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416bfe
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fc4
push ebx
call edi
test eax, eax
je 0x416bfe
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fb4
push ebx
mov dword [0x4384b4], eax
call edi
push eax
call esi
push 0x403fa0
push ebx
mov dword [0x4384b8], eax
call edi
push eax
call esi
push 0x403f84
push ebx
mov dword [0x4384bc], eax
call edi
push eax
call esi
mov dword [0x4384c4], eax
test eax, eax
je 0x416b56
push 0x403f6c
push ebx
call edi
push eax
call esi
mov dword [0x4384c0], eax
mov eax, dword [0x4384c0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416baf
cmp dword [0x4384c4], ecx
je 0x416baf
push eax
call esi
push dword [0x4384c4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416baf
test ebx, ebx
je 0x416baf
call edi
test eax, eax
je 0x416ba6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x416ba6
test byte [ebp - 8], 1
jne 0x416baf
or dword [ebp + 0x10], 0x200000
jmp 0x416be2
mov eax, dword [0x4384b8]
cmp eax, dword [ebp - 0x18]
je 0x416be2
push eax
call esi
test eax, eax
je 0x416be2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416be2
mov eax, dword [0x4384bc]
cmp eax, dword [ebp - 0x18]
je 0x416be2
push eax
call esi
test eax, eax
je 0x416be2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4384b4]
call esi
test eax, eax
je 0x416bfe
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416c00
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b40e
leave
ret
Function at 0x4a1700
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0x26
out dx, al
jnp 0x4a16c9
push edx
push 0xffffffffffffffcb
sbb eax, 0x3a42a832
enter 0x4f6d, 0x2c
fucom st(2)
mov edi, 0x4e4e2484
adc edi, dword [edi - 0x49]
loop 0x4a16e1
mov cl, 0x86
clc
push esp
invalid
in eax, dx
out 0xb7, eax
mov byte [0x70928120], al
cmp dword [eax - 0x1755fd8c], eax
sub byte [ecx + 0xa], 0x3e
invalid
mov esi, 0x579302bb
add ah, dh
mov ebx, ecx
je 0x4a16af
inc dword [ebx - 0x74]
jno 0x4a164f
inc ebx
invalid
and al, 0xfd
int1
adc ecx, dword [ecx]
xchg ebp, eax
xor byte [eax + edx], al
jge 0x4a1679
adc edx, dword [ecx - 0x3c]
hlt
test byte [ebp + 0x36725c6d], ah
movsd dword es:[edi], dword [esi]
insd dword es:[edi], dx
pop esp
jb 0x4a1704
popal
sub eax, dword [edx - 0x5f]
or dword [ecx + 0x60725795], esp
inc edx
loop 0x4a16d2
test al, 0xb0
mov bh, 0x83
pop eax
jp 0x4a16e1
invalid
cmp al, 0x7d
imul esp, dword [eax - 0x5c607cfe], 0xb102ed53
outsd dx, dword [esi]
out 0x8a, eax
mov dl, 0x32
mov edx, dword [ebx - 0x18]
adc cl, byte [eax - 0x67]
retf
mov esi, 0xc99b9830
leave
xchg ebp, eax
mov ch, 0x76
xchg esp, eax
loopne 0x4a16a3
jge 0x4a170c
jmp dword [edx + 0x4a03a27b]
mov byte [0x4a03a27b], al
dec edx
sub eax, 0x94573025
jae 0x4a16c8
xor ebx, ebp
dec ebp
adc al, 0xfa
or dword [ebx - 0x27fd62c3], eax
sbb ecx, dword [ecx - 0x7c]
mov dword [0x835bb888], eax
push ss
jl 0x4a1711
pop ebp
jo 0x4a1783
imul ebp, ecx, 0xffffffab
lcall 0xcd05, 0xe0b10e6d
sub eax, 0xa852c092
xchg edx, eax
xchg ebx, eax
cmc
pop esp
out dx, eax
xchg esi, eax
xor eax, 0xae41a5e1
inc ecx
scasb al, byte es:[edi]
sar byte [eax], 0x77
and byte [edi], 0xf9
out 0xdc, eax
aaa
mov ecx, 0xeaa5ddff
retf 0xb9db
add byte [edx + 0x42353732], 0x62
mov cl, 0x17
pop ecx
lea ebp, [esi]
in eax, 0xa4
push edx
pushal
stosb byte es:[edi], al
jg 0x4a174a
add dword [edx - 0x64], ecx
mov ebx, 0x54465409
fisub word [esi + 0x13af4b2]
cdq
mov byte [ebp - 0x4146481d], bh
rol byte [edi + 0x4f], 1
neg ebp
sal ch, 0x50
and bl, byte [ebx - 0x79]
pop ds
test dword [eax - 0x4b06a932], eax
mov bh, 0x3b
push ss
mov ch, 0x11
loope 0x4a1770
lds ecx, [edx - 0x2d22969e]
hlt
Function at 0x4c3b0a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c9498
cmp edx, dword [eax]
je 0x4c3b2c
add eax, 8
inc ecx
cmp eax, 0x4c9528
jl 0x4c3b1d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c9498]
jne 0x4c3c5a
mov eax, dword [0x4cdb8c]
cmp eax, 1
je 0x4c3c34
test eax, eax
jne 0x4c3b5d
cmp dword [0x4c93dc], 1
je 0x4c3c34
cmp edx, 0xfc
je 0x4c3c5a
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c3b94
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c4220
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c4450
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c3bd7
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c4450
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c75d8
push edi
call fcn.004c5c20
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c4220
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c4230
lea eax, [ebp - 0xa0]
push 0x4c75b8
push eax
call fcn.004c4230
push dword [esi + 0x4c949c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c4230
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c5b94
add esp, 0x2c
pop edi
jmp 0x4c3c5a
lea eax, [ebp + 8]
lea esi, [esi + 0x4c949c]
push 0
push eax
push dword [esi]
call fcn.004c4450
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x408338
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4083eb
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 0x4198b2
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
bswap eax
mov edi, eax
mov eax, dword [esi + 4]
bswap eax
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp + 8], eax
mov eax, dword [ebx + esi*4]
bswap eax
mov dword [ebp + esi*4 - 0x10], eax
inc esi
cmp esi, 4
jl 0x4198d1
mov ebx, dword [ebp + 8]
mov edx, 0xe3779b90
mov esi, 0x10
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 8]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shr ecx, 5
add ecx, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
lea edx, [edx + 0x61c88647]
sub edi, ecx
sub esi, 1
jne 0x4198ed
bswap edi
mov esi, dword [ebp + 0x10]
mov dword [esi], edi
bswap ebx
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43f89b
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x43f94f
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0043f82b
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x43f928
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret