joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014120
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x43c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10014580
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov esi, 0x200
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 2
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp esi, 0x201
jae 0x100141b0
jmp 0x1001419e
jbe 0x10014239
cmp esi, 0x201
jae 0x100141b0
mov dword [ebp - 0x30], 0x200
lea ebx, [ebp - 0x448]
mov edi, esi
jmp 0x100141e1
mov edi, dword [ebp - 0x34]
sub esi, edi
je 0x100141d5
mov dword [ebp - 0x10], 0
push esi
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.10034f30
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
push ebx
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x10014208
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1001429c
cmp esi, edi
jne 0x10014190
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100142bb
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x1001419e
jmp 0x100141b0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0
cmp esi, eax
ja 0x100142d8
lea eax, [ebp - 0x48]
push esi
push ebx
push eax
call fcn.10011eb0
add esp, 0xc
movsd xmm0, qword [ebp - 0x48]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x40]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10014286
add eax, eax
push 2
push eax
push dword [ebp - 0x24]
call fcn.10005880
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x43c
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], bind
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x10014276
jmp 0x10014286
mov dword [ebp - 0x10], 0
push 0x1009fa5c
push 0x28
push str.internal_error:_entered_unreachable_codem
call fcn.10035d40
add esp, 0xc
jmp 0x100142e7
push 0x1009fa24
push eax
push esi
call fcn.10035ff0
add esp, 0xc
ud2
Function at 0x10014320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x438
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10014590
mov esi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 2
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 0
cmp esi, 0x201
jae 0x100143b0
jmp 0x1001439e
jbe 0x10014436
cmp esi, 0x201
jae 0x100143b0
mov dword [ebp - 0x30], 0x200
lea ebx, [ebp - 0x444]
mov edi, esi
jmp 0x100143e1
mov edi, dword [ebp - 0x34]
sub esi, edi
je 0x100143d5
mov dword [ebp - 0x10], 0
push esi
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.10034f30
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test eax, eax
jne 0x10014405
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10014499
cmp esi, edi
jne 0x10014390
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100144b8
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x1001439e
jmp 0x100143b0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0
cmp esi, eax
ja 0x100144d5
lea eax, [ebp - 0x44]
push esi
push ebx
push eax
call fcn.10011eb0
add esp, 0xc
movsd xmm0, qword [ebp - 0x44]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x3c]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10014483
add eax, eax
push 2
push eax
push dword [ebp - 0x24]
call fcn.10005880
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x438
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], bind
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x10014473
jmp 0x10014483
mov dword [ebp - 0x10], 0
push 0x1009fa5c
push 0x28
push str.internal_error:_entered_unreachable_codem
call fcn.10035d40
add esp, 0xc
jmp 0x100144e4
push 0x1009fa24
push eax
push esi
call fcn.10035ff0
add esp, 0xc
ud2
Function at 0x10023a90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10023ae8
mov esi, dword [esp + 0x18]
lea edi, [edx + eax*2]
xor ebx, ebx
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea ebp, [ebx + eax]
jne 0x10023ae0
cmp ebx, ebp
ja 0x10023b55
cmp ebp, dword [esp + 0x1c]
ja 0x10023b61
add ebx, esi
nop word [eax + eax]
test eax, eax
je 0x10023ae2
dec eax
cmp byte [ebx], cl
lea ebx, [ebx + 1]
jne 0x10023ad0
jmp 0x10023b3e
ja 0x10023ae8
cmp edx, edi
mov ebx, ebp
jne 0x10023aa5
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10023b42
mov esi, dword [esp + 0x20]
cmp eax, 1
movzx ecx, cx
mov ebx, esi
lea edi, [esi + eax]
mov al, 1
sbb ebx, 0xffffffff
nop word cs:[eax + eax]
nop
movzx edx, byte [esi]
test dl, dl
jns 0x10023b27
cmp ebx, edi
je 0x10023b4b
movzx esi, byte [ebx]
and edx, 0x7f
inc ebx
shl edx, 8
or edx, esi
mov esi, ebx
sub ecx, edx
js 0x10023b44
xor al, 1
xor ebx, ebx
cmp esi, edi
setne bl
add ebx, esi
cmp esi, edi
jne 0x10023b10
jmp 0x10023b44
xor eax, eax
jmp 0x10023b44
mov al, 1
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x100a2558
call fcn.10035c30
push 0x100a2568
push ebp
push ebx
call fcn.10036010
push 0x100a2568
push dword [esp + 0x20]
push ebp
call fcn.10035ff0

Function at 0x1002b922
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002b961
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002b961
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002b961
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1002b961
cmp dword [ecx + 0x74], 0xe
jbe 0x1002b961
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1002c9cf
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100a4128
push 0x100a4120
push str.FlsAlloc
push 0x1f
call fcn.1002c8eb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002ca03
push dword [ebp + 8]
mov ecx, esi
call dword [0x100371c0]
call esi
jmp 0x1002ca09
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002ca4d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100a4138
push 0x100a4130
push str.FlsGetValue
push 0x21
call fcn.1002c8eb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002ca84
push dword [ebp + 8]
mov ecx, esi
call dword [0x100371c0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002ca8c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100a4140
push 0x100a4138
push str.FlsSetValue
push 0x22
call fcn.1002c8eb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002cac6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100371c0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1002f27e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002f31b
push ebx
push esi
call fcn.1002f247
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002f1db
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002f2c8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002f31a
push edi
push eax
call fcn.1002d33f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002f2e8
call fcn.1002c798
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002f319
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002f1db
add esp, 0x20
test eax, eax
jne 0x1002f307
push edi
call fcn.1002c798
jmp 0x1002f30f
push ebx
call fcn.1002c798
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10030891
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x100c0788]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100308d1
cmp byte [ebx], 0xa
jne 0x100308d1
or byte [edi + eax + 0x28], 4
jmp 0x100308d6
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100309d5
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100309b8
inc eax
cmp dl, 0xd
je 0x10030902
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10030928
cmp eax, ecx
jae 0x10030936
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100308ea
jmp 0x100309d5
push 0
lea eax, [ebp - 0x10]
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 0x100309b3
cmp dword [ebp - 0x10], 0
je 0x100309b3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100c0788]
test byte [eax + edi + 0x28], 0x48
je 0x1003098d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10030978
mov byte [esi], dl
jmp 0x10030989
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100c0788]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100309d5
cmp byte [ebp - 1], 0xa
jne 0x1003099c
cmp esi, ebx
jne 0x1003099c
mov byte [esi], 0xa
jmp 0x100309d4
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100327d8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100309d5
mov byte [esi], 0xd
jmp 0x100309d4
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100c0788]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100309d2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100309d5
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100309de
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100c0788]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10030a24
cmp word [ebx], dx
jne 0x10030a24
or byte [eax + edi + 0x28], 4
jmp 0x10030a29
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10030b8c
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10030b6c
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10030a6a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10030aa0
cmp eax, edx
jae 0x10030aae
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10030a45
jmp 0x10030b8c
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10030b67
cmp dword [ebp - 0x18], 0
je 0x10030b67
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100c0788]
test byte [eax + edi + 0x28], 0x48
je 0x10030b3d
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10030b01
mov word [esi], cx
jmp 0x10030b38
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100c0788]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100c0788]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100c0788]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10030b8c
pop eax
cmp word [ebp - 4], ax
jne 0x10030b4d
cmp esi, ebx
jne 0x10030b4d
mov word [esi], ax
jmp 0x10030b89
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100327d8
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10030b8c
push 0xd
pop eax
jmp 0x10030b48
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100c0788]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10030b86
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10030b8c
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10034940
Capabilities:
Parse pe header

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

Function at 0x10035e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x68
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
test eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
je 0x10035ea1
cmp eax, 1
jne 0x10035f1e
mov dword [esp], 0x100a1aa4
jmp 0x10035ea8
mov dword [esp], 0x100a1aa2
mov edx, 2
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
jne 0x10035f3a
mov ecx, esp
lea edx, [esp + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0x100a1ae0
mov dword [esp + 0x3c], 3
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x10021650
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0x10021630
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x10021630
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 3
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.10035c60
mov edx, 7
mov dword [esp], 0x100a1aa6
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
je 0x10035ebd
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, esp
lea esi, [esp + 0x50]
mov dword [esp + 0x38], 0x100a1b14
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], edx
lea edx, [esp + 8]
mov dword [esp + 0x1c], 0x10021650
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x10020660
lea esi, [esp + 0x10]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], 0x10021630
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x10021630
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 4
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.10035c60
int3
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x2c1a6f9b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xe196159
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4196f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa59548]
xor edx, edx
cmp eax, edx
jne 0x419716
xor eax, eax
mov byte [eax + 0xa59448], al
inc eax
cmp eax, 0x100
jl 0x4196fe
mov dword [0xa59548], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa59448
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4197a7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41977a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x419748
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x419820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x419873
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41985a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret