joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ed7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
cmp dword [0x48b12c], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], str.getaddrinfo
mov dword [ebp - 0x14], 0x401a54
mov dword [ebp - 0x10], str.getnameinfo
mov dword [ebp - 0xc], 0x401d23
mov dword [ebp - 8], str.freeaddrinfo
mov dword [ebp - 4], fcn.00401a18
jne 0x402031
push 0x104
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x402027
lea eax, [ebp - 0x230]
push eax
mov esi, 0x10c
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.00435053
push str.ws2_32
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0043455f
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x401f94
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x401f90
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
jne 0x401fe9
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.00435053
push str.wship6
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0043455f
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x402027
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x401fe5
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x402027
xor esi, esi
push dword [ebp + esi*8 - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + esi*8 - 0x14], eax
test eax, eax
je 0x402006
inc esi
cmp esi, 3
jl 0x401feb
jmp 0x40200f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x402027
xor eax, eax
mov ecx, dword [ebp + eax - 0x14]
mov dword [eax + 0x487338], ecx
add eax, 8
cmp eax, 0x18
jl 0x402015
mov dword [0x48b12c], 1
mov eax, dword [0x487338]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40227a
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
mov edx, 0xf8c9
xor eax, eax
jmp 0x402298
imul eax, edx
imul edx, edx, 0x5c6b7
movsx ecx, cl
add eax, ecx
inc esi
mov cl, byte [esi]
test cl, cl
jne 0x402289
cmp dword [ebp + 8], 0
pop esi
je 0x4022ac
xor edx, edx
div dword [ebp + 8]
mov eax, edx
pop ebp
ret
Function at 0x404390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
push esi
xor ebx, ebx
mov byte [ebp - 1], 1
call fcn.004368ec
add esp, 8
test eax, eax
jne 0x4043de
push 0x46e9ac
push esi
call fcn.0043571a
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x4043e8
push esi
push str.ERROR:_Unable_to_open__s_for_reading_n
call fcn.00436f1a
mov eax, dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x4043de
mov dword [eax], ebx
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0x18], bl
je 0x40443a
cmp byte [ebp + 0x14], bl
je 0x4043fe
mov ecx, dword [ebp - 0x24]
inc ecx
push ecx
call fcn.00434234
jmp 0x404408
mov edx, dword [ebp - 0x24]
inc edx
push edx
call fcn.00433bd9
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ecx]
add esp, 4
test eax, eax
je 0x4043de
mov edx, dword [ebp - 0x24]
mov byte [eax + edx], bl
mov eax, dword [ecx]
test eax, eax
jne 0x404470
push esi
push str.Unable_to_allocate_memory_to_read__s_to_mem
call fcn.00436f1a
add esp, 8
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0x14], bl
je 0x40444a
mov esi, dword [ebp - 0x24]
push esi
call fcn.00434234
jmp 0x404456
mov edx, dword [ebp - 0x24]
push edx
call fcn.00433bd9
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov edx, ecx
mov dword [ecx], eax
mov eax, dword [edx]
add esp, 4
test eax, eax
jne 0x404473
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp - 0x24]
push edi
mov edi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40447f
mov dword [eax], esi
test esi, esi
je 0x4044e8
sub esi, ebx
cmp esi, 0x8000
jbe 0x404492
mov esi, 0x8000
mov eax, dword [ebp - 8]
push eax
push esi
push 1
push edi
call fcn.0043597b
add esp, 0x10
cmp eax, esi
jne 0x4044b3
mov esi, dword [ebp - 0x24]
add ebx, eax
add edi, eax
cmp ebx, esi
jb 0x404483
jmp 0x4044e8
mov ecx, dword [ebp + 8]
push ecx
push ebx
push esi
push str.Unable_to_read__li_bytes_at_offset__li_from_file__s_n
call fcn.00436f1a
mov esi, dword [ebp + 0xc]
mov edx, dword [esi]
push edx
call fcn.00434c0f
mov eax, dword [ebp + 0x10]
add esp, 0x14
mov dword [esi], 0
test eax, eax
je 0x4044e4
mov dword [eax], 0
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
push eax
call fcn.00435e10
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4061f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
push ebx
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
mov ebx, ecx
push edi
mov dword [ebp - 8], ebx
call fcn.004368ec
add esp, 8
test eax, eax
jne 0x406397
push esi
push 0x200
call fcn.00434234
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, esi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406233
sub eax, edx
inc eax
push eax
push edi
mov ecx, ebx
call fcn.00403e80
mov dword [ebp - 0x10], eax
lea edi, [eax - 1]
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406250
mov dx, word [0x46d3dc]
mov word [edi], dx
mov ecx, esi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x406264
sub ecx, esi
mov edx, ecx
lea edi, [eax - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406272
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x180]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0xc], edi
cmp edi, 0xffffffff
je 0x406384
mov dword [ebp - 4], 0x200
mov dword [ebp + 0x14], 0x80
cmp byte [ebp + 0x10], 0
je 0x40632b
lea eax, [ebp - 0x154]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4062c1
sub eax, edx
mov edx, dword [ebp + 0xc]
inc eax
push eax
push edx
mov ecx, ebx
call fcn.00403e80
mov ebx, eax
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4062e0
mov ax, word [0x46d3dc]
mov word [edi], ax
lea eax, [ebp - 0x154]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406300
sub eax, ecx
mov esi, ecx
lea edi, [ebx - 1]
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406310
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0xc]
jmp 0x40633d
push 0
lea ecx, [ebp - 0x154]
push ecx
mov ecx, ebx
call fcn.00403e80
mov ebx, eax
cmp dword [ebp + 0x14], 2
mov esi, dword [ebp + 8]
jae 0x406367
mov eax, dword [ebp - 4]
mov edx, dword [esi]
sub dword [ebp + 0x14], 0xffffff80
add eax, 0x200
push eax
push edx
mov dword [ebp - 4], eax
call fcn.00434c49
add esp, 8
test eax, eax
je 0x4063a1
mov dword [esi], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x180]
push ecx
push edi
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ebx, dword [ebp - 8]
test eax, eax
jne 0x4062b2
lea edx, [ebp - 0x10]
push edx
mov ecx, ebx
call fcn.00403fb0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi]
test eax, eax
je 0x4063b0
push eax
call fcn.00434c0f
add esp, 4
mov dword [esi], 0
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x413650
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1a0]
push eax
call fcn.00429580
mov eax, dword [esi + 0x198]
mov ecx, dword [esi + 0x19c]
mov edx, eax
add esp, 4
or edx, ecx
je 0x413689
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [esi + 0x198], eax
mov dword [esi + 0x19c], ecx
jmp 0x413694
push str.Attempt_to_reduce_CMuppet_ref_count___0_IGNORED
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x1a0]
push eax
call fcn.004295a0
mov ecx, dword [esi + 0x11c]
push ecx
call fcn.00429580
cmp byte [esi + 0x86], 0
mov edx, dword [esi + 0x11c]
push edx
sete bl
call fcn.004295a0
add esp, 0xc
pop esi
mov al, bl
pop ebx
ret

Function at 0x415300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x41531a
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [eax + 0x20]
push 0
push eax
lea ecx, [ebp - 0x80]
push str.size:__llu__hash:__s
push ecx
call fcn.00434d42
lea eax, [ebp - 0x80]
add esp, 0x14
lea edx, [eax + 1]
jmp 0x415340
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415340
sub eax, edx
cmp eax, 0x80
jae 0x415367
mov edx, 0x80
sub edx, eax
push edx
lea ecx, [ebp + eax - 0x80]
push 0
push ecx
call fcn.004384e0
add esp, 0xc
push esi
push 0x80
lea eax, [ebp - 0x80]
push 1
push eax
call fcn.004374b0
add esp, 0x10
cmp eax, 0x80
jne 0x415311
push esi
call fcn.00437772
add esp, 4
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x417570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x100
push esi
push eax
push 0x80
mov esi, ecx
lea ecx, [ebp - 0x80]
push 1
push ecx
call fcn.0043597b
add esp, 0x10
cmp eax, 0x80
je 0x4175a3
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x80]
mov byte [ebp - 1], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4175b0
sub eax, edx
cmp eax, 0x80
jae 0x4175cf
cmp byte [ebp + eax - 0x80], 0
jne 0x41759a
inc eax
cmp eax, 0x80
jb 0x4175c0
lea edx, [ebp - 0x100]
push edx
push str.size
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call fcn.00414240
test al, al
je 0x41759a
lea ecx, [ebp - 0x100]
push edi
push ecx
call fcn.00433f44
add esp, 4
lea edx, [ebp - 0x100]
push edx
mov edi, eax
push str.hash
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call fcn.00414240
test al, al
je 0x41762e
lea eax, [ebp - 0x100]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417620
sub eax, edx
cmp eax, 0x20
jb 0x417638
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x24
call fcn.00433bd9
add esp, 4
test eax, eax
je 0x417654
mov dword [eax + 0x20], 0
mov byte [eax], 0
mov edx, eax
jmp 0x417656
xor edx, edx
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x100]
mov ecx, eax
mov dword [esi], edx
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x417665
mov edx, dword [esi]
mov dword [edx + 0x20], edi
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x419b10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x10c]
push esi
push eax
call fcn.00429580
mov eax, dword [ebx + 0x190]
add esp, 4
test eax, eax
je 0x419b3f
push eax
call fcn.00434c0f
add esp, 4
mov ecx, dword [ebx + 0x10c]
push ecx
mov dword [ebx + 0x190], 0
call fcn.004295a0
add esp, 4
push 0x104
lea edx, [ebp - 0x104]
push edx
push str.MUP_CACHEDIR
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
dec eax
cmp eax, 0x102
ja 0x419b7f
lea esi, [ebp - 0x104]
jmp 0x419ba9
mov esi, dword [ebp + 8]
test esi, esi
jne 0x419ba9
push esi
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.0042b490
add esp, 0xc
test al, al
je 0x419cc5
lea esi, [ebp - 0x208]
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419bb0
sub eax, edx
add eax, 0x11
push eax
call fcn.00434234
add esp, 4
mov dword [ebx + 0x190], eax
mov ecx, esi
mov edx, eax
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x419bd0
push edi
mov edi, dword [ebx + 0x190]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419be6
sub eax, edx
je 0x419c12
cmp byte [edi + eax - 1], 0x5c
je 0x419c12
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x419c00
mov cx, word [0x46d3dc]
mov word [edi], cx
mov eax, dword [ebx + 0x190]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x419c20
mov edx, dword [str.cache]
mov dword [eax], edx
mov cx, word [0x46d3ac]
push 0x5c
mov word [eax + 4], cx
mov edx, dword [ebx + 0x190]
push 0
push edx
call fcn.00418160
add esp, 0xc
test al, al
jne 0x419c74
mov eax, dword [ebx + 0x190]
push eax
call fcn.00434c0f
add esp, 4
pop edi
pop esi
mov dword [ebx + 0x190], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x10c]
push ecx
call fcn.00429580
mov ecx, dword [ebx + 0x190]
mov eax, ecx
add esp, 4
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x419c90
sub eax, esi
cmp byte [ecx + eax - 1], 0x5c
je 0x419cb5
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x419ca1
mov dx, word [0x46d3dc]
mov edi, ecx
mov word [edi], dx
mov eax, dword [ebx + 0x10c]
push eax
call fcn.004295a0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41a590
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x20
push eax
mov dword [ebp - 8], ecx
call fcn.00414870
mov esi, eax
push 0
mov dword [ebp - 4], esi
call fcn.004345cc
and eax, 0xffff
push eax
call fcn.004386c5
call fcn.004386d7
mov ecx, eax
imul ecx, ecx, 0x3e8
mov eax, 0x80010003
imul ecx
add edx, ecx
sar edx, 0xe
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
push ebx
lea ecx, [ebp - 0x2c]
push str._04i
push ecx
call fcn.00434d42
add esp, 0x14
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41a5f3
mov dx, word [0x467614]
lea eax, [ebp - 0x2c]
mov word [edi], dx
mov edi, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a610
sub eax, edi
mov edx, edi
lea edi, [esi - 1]
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41a620
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebx, 0x2710
jge 0x41a730
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.004368ec
add esp, 8
test eax, eax
je 0x41a697
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a660
sub eax, edx
cmp eax, dword [ebp + 0xc]
jae 0x41a724
mov edi, dword [ebp + 8]
cmp byte [ebp + 0x10], cl
je 0x41a6f5
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
setne al
test al, al
jne 0x41a6be
inc ebx
push ebx
push edi
push str._s._04i
jmp 0x41a6a2
mov ecx, dword [ebp + 8]
inc ebx
push ebx
push ecx
push str._s._4i
push esi
call fcn.00434d42
add esp, 0x10
cmp ebx, 0x2710
jl 0x41a644
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp - 0x5c]
push edx
push esi
call fcn.004368ec
add esp, 8
test eax, eax
jne 0x41a6f5
mov eax, dword [ebp - 0x56]
test eax, 0x4000
je 0x41a6e0
push 0x1ff
jmp 0x41a6ec
test eax, 0x8000
je 0x41a6f5
push 0x1b6
push esi
call fcn.00447cdd
add esp, 8
mov ebx, dword [ebp - 8]
push edi
mov ecx, ebx
call fcn.004142f0
mov eax, esi
sub edi, esi
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x41a704
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.00414a30
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00414a30
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41a740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0x190]
sub esp, 0x104
push ebx
push esi
mov eax, edx
push edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a757
sub eax, esi
test edx, edx
je 0x41a7f4
test eax, eax
je 0x41a7f4
mov ebx, dword [ebp + 0xc]
mov esi, ebx
mov cl, byte [edx]
mov byte [esi], cl
inc edx
inc esi
test cl, cl
jne 0x41a775
cmp byte [eax + ebx - 1], 0x5c
je 0x41a7a1
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41a790
mov ax, word [0x46d3dc]
mov word [edi], ax
lea eax, [ebx - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41a7a4
mov ecx, dword [str.__temp]
mov dword [eax], ecx
mov dx, word [0x4682dc]
push 0x5c
mov word [eax + 4], dx
mov cl, byte [0x4682de]
push 0
push ebx
mov byte [eax + 6], cl
call fcn.00418160
add esp, 0xc
test al, al
je 0x41a936
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41a7e0
mov dx, word [0x46d3dc]
mov word [edi], dx
jmp 0x41a819
mov eax, dword [ebp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x41a936
cmp eax, 0x104
jae 0x41a936
mov ebx, dword [ebp + 0xc]
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a820
mov edi, dword [ebp + 8]
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a833
sub eax, esi
lea ecx, [eax + edx + 1]
cmp ecx, 0x104
jae 0x41a936
push 0x468258
push edi
call fcn.004342d0
add esp, 8
test eax, eax
je 0x41a863
add eax, 3
jmp 0x41a865
mov eax, edi
lea edx, [ebp - 0x104]
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41a870
mov ecx, ebx
lea eax, [ebp - 0x104]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x41a885
sub ecx, esi
cmp byte [ebp - 0x104], dl
je 0x41a8ef
mov bl, 0x5f
jmp 0x41a8a0
mov edx, ecx
inc ecx
cmp edx, 0xfc
ja 0x41a8e9
movsx edx, byte [eax]
add edx, 0xffffffde
cmp edx, 0x5a
ja case.0x41a8bd.35
movzx edx, byte [edx + 0x41a954]
jmp dword [edx*4 + 0x41a944]
mov byte [eax], 0x5c
jmp case.0x41a8bd.35
mov dl, byte [eax + 1]
test dl, dl
je case.0x41a8bd.34
cmp dl, 0x2e
je 0x41a8dc
cmp dl, 0x5c
je case.0x41a8bd.34
jmp case.0x41a8bd.35
mov byte [eax + 1], bl
mov byte [eax], bl
inc eax
cmp byte [eax], 0
jne 0x41a8a0
jmp 0x41a8ec
mov byte [eax], 0
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41a8f7
sub eax, ecx
mov esi, ecx
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41a905
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x5c
mov ecx, eax
and ecx, 3
push 1
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.00418160
add esp, 0xc
pop edi
test al, al
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x425950
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x44]
mov edx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x40]
push ecx
mov ecx, dword [ebp + 0x34]
push edx
mov edx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00422050
xor ebx, ebx
push str.BIGV_in_the_house
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CBigV.0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push ebx
mov byte [esi + 0x2e4], 1
mov dword [esi + 0x2d8], ebx
mov dword [esi + 0x2dc], ebx
call fcn.00429550
push ebx
push ebx
mov dword [esi + 0x2e0], eax
call fcn.00429550
push ebx
push ebx
mov dword [esi + 0x2ac], eax
mov dword [esi + 0x2c], 2
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x280], ebx
mov dword [esi + 0x284], ebx
mov dword [esi + 0x288], ebx
mov dword [esi + 0x28c], ebx
mov dword [esi + 0x290], ebx
mov dword [esi + 0x294], ebx
mov dword [esi + 0x298], ebx
mov dword [esi + 0x29c], ebx
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a8], ebx
mov dword [esi + 0x2b0], ebx
mov byte [esi + 0x278], bl
mov dword [esi + 0x2b8], ebx
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2c0], ebx
call fcn.00429550
add esp, 0x18
mov dword [esi + 0x2c8], eax
mov byte [esi + 0x2c4], bl
mov byte [esi + 0x279], bl
mov byte [esi + 0x2b4], bl
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2d0], ebx
mov dword [esi + 0x2d4], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x40
Function at 0x429cc0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40
sub esp, 0xc
cmp dword [ebp + 0x10], eax
jbe 0x429cd3
mov dword [ebp + 0x10], eax
mov eax, dword [0x487a20]
push ebx
push esi
xor ecx, ecx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
cmp edi, ecx
je 0x429dc9
cmp eax, ecx
je 0x429cfe
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 1
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
push edi
call fcn.004297c0
add esp, 0x18
test al, al
mov eax, dword [0x487a20]
je 0x429df4
test eax, eax
je 0x429d33
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
cmp dword [esi], ecx
jb 0x429d52
push 0
push edi
call fcn.004299c0
mov edx, dword [ebp + 0x10]
add esp, 8
cmp dword [esi], edx
jae 0x429d40
mov eax, dword [ebp - 4]
test eax, eax
je 0x429d62
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
push 4
push eax
push ecx
push 0
push 0
call fcn.00434a6a
mov edx, dword [esi]
add esp, 0x18
mov dword [ebx + edx*4], eax
xor edi, edi
mov eax, dword [esi]
cmp dword [ebx + eax*4], 0xffffffff
jne 0x429db4
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push 4
push ecx
push edx
push 0
push 0
call fcn.00434a6a
mov ecx, dword [esi]
inc edi
add esp, 0x18
mov dword [ebx + ecx*4], eax
cmp edi, 5
jl 0x429d81
mov eax, dword [esi]
cmp dword [ebx + eax*4], 0xffffffff
jne 0x429ddb
dec eax
pop edi
mov dword [esi], eax
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x487b30
mov dword [ebp - 4], eax
mov ebx, 0x487a28
jmp 0x429d39
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi]
mov eax, dword [ebx + edx*4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [esi]
mov eax, dword [ebp - 4]
test eax, eax
je 0x429e03
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0
push 0x23
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x42b4b6
xor al, al
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b4c0
mov ecx, dword [ebp + 0xc]
sub eax, edx
add ecx, 0xfffffff4
cmp eax, ecx
jae 0x42b4b0
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
mov edx, esi
mov ecx, eax
push edi
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42b4e4
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42b4f1
mov dx, word [0x46d3dc]
mov word [edi], dx
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42b506
cmp byte [ebp + 0x10], 0
mov eax, dword [0x46c770]
mov dword [edi], eax
je 0x42b550
lea edi, [esi - 1]
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42b520
mov cx, word [0x46d3dc]
mov word [edi], cx
lea eax, [esi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42b535
mov edx, dword [str.cache]
mov dword [eax], edx
mov cx, word [0x46d3ac]
mov word [eax + 4], cx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42f696
xor al, al
pop ebp
ret
and al, 0x10
cmp al, 0x10
sete al
pop ebp
ret