joyce8/EMBER2024-capa huggingface dataset:
Function at 0x73ab70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x20]
test edi, edi
je 0x73aca2
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x73aca2
cmp dword [esp + 0x28], 0
je 0x73aca2
mov dword [esp], str.borlndmm
call sub.KERNEL32.DLL_GetModuleHandleA
sub esp, 4
mov esi, eax
test esi, esi
je 0x73aca2
mov ebp, dword [esp + 0x2c]
mov dword [esp], esi
mov dword [esp + 4], str._Borlndmm_SysGetMem_qqri
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [edi], eax
mov dword [esp], esi
mov dword [esp + 4], str._Borlndmm_SysFreeMem_qqrpv
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [ebx], eax
mov dword [esp], esi
mov dword [esp + 4], str._Borlndmm_SysReallocMem_qqrpvi
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov dword [esp], esi
mov dword [esp + 4], str._Borlndmm_SysAllocMem_qqri
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [ebp], eax
mov dword [esp], esi
mov dword [esp + 4], str._Borlndmm_SysRegisterExpectedMemoryLeak_qqrpi
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov dword [esp], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 4], str._Borlndmm_SysUnregisterExpectedMemoryLeak_qqrpi
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [esi], eax
mov eax, dword [edi]
mov dword [0x7cadb8], eax
cmp dword [ebp], 0
jne 0x73ac56
mov dword [ebp], 0x73ab40
mov eax, dword [esp + 0x30]
cmp dword [eax], 0
jne 0x73ac65
mov dword [eax], 0x73ab30
mov ecx, dword [esi]
test ecx, ecx
je 0x73ac92
cmp dword [edi], 0
je 0x73aca2
cmp dword [ebx], 0
je 0x73aca2
mov esi, dword [esp + 0x28]
cmp dword [esi], 0
je 0x73aca2
cmp dword [ebp], 0
je 0x73aca2
cmp dword [eax], 0
je 0x73aca2
xor eax, eax
test ecx, ecx
setne al
jmp 0x73aca4
mov dword [esi], 0x73ab30
mov ecx, 0x73ab30
cmp dword [edi], 0
jne 0x73ac70
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x73c994
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [0x7acbb8], eax
jbe 0x73c9d1
sub esp, 0xc
lea ecx, [esp + 0x14]
push 0
push ecx
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [eax*4 + 0x7caecc]
call sub.KERNEL32.DLL_ReadFile
add esp, 0xc
cmp eax, 1
jne 0x73c9d8
mov eax, dword [esp + 8]
add esp, 0xc
ret
sub esp, 0xc
push 6
jmp 0x73c9ee
call sub.KERNEL32.DLL_GetLastError
mov ecx, eax
xor eax, eax
cmp ecx, 0x6d
jne 0x73c9ea
add esp, 0xc
ret
sub esp, 0xc
push ecx
call fcn.0073d80c
add esp, 0x10
add esp, 0xc
ret

Function at 0x73ca0c
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [0x7acbb8], eax
jbe 0x73ca49
sub esp, 0xc
lea ecx, [esp + 0x14]
push 0
push ecx
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [eax*4 + 0x7caecc]
call sub.KERNEL32.DLL_WriteFile
add esp, 0xc
cmp eax, 1
jne 0x73ca5a
mov eax, dword [esp + 8]
add esp, 0xc
ret
sub esp, 0xc
push 6
call fcn.0073d80c
add esp, 0x10
add esp, 0xc
ret
call fcn.0073d8ac
add esp, 0xc
ret
Function at 0x73d190
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebx
push edi
push esi
sub esp, 0x110
mov edi, dword [esp + 0x128]
mov ebx, dword [esp + 0x120]
test ebx, ebx
je 0x73d1ea
call sub.KERNEL32.DLL_GetLogicalDrives
lea ecx, [ebx - 1]
bt eax, ecx
jae 0x73d25f
add ebx, 0x40
mov byte [esp + 4], bl
mov word [esp + 5], 0x2e3a
mov byte [esp + 7], 0
lea eax, [esp + 8]
lea ecx, [esp + 0xd]
lea edx, [esp + 4]
push eax
push ecx
push 0x103
push edx
call sub.KERNEL32.DLL_GetFullPathNameA
jmp 0x73d207
sub esp, 8
lea eax, [esp + 0x15]
push eax
push 0x103
call sub.KERNEL32.DLL_GetCurrentDirectoryA
add esp, 8
test eax, eax
je 0x73d254
cmp eax, edi
jg 0x73d254
sub esp, 0xc
lea ebx, [esp + 0x19]
push ebx
call fcn.0073bc28
add esp, 0x10
cmp eax, edi
jge 0x73d247
mov esi, dword [esp + 0x124]
test esi, esi
jne 0x73d238
sub esp, 0xc
push edi
call fcn.0073af34
add esp, 0x10
mov esi, eax
test esi, esi
je 0x73d254
sub esp, 8
push ebx
push esi
call fcn.0073bbdc
add esp, 0x10
jmp 0x73d261
call fcn.00748224
mov dword [eax], 0x22
jmp 0x73d25f
call fcn.00748224
mov dword [eax], 8
xor esi, esi
mov eax, esi
add esp, 0x110
pop esi
pop edi
pop ebx
ret

Function at 0x73e800
Capabilities:
Delete file

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call sub.KERNEL32.DLL_DeleteFileA
sub esp, 4
cmp eax, 1
jne 0x73e81d
xor eax, eax
add esp, 0xc
ret
add esp, 0xc
jmp fcn.0073d8ac
Function at 0x740d84
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov ebx, dword [esp + 0x44]
call fcn.0073d270
test bh, 0xc0
jne 0x73c0db
mov eax, dword [0x7acc88]
mov ecx, 0xc000
and ecx, dword [eax]
or ebx, ecx
mov eax, ebx
and eax, 0x700
add eax, 0xffffff00
mov ecx, eax
shr ecx, 8
mov esi, 3
cmp ecx, 6
ja 0x73c0ff
sar eax, 6
mov esi, dword [eax + 0x7ac6c8]
mov edi, dword [esp + 0x40]
test bh, 1
je 0x73c128
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], eax
mov al, byte [0x7ac704]
and al, byte [esp + 0x48]
mov eax, 0x80
mov ecx, 1
cmovs ecx, eax
jmp 0x73c13b
mov dword [esp], edi
call sub.KERNEL32.DLL_GetFileAttributesA
sub esp, 4
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, ebx
and al, 3
je 0x73c154
cmp al, 2
je 0x73c15b
cmp al, 1
jne 0x73c253
mov eax, 0x40000000
jmp 0x73c160
mov eax, 0x80000000
jmp 0x73c160
mov eax, 0xc0000000
mov edx, ebx
and edx, 0x70
add edx, 0xfffffff0
shr edx, 4
cmp edx, 3
mov ebp, 3
cmovb ebp, edx
xor edx, edx
cmp eax, 0x80000000
sete dl
test bl, 4
cmove edx, ebp
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], 0
mov ebp, ebx
shr ebp, 7
not ebp
and ebp, 1
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x18], 0
call sub.KERNEL32.DLL_CreateFileA
sub esp, 0x1c
mov esi, eax
cmp esi, 0xffffffff
je 0x73c230
mov edi, ebx
shr edi, 1
not edi
and edi, 0x4000
or edi, ebx
mov dword [esp], esi
call fcn.0073c010
mov ecx, edi
or ecx, 0x2000
test eax, eax
cmove ecx, edi
and ecx, 0xfffff8ff
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0073d430
mov edi, eax
cmp edi, 0xffffffff
jne 0x73c261
mov dword [esp], 4
call fcn.0073d80c
mov dword [esp], esi
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
mov edi, 0xffffffff
jmp 0x73c261
call sub.KERNEL32.DLL_GetLastError
movzx eax, ax
test bh, 1
mov ecx, 0x50
mov edx, 2
cmovne edx, ecx
cmp eax, 0x6e
cmovne edx, eax
mov dword [esp], edx
jmp 0x73c25a
mov dword [esp], 1
call fcn.0073d80c
mov edi, eax
call fcn.0073d2c0
mov eax, edi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x73c0b8
Function at 0x740d9c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov ebx, dword [esp + 0x44]
call fcn.0073d270
test bh, 0xc0
jne 0x73c46f
mov eax, dword [0x7acc88]
mov ecx, 0xc000
and ecx, dword [eax]
or ebx, ecx
mov eax, ebx
and eax, 0x700
add eax, 0xffffff00
mov ecx, eax
shr ecx, 8
mov esi, 3
cmp ecx, 6
ja 0x73c493
sar eax, 6
mov esi, dword [eax + 0x7ac6e4]
mov edi, dword [esp + 0x40]
test bh, 1
je 0x73c4bc
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], eax
mov al, byte [0x7ac704]
and al, byte [esp + 0x48]
mov eax, 0x80
mov ecx, 1
cmovs ecx, eax
jmp 0x73c4cf
mov dword [esp], edi
call sub.KERNEL32.DLL_GetFileAttributesW
sub esp, 4
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, ebx
and al, 3
je 0x73c4e8
cmp al, 2
je 0x73c4ef
cmp al, 1
jne 0x73c5e7
mov eax, 0x40000000
jmp 0x73c4f4
mov eax, 0x80000000
jmp 0x73c4f4
mov eax, 0xc0000000
mov edx, ebx
and edx, 0x70
add edx, 0xfffffff0
shr edx, 4
cmp edx, 3
mov ebp, 3
cmovb ebp, edx
xor edx, edx
cmp eax, 0x80000000
sete dl
test bl, 4
cmove edx, ebp
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], 0
mov ebp, ebx
shr ebp, 7
not ebp
and ebp, 1
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x18], 0
call sub.KERNEL32.DLL_CreateFileW
sub esp, 0x1c
mov esi, eax
cmp esi, 0xffffffff
je 0x73c5c4
mov edi, ebx
shr edi, 1
not edi
and edi, 0x4000
or edi, ebx
mov dword [esp], esi
call fcn.0073c010
mov ecx, edi
or ecx, 0x2000
test eax, eax
cmove ecx, edi
and ecx, 0xfffff8ff
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0073d430
mov edi, eax
cmp edi, 0xffffffff
jne 0x73c5f5
mov dword [esp], 4
call fcn.0073d80c
mov dword [esp], esi
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
mov edi, 0xffffffff
jmp 0x73c5f5
call sub.KERNEL32.DLL_GetLastError
movzx eax, ax
test bh, 1
mov ecx, 0x50
mov edx, 2
cmovne edx, ecx
cmp eax, 0x6e
cmovne edx, eax
mov dword [esp], edx
jmp 0x73c5ee
mov dword [esp], 1
call fcn.0073d80c
mov edi, eax
call fcn.0073d2c0
mov eax, edi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x73c44c
Function at 0x742578
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x21c
mov dword [esp + 0x18], edx
mov esi, ecx
mov eax, dword [esi + 4]
lea ebp, [esp + 0x1c]
mov dword [esp + 8], ebp
mov dword [esp], eax
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 4], 0x1001
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0x10
mov dword [esp], ebp
call fcn.0073bc28
mov word [esp + eax + 0x1c], 0x5f
mov edi, dword [esi + 4]
mov dword [esp], ebp
call fcn.0073bc28
lea ecx, [esp + eax + 0x1c]
mov edx, pe_nt_image_headers32
sub edx, eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], edi
mov dword [esp + 4], 0x1002
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0x10
mov dword [esp], ebp
call fcn.0073bc28
mov word [esp + eax + 0x1c], 0x2e
mov edi, dword [esi]
mov dword [esp], ebp
call fcn.0073bc28
lea eax, [esp + eax + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 8], 0xa
call fcn.00745a74
mov edi, dword [esi + 0x24]
test edi, edi
je 0x74266c
mov dword [esp], edi
call fcn.0073bc28
mov ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0073bc28
mov ecx, ebp
mov ebp, eax
mov dword [esp], ecx
call fcn.0073bc28
add ebp, ebx
lea eax, [eax + ebp + 3]
lea ebp, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0073af4c
mov ebx, eax
mov dword [esi + 0x24], ebx
test ebx, ebx
jne 0x7426c1
jmp 0x742709
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0073bc28
mov ebx, eax
mov edi, ebp
mov dword [esp], ebp
call fcn.0073bc28
mov ebp, eax
lea eax, [ebx + ebp + 3]
mov dword [esp], eax
call fcn.0073af34
mov ebx, eax
mov dword [esi + 0x24], ebx
test ebx, ebx
je 0x742709
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0073bc28
lea eax, [ebp + eax + 3]
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [esp + 4], 0
call fcn.0073bac3
mov ebp, edi
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0073badc
mov edi, dword [esi + 0x24]
mov dword [esp], edi
call fcn.0073bc28
mov word [edi + eax], 0x3d
mov eax, dword [esi + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.0073badc
mov esi, dword [esi + 0x24]
mov dword [esp], esi
call fcn.0073bc28
mov word [esi + eax], 0xa
mov eax, 1
jmp 0x74270b
xor eax, eax
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x744164
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
push 0
push dword [edi + 4]
push 0xe
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.0073af34
add esp, 0x10
mov dword [edi + 4], eax
push esi
push eax
push 0xe
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
push 0
push dword [edi]
push 0xf
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.0073af34
add esp, 0x10
mov dword [edi], eax
test edi, edi
je 0x7441d7
push esi
push eax
push 0xf
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ecx, ecx
test eax, eax
setne cl
jmp 0x7441e6
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
xor ecx, ecx
and ecx, ebx
mov dword [esp + 8], ecx
push 0
push dword [edi + 8]
push 0x10
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.0073af34
add esp, 0x10
mov dword [edi + 8], eax
push esi
push eax
push 0x10
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
push 0
push dword [edi + 0xc]
push 0x50
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.0073af34
add esp, 0x10
mov dword [edi + 0xc], eax
push esi
push eax
push 0x50
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ecx, ecx
test eax, eax
setne cl
and ecx, ebx
mov ebx, ebp
mov ebp, ecx
push 0
push dword [edi + 0x10]
push 0x51
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.0073af34
add esp, 0x10
mov dword [edi + 0x10], eax
push esi
push eax
push 0x51
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
and ebx, ebp
and ebx, dword [esp + 8]
sub esp, 0xc
push 4
call fcn.0073af34
add esp, 0x10
mov esi, eax
test esi, esi
je 0x7442d0
push 4
push esi
push 0x11
push dword [esp + 0x2c]
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x7442df
push esi
call fcn.007452f8
add esp, 0x10
mov word [edi + 0x14], ax
sub esp, 0xc
push esi
call fcn.0073af44
add esp, 0x10
mov eax, 1
jmp 0x7442ea
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x7442e8
push esi
call fcn.0073af44
add esp, 0x10
xor eax, eax
and ebx, eax
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x748154
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push dword [esp + 0x4c]
call sub.KERNEL32.DLL_CreateFileA
add esp, 4
mov edi, eax
test edi, edi
je 0x74821a
sub esp, 0xc
lea eax, [esp + 0x14]
push eax
call sub.KERNEL32.DLL_GetLocalTime
add esp, 0xc
movzx eax, word [esp + 0xa]
mov dword [esp + 0x18], eax
movzx ecx, word [esp + 0xe]
movzx edx, word [esp + 8]
movzx ebp, word [esp + 0x10]
movzx eax, word [esp + 0x12]
movzx esi, word [esp + 0x14]
movzx ebx, word [esp + 0x16]
sub esp, 0xc
push ebx
push esi
push eax
push ebp
push edx
push ecx
push dword [esp + 0x3c]
push str._02d__02d__04d__02d:_02d:_02d._03d
push 0x7cb1d4
call fcn.00751f3a
add esp, 0x24
push 0x7cb1d4
call fcn.0073bc28
add esp, 4
push 0
lea ebx, [esp + 0x18]
push ebx
push eax
push 0x7cb1d4
push edi
call sub.KERNEL32.DLL_WriteFile
mov esi, dword [esp + 0x40]
push esi
call fcn.0073bc28
add esp, 4
push 0
push ebx
push eax
push esi
push edi
call sub.KERNEL32.DLL_WriteFile
push edi
call sub.KERNEL32.DLL_CloseHandle
add esp, 0xc
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x74824c
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x90
mov edi, dword [esp + 0xa0]
mov eax, dword [0x7cb1f4]
test eax, eax
mov ecx, dword [0x7cb1f0]
jne 0x748311
test ecx, ecx
jne 0x748311
cmp dword [0x7ae114], 0
je 0x748347
sub esp, 4
lea esi, [esp + 0x14]
push 0x80
push esi
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
sub esp, 4
push 0x5c
push esi
call fcn.007479f0
add esp, 0x10
test eax, eax
jne 0x7482bc
sub esp, 8
push 0x3a
push esi
call fcn.007479f0
add esp, 0x10
test eax, eax
je 0x7482bf
inc eax
mov esi, eax
mov dword [esp + 0xc], 0
call sub.KERNEL32.DLL_GetVersion
mov ecx, 0x12010
test eax, eax
jns 0x748302
call sub.KERNEL32.DLL_GetCurrentThreadId
sub esp, 4
lea ecx, [esp + 0x10]
push ecx
push 0x7483dc
push eax
call fcn.00751b38
add esp, 4
cmp dword [esp + 0xc], 0
mov eax, 0x11010
mov ecx, 0x12010
cmove ecx, eax
push ecx
push esi
push edi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x748394
cmp ecx, 0xffffffff
je 0x748394
test ecx, ecx
je 0x748328
sub esp, 0xc
push edi
call ecx
add esp, 0x10
mov eax, dword [0x7cb1f4]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x748394
cmp byte [eax], 0
je 0x748394
sub esp, 8
push edi
push eax
call fcn.00748154
add esp, 0xa0
jmp 0x74839a
sub esp, 0xc
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
add esp, 0xc
mov esi, eax
sub esp, 0xc
lea ebx, [esp + 0x1c]
push 0
push ebx
push 2
push 0x7adef0
push esi
call sub.KERNEL32.DLL_WriteFile
push edi
call fcn.0073bc28
add esp, 4
push 0
push ebx
push eax
push edi
push esi
call sub.KERNEL32.DLL_WriteFile
push 0
push ebx
push 2
push 0x7adef0
push esi
call sub.KERNEL32.DLL_WriteFile
add esp, 0xc
add esp, 0x90
pop esi
pop edi
pop ebx
ret
Function at 0x74a358
Capabilities:
Create thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, edx
mov ebx, ecx
cmp edi, 0xf
jg 0x74a381
test edi, edi
je 0x74a381
call fcn.00748224
mov dword [eax], 0x13
mov eax, 0xffffffff
jmp 0x74a407
call fcn.0074a024
mov esi, eax
test esi, esi
je 0x74a3d5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebx
mov dword [esi + 0x58], eax
sub esp, 8
lea eax, [esp + 0x10]
push eax
push ecx
push esi
push 0x74a4f8
push edi
push edx
call sub.KERNEL32.DLL_CreateThread
add esp, 8
test eax, eax
je 0x74a3e7
mov ecx, dword [esp + 0x2c]
mov dword [esi + 8], eax
test ecx, ecx
je 0x74a407
mov edx, dword [esp + 8]
mov dword [ecx], edx
jmp 0x74a407
call fcn.00748224
mov dword [eax], 8
mov eax, 0xffffffff
jmp 0x74a407
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x718
jne 0x74a402
sub esp, 0xc
push 0x59
call fcn.0073d80c
add esp, 0x10
jmp 0x74a407
call fcn.0073d8ac
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x74a520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
push esi
sub esp, 0x64
mov esi, dword [esp + 0x70]
mov dword [esp], 0x7d32b0
call sub.KERNEL32.DLL_EnterCriticalSection
sub esp, 4
mov eax, dword [0x7d6760]
cmp eax, 0x232
jl 0x74a58a
mov eax, dword [esp + 0x74]
mov byte [esp + 0x24], 0
mov dword [esp + 0x20], 0x20726f72
mov dword [esp + 0x1c], 0x72652065
mov dword [esp + 0x18], 0x726f6870
mov dword [esp + 0x14], 0x616d6553
mov dword [esp + 4], eax
lea edi, [esp + 0x14]
mov dword [esp], edi
call fcn.0073badc
mov dword [esp], edi
call fcn.007483bc
mov eax, dword [0x7d6760]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x7d32b0]
mov dword [esp], eax
call sub.KERNEL32.DLL_InitializeCriticalSection
sub esp, 4
mov eax, dword [0x7d6760]
lea ecx, [eax + 1]
mov dword [0x7d6760], ecx
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x7d32b0]
mov dword [esi], eax
mov dword [esp], 0x7d32b0
call sub.KERNEL32.DLL_LeaveCriticalSection
add esp, 0x60
pop esi
pop edi
ret

Function at 0x74a5d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
sub esp, 0x58
mov eax, dword [esp + 0x60]
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], 0x20726f72
mov dword [esp + 0x10], 0x72652065
mov dword [esp + 0xc], 0x726f6870
mov dword [esp + 8], 0x616d6553
mov dword [esp + 4], eax
lea esi, [esp + 8]
mov dword [esp], esi
call fcn.0073badc
mov dword [esp], esi
call fcn.007483bc
add esp, 0x58
pop esi
ret
Function at 0x9e7440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9e748c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9e7452
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9e74f0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9e7542
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9e7548
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9ffa35
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009ff6f5

Function at 0xa0482f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a046ae

Function at 0xa09de0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa09e0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa09e0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x100a3679
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101209f8]
jne 0x100a3683
repz ret
jmp fcn.100a5f97

Function at 0x100a692f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100a2387
and dword [ebp - 4], 0
cmp dword [0x10121b2c], 0
mov ebx, eax
jne 0x100a69e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100a6a91
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100a6a91
push eax
call fcn.100a2315
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10121b2c], eax
call esi
push eax
call fcn.100a2315
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10121b30], eax
call esi
push eax
call fcn.100a2315
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10121b34], eax
call esi
push eax
call fcn.100a2315
pop ecx
mov dword [0x10121b3c], eax
test eax, eax
je 0x100a69e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100a2315
pop ecx
mov dword [0x10121b38], eax
mov eax, dword [0x10121b38]
cmp eax, ebx
je 0x100a6a38
cmp dword [0x10121b3c], ebx
je 0x100a6a38
push eax
call fcn.100a2390
push dword [0x10121b3c]
mov esi, eax
call fcn.100a2390
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100a6a38
test edi, edi
je 0x100a6a38
call esi
test eax, eax
je 0x100a6a2f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100a6a2f
test byte [ebp - 0xc], 1
jne 0x100a6a38
or dword [ebp + 0x10], 0x200000
jmp 0x100a6a71
mov eax, dword [0x10121b30]
cmp eax, ebx
je 0x100a6a71
push eax
call fcn.100a2390
pop ecx
test eax, eax
je 0x100a6a71
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100a6a71
mov eax, dword [0x10121b34]
cmp eax, ebx
je 0x100a6a71
push eax
call fcn.100a2390
pop ecx
test eax, eax
je 0x100a6a71
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10121b2c]
call fcn.100a2390
pop ecx
test eax, eax
je 0x100a6a91
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100a6a93
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret