joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416dbb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42535c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004088e5
mov dword [ebp - 0x14], eax
cmp dword [0x4bea78], esi
jne 0x416eae
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x416e3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416f8e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x416f8e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416f8e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4bea78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4bea7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4bea80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4bea88], eax
test eax, eax
je 0x416eab
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4bea84], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416ed3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416ec6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x416ee8
push 4
pop eax
jmp 0x416f90
cmp dword [ebp - 0x14], esi
je 0x416ee8
push dword [0x4bea78]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416ecd
mov eax, dword [0x4bea84]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x416f46
cmp dword [0x4bea88], edi
je 0x416f46
push eax
call ebx
push dword [0x4bea88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416f46
test eax, eax
je 0x416f46
call ecx
test eax, eax
je 0x416f3b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x416f3b
test byte [ebp - 8], 1
jne 0x416f46
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416f76
mov eax, dword [0x4bea7c]
cmp eax, edi
je 0x416f73
push eax
call ebx
test eax, eax
je 0x416f73
call eax
mov esi, eax
test esi, esi
je 0x416f73
mov eax, dword [0x4bea80]
cmp eax, edi
je 0x416f73
push eax
call ebx
test eax, eax
je 0x416f73
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4bea78]
call ebx
test eax, eax
je 0x416f8e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416f90
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004065fc
mov esp, ebp
pop ebp
ret
Function at 0x42fb71
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43757a
call fcn.004339e0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43c770
mov dword [esi + 4], 0x43c758
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028e9
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov byte [esi + 0x4d], bl
mov dword [esi], 0x43c73c
mov dword [esi + 4], 0x43c724
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43196e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x43197d
pop dword [ebp - 4]
mov eax, 0xec0bffd6
sub eax, 0xebc8e659
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x3c29c
push 0
mov eax, 0x9014ed18
add eax, 0x702e9318
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x5fc8ca7b
sub ecx, 0x5fc87ca9
mov esi, eax
mov edx, 0x97e98874
add edx, 0x685b3d8c
add edx, dword [ebp - 4]
mov edi, 0xe2071562
mov ebx, dword [edx]
xor ebx, edi
mov dword [esi], ebx
add esi, 4
add edx, 0xe53088c6
sub edx, 0xe53088c2
loop 0x4319d6
add eax, 0xa6aecf85
add eax, 0x59525a96
xor ebx, ebx
add ebx, eax
add eax, 0xea303568
sub eax, 0xea303563
mov ecx, 0x400000
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x433770
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x433799
xor eax, eax
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4337a8
mov eax, 1
ret 4
Function at 0x4032b9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x4032d9
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x4032e8
mov ebx, 0x418ec0
mov eax, dword [ebp + 8]
test eax, eax
jl 0x4032fd
mov ecx, dword [0x429a78]
add ecx, eax
push ecx
call fcn.004034b4
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.0040349e
test eax, eax
je 0x403455
test byte [ebp + 0x17], 0x80
je 0x40343e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40ce30
mov dword [ebp - 0xc], eax
call 0x406a70
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x403494
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x40334d
mov esi, dword [ebp + 0x14]
mov edi, 0x414ec0
push esi
push edi
call fcn.0040349e
test eax, eax
je 0x403455
sub dword [ebp + 0x14], esi
mov dword [0x40ce48], edi
mov dword [0x40ce4c], esi
mov eax, dword [ebp - 8]
mov ecx, 0x40ce30
mov dword [0x40ce50], ebx
mov dword [0x40ce54], eax
call fcn.00406a90
test eax, eax
mov dword [ebp - 0x10], eax
jl 0x403436
mov esi, dword [0x40ce50]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x429ad4], 1
mov edi, eax
je 0x4033f5
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x4033bc
cmp dword [ebp + 0x14], 0
jne 0x4033f5
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x90]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0
call fcn.004055a6
mov dword [ebp - 0xc], edi
test esi, esi
je 0x40342a
cmp dword [ebp + 0x10], 0
jne 0x403412
push esi
push ebx
push dword [ebp + 0xc]
call fcn.004060c3
test eax, eax
je 0x40343a
add dword [ebp - 4], esi
jmp 0x40341e
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x40ce50]
cmp dword [ebp - 0x10], 1
jne 0x403370
jmp 0x403494
cmp dword [ebp + 0x14], 0
jg 0x403340
jmp 0x403494
push 0xfffffffffffffffc
jmp 0x403457
push 0xfffffffffffffffe
jmp 0x403457
test edi, edi
je 0x403489
cmp dword [ebp + 0x14], esi
jge 0x40344a
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.0040349e
test eax, eax
jne 0x403491
push 0xfffffffffffffffd
pop eax
jmp 0x403497
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x403465
mov esi, dword [ebp + 0x14]
mov edi, 0x414ec0
push esi
push edi
call fcn.0040349e
test eax, eax
je 0x403455
push esi
push edi
push dword [ebp + 0xc]
call fcn.004060c3
test eax, eax
je 0x40343a
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x40345a
jmp 0x403494
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x405b04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00404bed
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
test dword [esi - 0x55000004], edx
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
invalid
invalid
cdq
cld

Function at 0x406a90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [0xacfffff8], edi
mov byte [ebp - 0x7c2], 0xee
mov byte [ebp - 0x7c1], 0xa4
mov byte [ebp - 0x7c0], 0xac
mov byte [ebp - 0x7bf], 0xac
mov byte [ebp - 0x7be], 0xc0
push 0xb
lea eax, [ebp - 0x7cc]
push eax
call fcn.00404c1f
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00404b80
add esp, 0xc
jmp 0x406b87

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4322a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, 0x43d991
mov dword [esp], eax
mov dword [esp + 4], 0x43d4c4
mov dword [esp + 8], 0x43d4c0
mov dword [esp + 0xc], 0x43d4bc
mov dword [esp + 0x10], 0x43d4b8
mov dword [esp + 0x14], 0x43d4b4
mov dword [esp + 0x18], 0x43d968
mov dword [esp + 0x1c], 0x43d4b0
mov dword [esp + 0x20], 0x43d4ac
mov dword [esp + 0x24], 0x43d9a0
mov dword [esp + 0x28], 0x43d99c
mov dword [esp + 0x2c], 0x43dcc8
mov dword [esp + 0x30], 0x43e61c
mov dword [esp + 0x34], 0x43d4a8
mov dword [esp + 0x38], 0x43d4a4
mov dword [esp + 0x3c], 0x43d4a0
mov dword [esp + 0x40], str.__.___
mov dword [esp + 0x44], 0x43d490
mov dword [esp + 0x48], 0x43d19c
mov dword [esp + 0x4c], 0x43dac4
mov dword [esp + 0x50], str.___
mov dword [esp + 0x54], 0x43e618
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x43d48c
mov dword [esp + 0x64], 0x43d488
mov dword [esp + 0x68], 0x43d998
mov dword [esp + 0x6c], 0x43d484
mov dword [esp + 0x70], 0x43d1a0
mov dword [esp + 0x74], 0x43d18c
mov dword [esp + 0x78], 0x43d16c
mov dword [esp + 0x7c], 0x43d15c
mov dword [esp + 0x80], 0x43d154
mov dword [esp + 0x84], 0x43d14c
mov dword [esp + 0x88], 0x43d144
mov dword [esp + 0x8c], 0x43d198
mov dword [esp + 0x90], 0x43d480
mov dword [esp + 0x94], 0x43d9a4
mov dword [esp + 0x98], 0x43d190
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x43dacc
mov dword [esp + 0xc0], 0x43d228
mov dword [esp + 0xc4], 0x43d20c
mov dword [esp + 0xc8], str.C13ABDEF
mov dword [esp + 0xcc], str.ZYXWVUTSRQPONMLKJIHG
mov dword [esp + 0xd0], 0x43d250
mov dword [esp + 0xd4], str._:_
mov dword [esp + 0xd8], 0x43d164
mov dword [esp + 0xdc], 0x43d22c
mov dword [esp + 0xe0], 0x43d234
mov dword [esp + 0xe4], 0x43d478
mov dword [esp + 0xe8], 0x43d240
mov dword [esp + 0xec], 0x43d224
cmp cl, 0x3c
jae 0x4324bd
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x405a12
pop dword [ebp - 0x50]
mov eax, 0x2563f126
sub eax, 0x25239714
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x2e0e3c94
sub dword [ebp - 0x60], 0xdfbbf749
mov dword [ebp - 0x5c], 0xed5cff21
add dword [ebp - 0x5c], 0x44d64d24
mov dword [ebp - 0x58], 0x792d3e7d
add dword [ebp - 0x58], 0xd31f05b1
mov dword [ebp - 0x54], 0x68c2a8e1
sub dword [ebp - 0x54], 0x68c2a8e1
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xb153450e
add dword [ebp - 0x60], 0xc31f2448
mov dword [ebp - 0x5c], 0xc62efad6
add dword [ebp - 0x5c], 0x7b3d669f
mov dword [ebp - 0x58], 0x46229480
sub dword [ebp - 0x58], 0xe2b32814
mov dword [ebp - 0x54], 0x984c955d
add dword [ebp - 0x54], 0x67b36aa3
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x50cfe2a3
add eax, 0xaf709e5d
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x38530
push 0
call eax
mov ecx, 0x2cf101f2
add ecx, 0xd30f4b6e
mov esi, eax
mov edx, 0x82607ef7
sub edx, 0x82199af7
add edx, dword [ebp - 0x50]
mov ebx, 0x6e11d72f
sub ebx, 0x11e9a0b1
mov dword [ebp - 0x28], 0x26558ddb
mov edi, dword [edx]
sub dword [ebp - 0x18], 0x318a2329
sub edi, ebx
xor dword [ebp - 0x48], eax
mov dword [esi], edi
add dword [ebp - 0x4c], 0xccd93bd3
add esi, 0x78975b21
add esi, 0x8768a4e3
add edx, 4
loop 0x405b2f
add eax, 0x12853
xor ebx, ebx
add ebx, eax
add eax, 0x600d1fab
sub eax, 0x600d1fa6
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
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 0x40113d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x40113d
lcall 0x5de5, 0x8b10c483
jmp loc.0086bacc
Function at 0x10005bcf
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c4
mov eax, 0x1003132a
call fcn.10009696
mov edi, ecx
cmp dword [edi + 0x20], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3cc], eax
je 0x10005d61
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 0x3bc], 7
mov dword [ebp - 0x3b8], 1
jb 0x10005c14
mov eax, dword [esi]
lea ecx, [ebp - 0x3b8]
xor ebx, ebx
push ecx
push ebx
lea ecx, [ebp - 0x3bc]
push ecx
push ebx
push eax
push dword [edi + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x10005d57
cmp dword [ebp - 0x3bc], 7
jne 0x10005d57
test ecx, ecx
je 0x10005c64
push esi
lea eax, [edi + 8]
push eax
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x3b4]
call fcn.10011397
jmp 0x10005d6e
mov eax, dword [ebp - 0x3b8]
add eax, 2
mov dword [ebp - 0x3c8], ebx
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3c4], ebx
mov dword [ebp - 0x3c0], ebx
lea ecx, [ebp - 0x3c8]
mov dword [ebp - 4], ebx
push ecx
push eax
call fcn.10011397
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x3c4]
mov ecx, dword [ebp - 0x3c8]
sub eax, ecx
push 0
pop eax
cmove ecx, eax
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10005cba
mov eax, dword [esi]
lea edx, [ebp - 0x3b8]
push edx
push ecx
lea ecx, [ebp - 0x3bc]
push ecx
push ebx
push eax
push dword [edi + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
jne 0x10005c4c
mov edx, dword [ebp - 0x3c4]
mov ecx, dword [ebp - 0x3c8]
sub edx, ecx
mov esi, dword [ebp - 0x3cc]
xor eax, eax
test edx, edx
cmove ecx, eax
lea eax, [ecx + ebx*2]
push eax
lea ecx, [ebp - 0x28]
call fcn.10011397
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.10011397
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
inc eax
mov byte [ebp - 4], 1
add ebx, eax
call fcn.100023a0
mov edx, dword [ebp - 0x3c4]
mov ecx, dword [ebp - 0x3c8]
sub edx, ecx
push 0
mov eax, ecx
pop edi
cmove eax, edi
cmp byte [eax + ebx*2], 0
jne 0x10005cf2
test ecx, ecx
je 0x10005d53
mov edx, dword [ebp - 0x3c0]
sub edx, ecx
call fcn.10002962
mov al, 1
jmp 0x10005d59
xor al, al
call fcn.10009655
ret 8
push ecx
push ecx
lea ecx, [ebp - 0x3b4]
call fcn.10005db1
push 0x100437bc
lea eax, [ebp - 0x3b4]
push eax
call fcn.10011397
int3

Function at 0x100063cd
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x10041bf0
call fcn.10009a30
mov edi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.kernel32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x10006443
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x10006443
mov esi, dword [edx + ecx + 0xd8]
lea eax, [ecx + esi]
cmp edi, eax
jb 0x10006443
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x10006443
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1000644c
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000663a
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov edx, dword [0x10047b00]
push ebx
push esi
mov esi, ecx
mov ebx, 0x10000
cmp esi, 0x7ff80000
push edi
mov edi, 0xfff80000
lea eax, [esi - 0x7ff80000]
cmova ebx, eax
cmp esi, 0x80000000
lea eax, [esi + 0x7ff80000]
cmovb edi, eax
mov eax, dword [0x10047af4]
test edx, edx
jne 0x10006682
test eax, eax
je 0x10006695
mov edx, eax
mov dword [0x10047b00], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x10006695
cmp ecx, ebx
jb 0x10006695
cmp ecx, edi
jbe 0x10006779
mov edx, eax
test eax, eax
jmp 0x100066b7
test edx, edx
je 0x100066b2
mov eax, dword [edx + 8]
test eax, eax
je 0x100066b2
cmp eax, ebx
jb 0x100066b2
cmp eax, edi
jbe 0x10006779
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x10047b00], edx
jne 0x1000669b
and esi, 0xffff0000
cmp esi, 0x40000000
jbe 0x100066f9
lea ecx, [esi - 0x40000000]
mov edx, esi
call fcn.10011397
mov edx, eax
test edx, edx
jne 0x1000673f
lea edx, [esi - 0x40000000]
mov ecx, ebx
call fcn.10011397
mov edx, eax
test edx, edx
jne 0x1000673f
cmp esi, 0x40000000
jae 0x10006721
lea edx, [esi + 0x40000000]
mov ecx, esi
call fcn.10011397
mov edx, eax
test edx, edx
jne 0x1000673f
mov edx, edi
lea ecx, [esi + 0x40000000]
call fcn.10011397
mov edx, eax
test edx, edx
jne 0x1000673f
mov edx, esi
mov ecx, ebx
call fcn.10011397
mov edx, eax
test edx, edx
jne 0x1000673f
mov edx, edi
mov ecx, esi
call fcn.10011397
mov edx, eax
test edx, edx
je 0x1000679e
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x10047af4]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x10047b00], edx
mov dword [0x10047af4], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x10006769
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, ebx
jb 0x1000679e
cmp esi, edi
ja 0x1000679e
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.1000aff4
add esp, 0xc
mov eax, esi
jmp 0x100067a0
xor eax, eax
pop edi
pop esi
pop ebx
ret