joyce8/EMBER2024-capa huggingface dataset:
Function at 0x551350
Capabilities:
Check http status code

Disassembly:
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push ebx
mov ebx, dword [edi]
mov eax, edx
push ebp
mov ebp, dword [esp + 0xc]
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
cmp eax, 2
je 0x551386
push str.Couldnt_set_desired_mode
push ebx
call fcn.0053cd90
add esp, 8
lea eax, [esi + 0x11]
pop esi
pop ebp
pop ebx
ret
cmp ecx, 0xc8
je 0x55139d
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ebx
call fcn.0053cd00
add esp, 0xc
cmp ebp, 0x13
jne 0x5513b1
push edi
call fcn.005512e0
add esp, 4
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x14
jne 0x5513c5
push edi
call fcn.0054e7a0
add esp, 4
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x15
jne 0x5513d7
mov eax, edi
call fcn.00551330
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x16
jne 0x5513e5
mov eax, edi
call fcn.00551340
mov esi, eax
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x556230
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push eax
call fcn.00556210
add esp, 4
mov dword [esp + 0xc], eax
jmp fcn.005203a1
Function at 0x5586d0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x5cd81c]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.0052d8c1
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x558735
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x558735
lea edx, [esp]
push edx
call dword [0x5cefbc]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00514038
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00514038
add esp, 0x108
ret
jmp 0x5586d0

Function at 0x558750
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x5cd81c]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.0052d8c1
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x558735
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x558735
lea edx, [esp]
push edx
call dword [0x5cefbc]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00514038
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00514038
add esp, 0x108
ret
jmp 0x5586d0
Function at 0x55d0f0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
push esi
push str.kernel32
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x55d10a
pop esi
pop ebp
pop ecx
ret
push ebx
push edi
push str.LoadLibraryExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [esp + 0x18]
mov edi, eax
push 0x5aabac
push ebx
mov dword [esp + 0x18], edi
call fcn.0051928a
add esp, 8
test eax, eax
je 0x55d156
test edi, edi
je 0x55d147
push 8
push 0
push ebx
call edi
pop edi
pop ebx
pop esi
mov ebp, eax
pop ebp
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop ebx
pop esi
mov ebp, eax
pop ebp
pop ecx
ret
test edi, edi
je 0x55d17c
push str.AddDllDirectory
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x55d17c
push 0x800
push 0
push ebx
call edi
pop edi
pop ebx
pop esi
mov ebp, eax
pop ebp
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, eax
test edi, edi
je 0x55d230
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x55d195
sub eax, edx
lea eax, [eax + edi + 1]
push eax
call dword [0x5cefb0]
mov esi, eax
add esp, 4
test esi, esi
je 0x55d226
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x55d226
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x55d1c3
sub eax, edx
mov ecx, 0x5c
mov word [eax + esi], cx
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x55d1e0
sub eax, edx
lea edx, [eax + esi]
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x55d1f0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x55d21d
push 8
push 0
push esi
call eax
push esi
mov ebp, eax
call dword [0x5cefb4]
add esp, 4
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
push esi
call dword [0x5cefb4]
add esp, 4
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret

Function at 0x55d270
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [eax + 0x2c]
mov ebx, dword [ebp]
mov ecx, dword [ebx + 0x1ec]
push esi
push edi
mov esi, ecx
test ecx, ecx
jne 0x55d28d
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.0053c750
push edx
push eax
call fcn.0053c780
mov ecx, eax
mov eax, edx
mov dword [esp + 0x24], eax
mov eax, esi
cdq
add esp, 0x10
mov edi, eax
sub edi, ecx
mov ecx, dword [esp + 0x14]
mov esi, edx
sbb esi, ecx
cmp dword [ebx + 0x1e0], 0
je 0x55d2fa
mov edx, dword [ebp + 0x184]
mov eax, dword [ebp + 0x180]
push edx
push eax
call fcn.0053c750
push edx
push eax
call fcn.0053c780
mov ecx, eax
mov eax, dword [ebx + 0x1e0]
mov ebp, edx
cdq
add esp, 0x10
sub eax, ecx
sbb edx, ebp
cmp esi, edx
jl 0x55d2fa
jg 0x55d2fe
cmp edi, eax
jae 0x55d2fe
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x55e3d0
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x55e402
push 0x2e
push esi
call fcn.00522fa0
add esp, 8
test eax, eax
je 0x55e400
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret

Function at 0x55e570
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x24
mov eax, dword [0x5cd81c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [esp + 0x30]
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x55e61a
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea esi, [esp + 0x20]
mov eax, ebp
mov byte [esp + 0x14], 8
mov byte [esp + 0x15], 2
mov dword [esp + 0x18], 0x6601
mov dword [esp + 0x1c], 8
call fcn.0055e4e0
mov ecx, esi
push 8
push ecx
call fcn.00562d50
mov ecx, dword [esp + 0x10]
add esp, 8
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x14
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
pop esi
test eax, eax
jne 0x55e62c
mov edx, dword [esp + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00514038
add esp, 0x24
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
push edi
push 0
push 0
mov dword [edi + 4], edx
mov edx, dword [esp + 0x20]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [esp + 4]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x24]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.00514038
add esp, 0x24
ret
Function at 0x55e7b0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x55e7c0
sub eax, edx
mov esi, eax
lea ebp, [esi + esi]
push ebp
call dword [0x5cefb0]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x55e7e9
pop edi
pop esi
pop ebp
lea eax, [ebx + 0x1b]
pop ebx
add esp, 0xc
ret
mov ecx, ebx
call fcn.005612e0
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, dword [esp + 0x28]
test eax, eax
je 0x55e86f
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x8002
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x55e862
mov eax, dword [esp + 0x10]
push 0
push ebp
push ebx
push eax
mov dword [esp + 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x1c]
push ecx
push esi
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov dword [esi + 0x10], eax
push ebx
mov byte [esi + 0x14], al
call dword [0x5cefb4]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x55eb60
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x55eb91
mov ecx, dword [esi]
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
ret

Function at 0x55eba0
Capabilities:
Hash data via wincrypt

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
ret
Function at 0x561d50
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, eax
mov eax, dword [esi]
cmp dword [eax + 4], 3
jne 0x561d72
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x561d66
xor eax, eax
pop edi
ret
mov eax, dword [eax + 8]
push eax
push edi
push 1
push ebx
call ecx
jmp 0x561da2
cmp dword [esi + 8], 0
jne 0x561d95
mov ecx, dword [eax + 8]
push 0x578770
push ecx
call fcn.00514c15
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x561d95
or eax, 0xffffffff
pop edi
ret
mov edx, dword [esi + 8]
push edx
push edi
push 1
push ebx
call fcn.00514ecc
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x561dc4
mov eax, dword [esi + 8]
test eax, eax
je 0x561dbe
push eax
call fcn.00514a89
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, edi
pop edi
ret
Function at 0x562da0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x5cefb0]
mov edi, eax
add esp, 4
test edi, edi
jne 0x562dc5
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x562e0c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x562e10
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
jbe 0x562e6e
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
sub ebp, 1
jne 0x562e33
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x562eb1
lea esp, [esp]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x5ab5bc
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x5ab5bd
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x562e80
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x4810e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4d000]
push edi
jmp 0x4810fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x481101
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4810f0
mov eax, 1
add ebx, ebx
jne 0x481113
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x481124
jne 0x481143
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x481143
dec eax
add ebx, ebx
jne 0x481130
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x481108
add ebx, ebx
jne 0x48113f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x481195
xor ecx, ecx
sub eax, 3
jb 0x48115b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4811ca
sar eax, 1
mov ebp, eax
jmp 0x481166
add ebx, ebx
jne 0x481166
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x481134
inc ecx
add ebx, ebx
jne 0x481174
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x481134
add ebx, ebx
jne 0x481181
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x481176
jne 0x481192
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x481176
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4811b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4811a6
jmp 0x4810f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4811b4
add edi, ecx
jmp 0x4810f6
pop esi
mov edi, esi
mov ecx, 0x33dc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4811d2
cmp byte [edi], 0x14
jne 0x4811d2
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 0x4811d7
lea edi, [esi + 0x7e000]
mov eax, dword [edi]
or eax, eax
je 0x48124f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x85b44]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x85c0c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x481204
mov ecx, edi
jns 0x481233
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 + 0x85c10]
or eax, eax
je 0x481249
mov dword [ebx], eax
add ebx, 4
jmp 0x481221
call dword [esi + 0x85c20]
mov ebp, dword [esi + 0x85c14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x481283
sub esp, 0xffffff80
jmp 0x440f6b
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444004]
jne 0x401010
repz ret
jmp fcn.00401866

Function at 0x4069ab
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.00403424
and dword [ebp - 4], 0
cmp dword [0x447484], 0
mov ebx, eax
jne 0x406a5c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406b0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406b0d
push eax
call fcn.004033b2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x447484], eax
call esi
push eax
call fcn.004033b2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x447488], eax
call esi
push eax
call fcn.004033b2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44748c], eax
call esi
push eax
call fcn.004033b2
pop ecx
mov dword [0x447494], eax
test eax, eax
je 0x406a5c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004033b2
pop ecx
mov dword [0x447490], eax
mov eax, dword [0x447490]
cmp eax, ebx
je 0x406ab4
cmp dword [0x447494], ebx
je 0x406ab4
push eax
call fcn.0040342d
push dword [0x447494]
mov esi, eax
call fcn.0040342d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406ab4
test edi, edi
je 0x406ab4
call esi
test eax, eax
je 0x406aab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406aab
test byte [ebp - 0xc], 1
jne 0x406ab4
or dword [ebp + 0x10], 0x200000
jmp 0x406aed
mov eax, dword [0x447488]
cmp eax, ebx
je 0x406aed
push eax
call fcn.0040342d
pop ecx
test eax, eax
je 0x406aed
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406aed
mov eax, dword [0x44748c]
cmp eax, ebx
je 0x406aed
push eax
call fcn.0040342d
pop ecx
test eax, eax
je 0x406aed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x447484]
call fcn.0040342d
pop ecx
test eax, eax
je 0x406b0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406b0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43cc00
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x445000]
push ebx
mov ebx, dword [0x81a1d4]
push esi
mov esi, dword [0x81a01c]
push eax
call fcn.0043caf0
add esp, 4
cmp dword [0x81a1d4], 0x2f
jne 0x43cc2b
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
call fcn.0043cb60
add esp, 4
cmp dword [0x81a1d4], 0x568
pop esi
pop ebx
jne 0x43cc4a
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
ret
Function at 0x411d10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x417920], ecx
add edx, 1
cmp edx, 0x100
jb 0x411d12
cmp edx, 0x800
jae 0x411dfb
mov edi, edi
mov eax, dword [edx*4 + 0x417520]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x417920]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x41791c], eax
jb 0x411dd0
mov dword [0x41790c], 0x412450
call fcn.00411f40
test eax, eax
jne 0x411e18
mov dword [0x41790c], 0x412370
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x1000ae40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004ffbb
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
mov eax, dword [0x10063790]
xor eax, esp
push eax
lea eax, [esp + 0x880]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xc]
mov dword [esp + 8], eax
call fcn.1002a350
xor ebx, ebx
push 0x206
lea ecx, [esp + 0x46a]
push ebx
push ecx
mov dword [esp + 0x894], ebx
call fcn.1003d360
push 0x206
lea edx, [esp + 0x67e]
push ebx
push edx
mov word [esp + 0x684], bx
call fcn.1003d360
add esp, 0x18
push esi
push edi
lea ecx, [esp + 0x14]
mov word [esp + 0x46c], bx
call fcn.1002b020
test eax, eax
je 0x1000aef5
push 0x104
lea eax, [esp + 0x468]
push eax
lea ecx, [esp + 0x14]
call fcn.1002a720
cmp word [esp + 0x464], bx
je 0x1000af2f
mov ecx, dword [esp + 8]
lea eax, [esp + 0x464]
mov edx, 0x104
call fcn.10002060
lea ecx, [esp + 0xc]
mov dword [esp + 0x888], 0xffffffff
call fcn.1002a3c0
xor eax, eax
jmp 0x1000b02f
call fcn.1000b5e0
movzx ebx, ax
cmp bx, 0x2e
jne 0x1000af48
mov ecx, dword [esp + 8]
mov word [ecx], 0
jmp 0x1000af14
push esi
push edi
push str.deviceharddisk_dpartition_d
lea edx, [esp + 0x678]
push 0x104
push edx
call fcn.10003980
movzx eax, bx
push eax
push 0x10058458
lea ecx, [esp + 0x480]
push 0x104
push ecx
call fcn.10003980
add esp, 0x24
lea edx, [esp + 0x66c]
push edx
lea eax, [esp + 0x468]
push eax
push 9
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
test eax, eax
je 0x1000af3d
push 0x104
lea edx, [esp + 0x670]
push edx
lea eax, [esp + 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ecx, 0x104
lea eax, [esp + 0x464]
cmp word [eax], 0
je 0x1000afd2
add eax, 2
sub ecx, 1
jne 0x1000afc2
jmp 0x1000aff5
test ecx, ecx
je 0x1000aff5
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0x464]
mov eax, 0x10058460
call fcn.100067e0
lea ecx, [esp + 0x464]
call fcn.1000b690
mov ecx, dword [esp + 8]
lea eax, [esp + 0x464]
mov edx, 0x104
call fcn.10002060
lea ecx, [esp + 0xc]
mov dword [esp + 0x888], 0xffffffff
call fcn.1002a3c0
mov eax, 1
mov ecx, dword [esp + 0x880]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.1003c13d
mov esp, ebp
pop ebp
ret