joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ccf60
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x5ccf7d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x5cd08f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x5ccfb0
je 0x5ccffc
sub ecx, 0x2b
je 0x5ccff2
sub ecx, 4
je 0x5ccff7
dec ecx
sub ecx, 0xa
jb 0x5ccfe1
jmp 0x5ccfff
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x5ccfc2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x5ccfd0
jmp 0x5ccfff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x5ccfff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x5ccfff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x5ccfff
mov byte [eax], 0x3e
jmp 0x5ccfff
mov byte [eax], 0x3f
jmp 0x5ccfff
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x5ccf8f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x5cd04f
cmp byte [esp + 3], 0xff
jne 0x5cd04f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x5cd087
cmp dl, 0xff
je 0x5cd087
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x5ccf88
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x5cd11c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x8947a0
mov eax, ebx
mov edx, 8
test al, 1
je 0x5cd138
shr eax, 1
xor eax, 0xedb88320
jmp 0x5cd13a
shr eax, 1
dec edx
jne 0x5cd12b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x5cd124
pop ebx
ret
Function at 0x5cd150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x5cd159
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005c4a38
xor eax, eax
push ebp
push 0x5cd239
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.005cd11c
mov eax, dword [0x893e0c]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.005c2e7c
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.005c3218
call fcn.005c2ba8
test eax, eax
jne 0x5cd216
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.005c2fcc
mov dx, word [ebp - 8]
test dx, dx
jbe 0x5cd210
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x8947a0]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x5cd1ec
cmp dword [ebp - 8], 0
jne 0x5cd1c3
lea eax, [ebp - 0x154]
call fcn.005c2fec
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cd240
lea eax, [ebp - 4]
call fcn.005c4588
ret

Function at 0x5d8718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x5d8738
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x5d8726
pop edi
pop esi
pop ebx
ret
Function at 0x5e0fd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0x894cb4
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0x889670]
mov eax, dword [esi*4 + 0x8896b0]
xor eax, dword [esp]
call fcn.005e0f70
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.005e0fac
mov dword [ebx], eax
mov edx, dword [esi*4 + 0x889680]
mov eax, dword [esi*4 + 0x8896c0]
xor eax, dword [esp]
call fcn.005e0f70
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.005e0fac
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0x889690]
mov eax, dword [esi*4 + 0x8896d0]
xor eax, dword [esp]
call fcn.005e0f70
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.005e0fac
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0x8896a0]
mov eax, dword [esi*4 + 0x8896e0]
xor eax, dword [esp]
call fcn.005e0f70
mov edi, eax
mov eax, edi
call fcn.005e0fac
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x5e0fe0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5e1138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x5e116d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x5e1193
inc ebx
cmp ebx, 0xf
jne 0x5e117d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x5e114f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5eaee0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], 0x100
mov esi, 0x88e0f4
mov ebx, 0x898ce4
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.005e9e30
mov dword [esp + 8], eax
mov eax, edi
call fcn.005e9e40
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.005e9e30
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.005e9e40
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x5eaef9
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 0x40000
call dword [sym.imp.KERNEL32.DLL_HeapCreate]
mov dword [0x9fe6a8], eax
cmp dword [0x9fe6a8], 0
jne 0x40103d
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [0x9fe6a8]
push ecx
call fcn.00401330
add esp, 8
push eax
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0xe87
push 0
mov edx, dword [0x9fe6a8]
push edx
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [0x9fe6ac], eax
push 0xc1
push 0xd3f
mov eax, dword [0x9fe6ac]
push eax
push 0x4dfdc0
call fcn.004010c0
add esp, 0x10
mov ecx, dword [0x4e09d8]
push ecx
call fcn.00401340
push eax
mov edx, dword [0x9fe6a8]
push edx
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [0x9fe6a8]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapDestroy]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x487c0c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e09f0]
jne 0x487c16
repz ret
jmp fcn.00487daf

Function at 0x40481d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40482c
pop dword [ebp - 0x48]
mov eax, 0x3b2605a3
add eax, 0xc51a4289
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xbf2703ac
sub dword [ebp - 0x58], 0x70d4be61
mov dword [ebp - 0x54], 0xa0a083bc
add dword [ebp - 0x54], 0x9192c889
mov dword [ebp - 0x50], 0xd194a75
sub dword [ebp - 0x50], 0xc0cd0647
mov dword [ebp - 0x4c], 0xfa72c0c
add dword [ebp - 0x4c], 0xf058d3f4
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xd50b2575
add dword [ebp - 0x58], 0x9f6743e1
mov dword [ebp - 0x54], 0x82f4c876
sub dword [ebp - 0x54], 0x41886701
mov dword [ebp - 0x50], 0x292fd5dd
sub dword [ebp - 0x50], 0xc5c06971
mov dword [ebp - 0x4c], 0x651f64b0
add dword [ebp - 0x4c], 0x9ae09b50
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3b2ed
push 0
call eax
mov ecx, 0x7d148074
add ecx, 0x82ebbd5f
mov ebx, eax
mov edi, 0x1b9f822e
add edi, 0xe4a3c1d2
add edi, dword [ebp - 0x48]
mov edx, 0xa3743a7c
xor dword [ebp - 0x34], 0xcd27aa18
mov esi, dword [edi]
mov dword [ebp - 4], 0x82c8dd3f
xor esi, edx
sub dword [ebp - 0x28], 0x7a0aa216
mov dword [ebx], esi
add ebx, 0x683d06c9
add ebx, 0x97c2f93b
add edi, 0xce83a1d5
add edi, 0x317c5e2f
loop 0x40493e
add eax, 0xab83cf22
add eax, 0x547d1afd
mov ebx, eax
add eax, 0x9a734c27
sub eax, 0x9a734c22
mov ecx, 0xfe446ca6
sub ecx, 0xfe046ca6
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x10001c00
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x4f40
call 0x100562ff
movdqa xmm0, xmmword [0x6ae6000]
movdqa xmm1, xmmword [0x6ae6010]
mov ebx, dword [edx + 4]
mov dword [esp + 0x9c], ecx
mov ecx, dword [edx]
mov edi, edx
call fcn.10001c36
Function at 0x1001ac70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x1001acc0
cmp edi, esi
jb 0x1001ad2b
cmp edi, dword [ebp + 0x10]
ja 0x1001ad3e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x1001acc2
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x1001acb0
jmp 0x1001ad1f
ja 0x1001acc9
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x1001ac85
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x1001ad00
mov ebx, esi
sub ecx, edx
jns 0x1001ad17
jmp 0x1001ad21
cmp esi, edi
je 0x1001ad52
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x1001ad21
xor al, 1
cmp ebx, edi
jne 0x1001ace0
jmp 0x1001ad21
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x6ae6d6c
call fcn.10019880
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x6ae6d6c
call fcn.10018fb0
add esp, 4
ud2
mov ecx, 0x6aed3e4
mov edx, 0x2b
push 0x6ae6d5c
call fcn.100194a0
add esp, 4
ud2
Function at 0x1002f900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
movzx esi, byte [ebp + 0x18]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
or eax, dword [ebp + 8]
or esi, edx
mov edx, dword [ebp + 0xc]
and ecx, 0xfffff000
or esi, ecx
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10034d00
add esp, 8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1002f952
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0xc], ecx
mov dword [edi + 8], esi
jmp 0x1002fa29
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], edi
xor edi, edi
lea esi, [0x6ae83f5]
mov ecx, 0xfffffff9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
lea eax, [0x6ae83f6]
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
mov esi, eax
mov eax, ebx
add al, 0xd0
cmp al, 0xa
jb 0x1002f9a1
or bl, 0x20
mov eax, ebx
add al, 0x9f
cmp al, 6
jae 0x1002fa31
add bl, 0xa9
mov eax, ebx
mov edx, edi
movzx ebx, al
lea eax, [esi + 1]
shl edx, 4
or ebx, edx
test ecx, ecx
cmove eax, esi
je 0x1002f9c1
shld dword [ebp - 0x18], edi, 4
inc ecx
test esi, esi
mov edi, ebx
jne 0x1002f980
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1002f9e2
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
and eax, 0xfff
movzx eax, byte [ecx + eax]
mov byte [edx + 4], al
mov dword [edx], 0
jmp 0x1002fa29
mov ecx, 0x6aed2c9
mov edx, 0x13
xor ebx, 0x2c7
call fcn.1001cfa0
mov ecx, 0x6aed2a5
mov edx, 6
mov edi, eax
call fcn.1001cfa0
mov edx, dword [ebp - 0x10]
test eax, eax
mov ecx, 1
cmove eax, ecx
test edi, edi
cmove edi, ecx
mov dword [edx], edi
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], 0
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x6aebeb4
mov edx, 0xe
push 0x6ae7700
call fcn.100194a0
add esp, 4
ud2
Function at 0x406932
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406971
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406971
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406971
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406971
cmp dword [ecx + 0x74], 0xe
jbe 0x406971
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40c393
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 0x40c430
push ebx
push esi
call fcn.0040c35c
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.0040c2f0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40c3dd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c42f
push edi
push eax
call fcn.0040cfb0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40c3fd
call fcn.0040ae51
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c42e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040c2f0
add esp, 0x20
test eax, eax
jne 0x40c41c
push edi
call fcn.0040ae51
jmp 0x40c424
push ebx
call fcn.0040ae51
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 0x40d72d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x490130
push 0x490128
push str.FlsAlloc
push 0x1f
call fcn.0040d5ec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d761
push dword [ebp + 8]
mov ecx, esi
call dword [0x42114c]
call esi
jmp 0x40d767
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d7ab
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x490140
push 0x490138
push str.FlsGetValue
push 0x21
call fcn.0040d5ec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d7e2
push dword [ebp + 8]
mov ecx, esi
call dword [0x42114c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40d7ea
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x490148
push 0x490140
push str.FlsSetValue
push 0x22
call fcn.0040d5ec
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d824
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42114c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x412c80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412cad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412cad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001594
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000fa80
push 0x1000fa78
push 0x1000fa80
push 0x21
call fcn.100014cf
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100015cb
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f124]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100015d3
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000fa94
push 0x1000fa8c
push 0x1000fa94
push 0x22
call fcn.100014cf
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000160d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000f124]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x1000542b
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30c
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ecx + 0x28], ebx
mov ecx, dword [ecx + 0x1c]
cmp ecx, 5
push esi
push edi
jne 0x1002666
mov dword [ebp - 8], 0x28a0
mov dword [ebp - 4], 0x28ab
call fcn.01001ebc
push eax
push 0x28ac
lea ecx, [ebp - 0x30c]
call fcn.01003722
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 2
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push ebx
call edi
test eax, eax
je 0x100263c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x60000024
call dword [sym.imp.SHDOCVW.dll_Ordinal_159]
test eax, eax
je 0x10026e0
push 0
push 0x2844
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10026e0
dec ecx
mov dword [ebp - 8], 0x28a1
je 0x100269b
dec ecx
je 0x1002692
dec ecx
je 0x1002684
mov dword [ebp - 4], 0x28a6
mov esi, 0x28a4
jmp 0x10026a7
mov esi, 0x28a3
mov dword [ebp - 4], 0x28a9
jmp 0x10026a7
mov dword [ebp - 4], 0x28b0
jmp 0x10026a2
mov dword [ebp - 4], 0x28a5
mov esi, 0x28a2
call fcn.01001ebc
push eax
push esi
lea ecx, [ebp - 0x30c]
call fcn.01003722
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 1
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x2844
push ebx
call edi
test eax, eax
je 0x10026e0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.01001ebc
push eax
push dword [ebp - 8]
lea ecx, [ebp - 0x30c]
call fcn.01003722
push eax
mov ebx, 0x2842
push ebx
push dword [ebp + 8]
call esi
call fcn.01001ebc
push eax
push dword [ebp - 4]
lea ecx, [ebp - 0x30c]
call fcn.01003722
push eax
push 0x2840
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x2841
push dword [ebp + 8]
call esi
mov esi, dword [ebp - 0xc]
push 0x28a8
mov ecx, esi
jmp 0x100c481
Function at 0x405c83
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4345c0
call fcn.004339e0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407553
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x405caf
push edi
call esi
cmp eax, 0xffffffff
jne 0x405cf1
test ebx, ebx
je 0x405cee
lea ecx, [ebp - 0x18]
call fcn.004028e9
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.0040765c
test al, al
push dword [ebp - 0x18]
je 0x405ce8
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401abd
pop ecx
mov eax, esi
jmp 0x405cf1
call fcn.00401abd
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406306
Capabilities:
Get disk information

Disassembly:
mov eax, 0x434664
call fcn.004339e0
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0041c900
mov edi, dword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x4063d4
mov eax, SysReAllocString
cmp ebx, eax
ja 0x406342
mov eax, ebx
add eax, eax
push eax
call fcn.0040b97d
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x4063cd
cmp ebx, dword [ebp - 0x14]
ja 0x4063cd
lea ecx, [ebp - 0x2c]
call fcn.004028e9
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x4063b5
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x4063aa
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040b97d
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0040150c
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x406380
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401abd
push esi
call fcn.00401abd
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x4063d6
push esi
call fcn.00401abd
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40b97d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40b98c
pop dword [ebp - 8]
mov eax, 0x40b98c
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x38aaa
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xd674a97c
add ecx, 0x298b9569
xor ebx, ebx
add ebx, eax
mov edx, 0x44c600
add edx, dword [ebp - 8]
mov edi, 0xf44ee7db
mov dword [ebp - 4], 0x14471958
mov esi, dword [edx]
sub dword [ebp - 4], ecx
sub esi, edi
xor dword [ebp - 4], 0x5b8f54b1
mov dword [ebx], esi
sub dword [ebp - 4], 0x2509b483
add ebx, 0x3dace1d
sub ebx, 0x3dace19
add edx, 4
loop 0x40b9d7
add eax, 0xada3f5d0
add eax, 0x525cf897
mov ebx, eax
add eax, 0x8fb8123e
add eax, 0x7047edc7
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret