joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c780
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa88
mov eax, dword [0x47f06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41c7a0
sub edx, ecx
sar edx, 1
cmp edx, 3
jbe 0x41ca12
push 2
lea eax, [edi + 2]
push 0x473548
push eax
call fcn.00445baf
add esp, 0xc
test eax, eax
je 0x41c7e7
push 2
push 0x473550
push edi
call fcn.00445baf
add esp, 0xc
test eax, eax
jne 0x41ca12
push 0x208
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x208
push 0
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [ebp - 0x828]
push 0x208
push 0
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [ebp - 0x620]
push 0x208
push 0
push eax
call fcn.0043f640
add esp, 8
lea edx, [ebp - 0x418]
mov ecx, edi
call fcn.00426620
add esp, 4
test eax, eax
je 0x41ca12
push 0
push ecx
push 0x473558
lea ecx, [ebp - 0x210]
call fcn.0041c3c0
add esp, 0xc
test eax, eax
je 0x41ca12
push ecx
lea edx, [ebp - 0x828]
lea ecx, [ebp - 0x210]
call fcn.00426620
add esp, 4
test eax, eax
je 0x41ca12
push ecx
push 0x473564
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x620]
call fcn.0041d370
lea eax, [ebp - 0x620]
push 0x47357c
push eax
call fcn.00445662
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ca12
lea eax, [ebp - 0x828]
push eax
push 0x473580
push esi
call fcn.00410030
add esp, 0xc
push 0x473594
push esi
call fcn.00410030
push 0x4735a8
push esi
call fcn.00410030
push 0x4735b8
push esi
call fcn.00410030
push edi
push 0x4735e8
push esi
call fcn.00410030
add esp, 0x24
lea eax, [ebp - 0x418]
push eax
push str.__rd__q___s__n
push esi
call fcn.00410030
add esp, 0xc
push 0x473624
push esi
call fcn.00410030
push 0x473644
push esi
call fcn.00410030
lea eax, [ebp - 0x418]
push eax
push 0x47367c
push esi
call fcn.00410030
add esp, 0x1c
push 0x4736b4
push esi
call fcn.00410030
lea eax, [ebp - 0x210]
push eax
push 0x4736c0
push esi
call fcn.00410030
add esp, 0x14
push esi
call fcn.004454f1
add esp, 4
mov dword [ebp - 0xa88], 0x44
lea eax, [ebp - 0xa84]
push 0x40
push 0
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [ebp - 0x620]
xorps xmm0, xmm0
movups xmmword [ebp - 0xa40], xmm0
push eax
lea eax, [ebp - 0xa30]
push 0x4736e0
push eax
call fcn.00410080
add esp, 0xc
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0xa88]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0xa30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41c9fd
push dword [ebp - 0xa3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xa40]
call esi
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret
Function at 0x41ca30
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x880
mov eax, dword [0x47f06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41ca50
sub edx, ecx
sar edx, 1
cmp edx, 3
jbe 0x41cc79
push 2
lea eax, [edi + 2]
push 0x473700
push eax
call fcn.00445baf
add esp, 0xc
test eax, eax
je 0x41ca97
push 2
push 0x473708
push edi
call fcn.00445baf
add esp, 0xc
test eax, eax
jne 0x41cc79
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [ebp - 0x620]
push 0x208
push 0
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x208
push 0
push eax
call fcn.0043f640
add esp, 0xc
push 0
push ecx
push str.tlib
lea ecx, [ebp - 0x210]
call fcn.0041c3c0
add esp, 0xc
test eax, eax
je 0x41cc79
push ecx
lea edx, [ebp - 0x620]
lea ecx, [ebp - 0x210]
call fcn.00426620
add esp, 4
test eax, eax
je 0x41cc79
push ecx
push str.deldir.bat
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x418]
call fcn.0041d370
lea eax, [ebp - 0x418]
push 0x473734
push eax
call fcn.00445662
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41cc79
lea eax, [ebp - 0x620]
push eax
push 0x473738
push esi
call fcn.00410030
add esp, 0xc
push str.set_i0_n
push esi
call fcn.00410030
push str.:LOOP_n
push esi
call fcn.00410030
push str.__ping_127.0.0.1__n_2_n
push esi
call fcn.00410030
push edi
push str.__del__q___s__n
push esi
call fcn.00410030
add esp, 0x24
push str.__set__a_ii1_n
push esi
call fcn.00410030
push str.__if___i___gtr_10_goto_END_n
push esi
call fcn.00410030
push edi
push str.__if_exist___s__goto_LOOP_n
push esi
call fcn.00410030
add esp, 0x1c
push str.:END_n
push esi
call fcn.00410030
lea eax, [ebp - 0x210]
push eax
push str.rd__s__q___s__n
push esi
call fcn.00410030
add esp, 0x14
push esi
call fcn.004454f1
add esp, 4
mov dword [ebp - 0x880], 0x44
lea eax, [ebp - 0x87c]
push 0x40
push 0
push eax
call fcn.0043f640
add esp, 0xc
lea eax, [ebp - 0x418]
xorps xmm0, xmm0
movups xmmword [ebp - 0x838], xmm0
push eax
lea eax, [ebp - 0x828]
push str.cmd.exe__c___s_
push eax
call fcn.00410080
add esp, 0xc
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x880]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x828]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41cc64
push dword [ebp - 0x834]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x838]
call esi
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret
Function at 0x41cc90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x47f06c]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push edi
call fcn.0041e540
push ecx
push dword [esp + 0x18]
push dword [esp + 0x18]
push str.tlib__llx
call fcn.0041db80
add esp, 0xc
lea ecx, [esp + 0x1c]
mov edx, esi
push eax
call fcn.0041d370
add esp, 8
lea eax, [esp + 0x18]
push 0
push 0x80
push 2
push 0
push 7
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41cd18
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x41cd25
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
nop dword [eax]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41cd4c
push 0xc8
call ebx
inc edi
cmp edi, 0xa
jl 0x41cd30
test esi, esi
je 0x41cd5c
cmp esi, 0xffffffff
je 0x41cd5c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x224]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret

Function at 0x41cf20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call fcn.0041ce10
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, 0x10624dd3
sub edi, dword [0x484124]
mul edi
mov esi, edx
shr esi, 6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
imul eax, esi, 0x3e8
sub edi, eax
mov eax, 0xcccccccd
mul edi
shr edx, 3
push edx
push esi
push 0x4738b0
push ebx
call fcn.0040ff80
add esp, 0x14
mov esi, eax
lea eax, [ebp + 0xc]
mov edx, 0xfff
sub edx, esi
push eax
push dword [ebp + 8]
lea ecx, [esi + ebx]
call fcn.0041d800
add esp, 8
add esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x480858]
cmp eax, 0xffffffff
je 0x41cfb3
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
call fcn.0040e8b0
test eax, eax
je 0x41cfc5
mov edx, esi
mov ecx, ebx
call fcn.0041ced0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cfd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.0041ce10
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, 0x10624dd3
sub edi, dword [0x484124]
mul edi
mov esi, edx
shr esi, 6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
imul eax, esi, 0x3e8
sub edi, eax
mov eax, 0xcccccccd
mul edi
shr edx, 3
push edx
push esi
push 0x4738c4
push ebx
call fcn.00410080
add esp, 0x14
mov edi, eax
lea eax, [ebp + 0xc]
mov ecx, 0x800
sub ecx, edi
push eax
push 0
push dword [ebp + 8]
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.0040ff30
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0044542d
add esp, 0x1c
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x480858]
cmp eax, 0xffffffff
je 0x41d082
or ecx, 0xffffffff
test esi, esi
push 0
cmovs esi, ecx
lea ecx, [esp + 0x10]
push ecx
add esi, edi
push esi
push ebx
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
call fcn.0040e8b0
test eax, eax
je 0x41d0bf
test ebx, ebx
je 0x41d0a5
mov ecx, ebx
call fcn.0041fc20
mov esi, eax
test esi, esi
je 0x41d0a7
mov ecx, esi
call fcn.0040fe00
jmp 0x41d0a9
xor esi, esi
xor eax, eax
mov edx, eax
mov ecx, esi
call fcn.0041ced0
test esi, esi
je 0x41d0bf
push esi
call fcn.0043bf25
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d0d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b260
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x47f06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x47fbd4], 0xffffffff
je 0x41d294
lea eax, [ebp + 0xc]
xor edx, edx
push eax
push dword [ebp + 8]
xor ecx, ecx
call fcn.0041d880
mov esi, eax
add esp, 8
mov edi, 0
mov dword [ebp - 0x1c], edi
add esi, 1
je 0x41d14d
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043c683
mov edi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], edi
mov word [edi], ax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
mov edx, esi
mov dword [ebp - 0x18], 0xffffffff
mov ecx, edi
call fcn.0041d880
add esp, 8
test edi, edi
jne 0x41d17b
xor eax, eax
mov ecx, 0x478d08
jmp 0x41d187
mov ecx, edi
call fcn.0040fde0
mov dword [ebp - 0x18], eax
mov ecx, edi
push 0
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push edx
push eax
push ecx
push dword [0x47fbd4]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x41d287
lea edx, [eax + 1]
call fcn.0041ce90
mov ecx, 0x478d08
test al, al
je 0x41d243
test edi, edi
mov dword [ebp - 0x20], 0xffffffff
cmovne ecx, edi
test ecx, ecx
je 0x41d1d4
call fcn.0041fc20
mov ebx, eax
jmp 0x41d1d6
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 1
test ebx, ebx
jne 0x41d1e5
xor eax, eax
jmp 0x41d1ef
mov ecx, ebx
call fcn.0040fe00
mov dword [ebp - 0x20], eax
lea eax, [eax*2 + 1]
mov dword [ebp - 0x10], eax
inc eax
push eax
call fcn.0043c683
mov esi, eax
test ebx, ebx
mov ecx, 0x478d08
mov edx, esi
cmovne ecx, ebx
mov byte [esi], 0
push dword [ebp - 0x10]
call fcn.0041d2b0
add esp, 8
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push 0
push ecx
push eax
push esi
push dword [0x47fbd4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.0043bf25
add esp, 4
test ebx, ebx
je 0x41d287
push ebx
jmp 0x41d27f
test edi, edi
cmovne ecx, edi
call fcn.0041fc20
mov esi, eax
test esi, esi
jne 0x41d25a
mov ecx, 0x478d08
jmp 0x41d263
mov ecx, esi
call fcn.0040fe00
mov ecx, esi
push 0
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
push edx
push eax
push ecx
push dword [0x47fbd4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x41d287
push esi
call fcn.0043bf25
add esp, 4
test edi, edi
je 0x41d294
push edi
call fcn.0043bf25
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41d5e0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x25
mov esi, ecx
mov dword [ebp - 4], 0x25
call fcn.0043c683
add esp, 4
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push 1
push 0x10
push esi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x41d615
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0041d5b0
push edi
mov dword [ebp - 4], eax
call fcn.0043bf25
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d7b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
sub ecx, edx
push edi
mov edi, dword [ebp + 8]
sub edi, edx
nop
mov al, byte [ecx + edx]
lea edx, [edx + 1]
xor al, byte [edx - 1]
mov byte [edi + edx - 1], al
sub esi, 1
jne 0x41d7c0
pop edi
pop esi
pop ebp
ret

Function at 0x41e540
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x48408c], 6
push esi
mov esi, ecx
jb 0x41e56d
push 2
push 8
push esi
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
jns 0x41e599
mov ecx, esi
call fcn.0041e610
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x496834]
cmp eax, dword [ecx + 4]
jg 0x41e5a3
mov eax, dword [0x497c60]
test eax, eax
je 0x41e561
push esi
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x41e561
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push 0x496834
call fcn.0043c0e7
add esp, 4
cmp dword [0x496834], 0xffffffff
jne 0x41e582
push 0xf0000020
push 0x18
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x41e5ee
push 0xf0000020
push 3
push eax
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
jmp 0x41e5ee
mov eax, dword [ebp - 4]
push 0x496834
mov dword [0x497c60], eax
call fcn.0043c09d
add esp, 4
jmp 0x41e582
Function at 0x41e610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b2bc
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x47f06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00420860
mov ebx, eax
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx]
mov ecx, dword [0x496838]
cmp ecx, dword [edx + 4]
jg 0x41e6a1
lea eax, [esi + 8]
cmp eax, esi
sbb edi, edi
add edi, 1
je 0x41e683
call fcn.0041f640
mov dword [esi], eax
lea esi, [esi + 8]
mov dword [esi - 4], edx
sub edi, 1
jne 0x41e671
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x496838
call fcn.0043c0e7
add esp, 4
cmp dword [0x496838], 0xffffffff
jne 0x41e665
mov dword [ebp - 4], 0
call fcn.0043b6b9
xor edi, edi
mov dword [0x497bc8], 0x55555555
mov esi, eax
mov dword [0x497bcc], 0x55555555
mov dword [0x496848], esi
mov dword [0x49684c], edi
lea ebx, [edi + 1]
jmp 0x41e6f0
push 0x5851f42d
xor eax, eax
mov ecx, edi
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edi
xor ecx, esi
push eax
push ecx
call fcn.0043ca00
mov esi, eax
mov edi, edx
mov eax, ebx
cdq
add esi, eax
mov dword [ebx*8 + 0x496848], esi
adc edi, edx
mov dword [ebx*8 + 0x49684c], edi
inc ebx
cmp ebx, 0x138
jl 0x41e6f0
push 0x496838
mov dword [0x496840], 0x138
call fcn.0043c09d
mov esi, dword [ebp - 0x10]
add esp, 4
mov ebx, dword [ebp - 0x14]
jmp 0x41e665
Function at 0x41e7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0
push 0x2f5
mov eax, edx
mov dword [ebp - 0x18], ecx
push 0
push eax
mov dword [ebp - 0xc], eax
mov ebx, ecx
call fcn.0045a770
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x1c], 0
mov edi, dword [eax*8 + 0x480ee0]
mov esi, dword [eax*8 + 0x480ee4]
xor edi, 0x4190944b
xor esi, 0x313b88a3
mov dword [ebp - 0x10], edi
mov eax, edi
mov dword [ebp - 0x14], esi
xor eax, 0xcf82b318
mov dword [ebp - 4], eax
mov eax, esi
xor eax, 0xa0f643cc
mov dword [ebp - 8], eax
mov eax, ecx
and ecx, 0xfffffff8
and eax, 7
mov dword [ebp - 0x24], eax
lea eax, [ecx + ebx]
shr ecx, 3
cmp ebx, eax
cmova ecx, edx
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x41e90b
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
xor eax, 0x57ff7a3a
push 0xda5174b5
push 0xa1d8414f
xor ecx, 0xd28cb573
push eax
push ecx
call fcn.0043ca00
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov ebx, edx
xor esi, esi
mov edx, dword [ebp - 0x10]
mov eax, edx
shrd edx, ecx, 0x11
shl eax, 0xf
shr ecx, 0x11
or esi, edx
or eax, ecx
mov ecx, edi
xor ecx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, ebx
xor eax, dword [ebp - 8]
push 0
push 0x2f5
push eax
push ecx
call fcn.0045a770
mov ecx, dword [ebp - 0x14]
xor esi, dword [eax*8 + 0x480ee0]
xor ecx, dword [eax*8 + 0x480ee4]
xor esi, edi
mov eax, dword [ebp - 0x1c]
xor ecx, ebx
add dword [ebp - 4], 0x17
mov edi, esi
mov ebx, dword [ebp - 0x18]
adc dword [ebp - 8], 0
add ebx, 8
inc eax
mov dword [ebp - 0x10], esi
mov esi, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0xc]
jb case.default.0x41e90e
mov eax, dword [ebp - 0x24]
jmp dword [eax*4 + 0x41e9f8]
mov eax, 0x88888888
mov edx, eax
jmp 0x41e9d8
mov al, byte [ebx]
mov edx, 0x11111111
mov dword [ebp - 0x20], 0x11111111
mov byte [ebp - 0x20], al
jmp 0x41e9d5
mov ax, word [ebx]
mov edx, 0x22222222
mov dword [ebp - 0x20], 0x22222222
mov word [ebp - 0x20], ax
jmp 0x41e9d5
mov ax, word [ebx]
mov edx, 0x33333333
mov dword [ebp - 0x20], 0x33333333
mov word [ebp - 0x20], ax
mov al, byte [ebx + 2]
mov byte [ebp - 0x1e], al
jmp 0x41e9d5
mov eax, dword [ebx]
mov edx, 0x44444444
mov dword [ebp - 0x20], 0x44444444
jmp 0x41e9d8
mov cl, byte [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], 0x55555555
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x55555555
jmp 0x41e9d8
mov cx, word [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], 0x66666666
mov word [ebp - 0x1c], cx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x66666666
jmp 0x41e9d8
mov cx, word [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], 0x77777777
mov word [ebp - 0x1c], cx
mov cl, byte [ebx + 6]
mov byte [ebp - 0x1a], cl
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x77777777
jmp 0x41e9d8
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
xor ecx, ecx
add ebx, dword [ebp - 4]
adc ecx, dword [ebp - 8]
push ecx
push ebx
push edx
push eax
push esi
push edi
call fcn.0041e770
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4203a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x47f06c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x48408c], 6
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x224], edi
jb 0x420508
mov dword [ebp - 0x220], 0x24
mov ebx, 0x24
mov dword [ebp - 0x21c], 0x26
mov dword [ebp - 0x218], 0x2a
mov dword [ebp - 0x214], 0x23
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x228], 0
nop dword [eax]
push 0
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4204eb
nop word [eax + eax]
lea esi, [ebp - 0x20c]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x420440
sub esi, ecx
lea eax, [ebp - 0x20c]
sar esi, 1
push esi
push edi
push eax
call fcn.004491ad
add esp, 0xc
test eax, eax
jne 0x420483
movzx eax, word [edi + esi*2]
test ax, ax
je 0x42051b
cmp eax, 0x5c
je 0x42051b
cmp eax, 0x2f
je 0x42051b
cmp ebx, 0x26
jne 0x4204eb
lea esi, [esi*2 - 0xc]
mov ecx, str.__x86_
lea edi, [ebp - 0x20c]
add edi, esi
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4204c6
test dx, dx
je 0x4204c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4204c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4204a0
xor eax, eax
jmp 0x4204cb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4204e5
cmp esi, 0x208
jae 0x420531
mov word [edi], ax
mov edi, dword [ebp - 0x224]
jmp 0x420430
mov edi, dword [ebp - 0x224]
mov eax, dword [ebp - 0x228]
inc eax
mov dword [ebp - 0x228], eax
mov ebx, dword [ebp + eax*4 - 0x220]
cmp ebx, 0xffffffff
jne 0x420410
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043bdd7
mov esp, ebp
pop ebp
ret
call fcn.0043c2fc
int3

Function at 0x420540
Capabilities:
Get common file path

Disassembly:
cmp dword [0x48408c], 6
push esi
push edi
mov edi, edx
mov esi, ecx
jb 0x4205c0
call fcn.004203a0
test eax, eax
je 0x4205a9
push 0
push 0x1c
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4205a9
cmp word [esi + 2], 0x3a
jne 0x4205a9
cmp word [esi + 4], 0x5c
lea edx, [esi + 4]
jne 0x4205a9
mov ecx, edi
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420580
sub ecx, esi
sar ecx, 1
push edx
push str.VirtualStore_s
lea eax, [edi + ecx*2]
push eax
call fcn.00410080
add esp, 0xc
mov eax, 1
pop edi
pop esi
ret
sub edi, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [edi + esi - 2], ax
test ax, ax
jne 0x4205b0
pop edi
xor eax, eax
pop esi
ret