joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fd50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e7db
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4ab9f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov ecx, dword [0x493428]
mov dword [esi + 0xc], ecx
mov edx, dword [0x49342c]
mov dword [esi + 0x10], edx
mov ecx, dword [0x493430]
mov dword [esi + 0x14], ecx
mov edx, dword [0x493434]
mov dword [esi + 0x18], edx
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [esi + 0x30], edi
cmp edi, ebx
je 0x40fe24
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push esi
push edi
call ecx
cmp eax, ebx
mov eax, dword [esi + 0x30]
jl 0x40fe15
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
cmp eax, ebx
jl 0x40fe24
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esi + 4]
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x40fe24
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 8], ebx
jmp 0x40fe24
cmp eax, ebx
je 0x40fe24
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x30], ebx
push 8
call fcn.0046c8a6
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x40fe55
mov dword [ebx], vtable.tcomxTypeHandler.0
mov dword [ebx + 4], edi
test edi, edi
je 0x40fe57
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
jmp 0x40fe57
xor ebx, ebx
mov dword [esi + 0x28], ebx
lea eax, [esi + 0x34]
mov ecx, 0x96
mov dword [eax], 0
add eax, 0x10
dec ecx
jne 0x40fe62
mov eax, dword [0x4ae338]
mov dword [esi + 0x994], eax
inc eax
mov dword [0x4ae338], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x414580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48ea58
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x4ab9f8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp word [esi], 0xc
jne 0x4145c4
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0xc]
jmp 0x4145db
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dx, word [esi]
mov word [esp + 0xc], dx
lea eax, [esp + 0x14]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
xor ecx, ecx
cmp eax, ecx
jge 0x414648
mov dword [esp + 0x20], vtable.tcomxException.0
mov dword [esp + 0x28], vtable.tStringBuffer.0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], ecx
mov ebx, dword [str.Internal_Error]
lea esi, [esp + 0x28]
mov dword [esp + 0x24], ecx
call fcn.0040afe0
mov edx, dword [esp + 0x30]
push edx
mov ecx, 0x493568
call fcn.00408f20
add esp, 4
push 0x4a7318
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x48], 0xffffffff
call fcn.004742fe
mov edx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
push edi
mov dword [eax + 0xc], edx
call fcn.00412600
add esp, 0x1c
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [edi + 8]
sub eax, dword [edi + 0xc]
sar eax, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a1d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [ebp + 0xc]
lea eax, [edx + 5]
push esi
cmp eax, 4
ja case.0x41a1e7.2
jmp dword [eax*4 + 0x41a2c4]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x5c]
or dword [esi + 0x68], 4
test eax, eax
je 0x41a218
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
jne 0x41a218
mov eax, dword [esi + 0x5c]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 8]
xor eax, eax
add ecx, 0xffffffc0
cmp edx, 0xfffffffc
sete al
push eax
call fcn.0041a970
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x18]
lea eax, [esi + 8]
push eax
call edx
test byte [esi + 0x68], 4
je 0x41a278
mov eax, dword [esi + 0x5c]
and dword [esi + 0x68], 0xfffffffb
test eax, eax
je 0x41a278
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x41a278
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, str.FAIL
test edx, edx
jle 0x41a2a5
push 0x30e
push 0x4ad294
call fcn.00419720
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
push 0x31a
push str.Unrecognized_Negative_verb_in_DoVerb__.__bad.
call fcn.00419720
add esp, 8
mov eax, 0x80004001
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x41fb30
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4ab9f8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x41fb20
call fcn.0046e1ba
add esp, 4
call fcn.0041f9e0
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41fbbe
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x41fb84
mov edx, dword [ebp - 0x18]
push edx
jmp 0x41fbb8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004475c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046aca1
mov esp, ebp
pop ebp
ret
Function at 0x41fe20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, ebx
sub esp, 0x10
lea edx, [eax + 1]
jmp 0x41fe30
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41fe30
push esi
push edi
sub eax, edx
lea esi, [eax + ebx]
push 0x5c
push ebx
mov dword [ebp - 4], esi
call fcn.0046e250
xor ecx, ecx
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
test eax, eax
jne 0x41fe60
mov dword [ebp - 0xc], ebx
jmp 0x41fe60
cmp byte [esi], 0x5c
jne 0x41fe76
inc esi
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], esi
mov byte [esi], 0x5f
mov eax, dword [0x495d2c]
mov dword [ecx + esi], eax
mov edx, dword [0x495d30]
mov dword [ecx + esi + 4], edx
mov al, byte [0x495d34]
mov byte [ecx + esi + 8], al
test ebx, ebx
je 0x41fedf
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jle 0x41fedc
lea ecx, [esi + esi + 2]
push ecx
call fcn.0046ca20
add esp, 4
push esi
mov edi, eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov word [edi + esi*2 - 2], dx
mov esi, dword [ebp - 4]
jmp 0x41fee1
mov esi, dword [ebp - 4]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov dword [ebp - 0x10], eax
call fcn.0046c9e6
add esp, 4
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41ff1b
mov eax, dword [ebp - 0xc]
push 0x2e
push eax
call fcn.0046ddd0
add esp, 8
test eax, eax
je 0x41ff23
cmp eax, esi
ja 0x41ff23
mov ecx, dword [ebp - 8]
mov byte [eax], 0x5c
jmp 0x41fe60
pop edi
mov eax, ebx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45a370
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4ab9f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], 0
mov edi, 0x400
jmp 0x45a3c6
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x424], ecx
je 0x45a430
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x45a3e8
call fcn.004336c0
mov eax, dword [ebp - 0x424]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.00443000
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.00422aa0
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x45a439
mov edi, ebx
mov ecx, dword [ebp - 0x41c]
push ecx
push edi
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.0046feeb
mov ecx, dword [ebp - 0x418]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x418], ecx
mov dword [ebp + 0xc], ebx
je 0x45a46f
cmp eax, edi
je 0x45a3c0
lea eax, [ebp - 0x40c]
sub ecx, eax
mov edi, ecx
je 0x45a4c9
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x45a493
call fcn.004336c0
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.00443000
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.0041f740
mov dword [ebp - 0x414], 1
test ebx, ebx
je 0x45a546
mov edi, dword [ebp - 0x420]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja case.0x45a4ff.6
jmp dword [eax*4 + 0x45a55c]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
jmp 0x45a52f
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
jmp 0x45a52f
mov eax, dword [esi]
call fcn.00431ba0
jmp 0x45a52f
call fcn.004338f0
test eax, eax
je 0x45a52d
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
jmp 0x45a52f
xor eax, eax
test eax, eax
jne 0x45a546
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046aca1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0046aca1
mov esp, ebp
pop ebp
ret
Function at 0x45dcf0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x40]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x45dd33
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x45dd2c
mov esi, dword [eax + 0x20]
jmp 0x45dd33
test bl, bl
jns 0x45dd33
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x10], esi
mov esi, 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
cmp si, word [eax + 6]
jae 0x45de00
lea ebx, [ecx + 0x4c]
lea esp, [esp]
mov esi, dword [edi + 0x40]
mov ecx, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ecx
mov dword [ebp - 4], ecx
test edi, edi
jne 0x45dd88
mov ecx, dword [ebx]
test cl, 0x40
je 0x45dd81
mov edi, dword [eax + 0x20]
jmp 0x45dd88
test cl, cl
jns 0x45dd88
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x45ddb7
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x45ddb7
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.0045dc40
test eax, eax
je 0x45de1e
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
jmp 0x45dddf
mov eax, dword [ebx]
test eax, 0x2000000
je 0x45ddce
test dword [ebp - 0x10], 0x2000000
je 0x45ddce
or dword [ebp - 0x10], eax
jmp 0x45ddd9
or eax, dword [ebp - 0x10]
and eax, 0xfdffffff
mov dword [ebp - 0x10], eax
sub edi, dword [ebp - 0x1c]
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp ecx, esi
jl 0x45dd60
lea ecx, [ebp - 0x1c]
mov eax, edi
mov dword [ebp - 0xc], 1
call fcn.0045dc40
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46aca1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ab9f8]
jne 0x46acab
repz ret
jmp fcn.0047460c

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x46dfc0
call fcn.0046e72b
mov dword [eax], esi
call fcn.0046e718
push 0x16
pop esi
mov dword [eax], esi
call fcn.0046e233
mov eax, esi
jmp 0x46e015
test dword [ebp + 0xc], 0xfffffff9
jne 0x46dfa6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46dfed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046e73e
pop ecx
call fcn.0046e718
mov eax, dword [eax]
jmp 0x46e015
test al, 0x10
jne 0x46e013
test al, 1
je 0x46e013
test byte [ebp + 0xc], 2
je 0x46e013
call fcn.0046e72b
mov dword [eax], 5
call fcn.0046e718
mov dword [eax], 0xd
jmp 0x46dfe4
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x47e24f
call fcn.0046e72b
mov dword [eax], esi
call fcn.0046e718
push 0x16
pop esi
mov dword [eax], esi
call fcn.0046e233
mov eax, esi
jmp 0x47e2a4
test dword [ebp + 0xc], 0xfffffff9
jne 0x47e235
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x47e27c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046e73e
pop ecx
call fcn.0046e718
mov eax, dword [eax]
jmp 0x47e2a4
test al, 0x10
jne 0x47e2a2
test al, 1
je 0x47e2a2
test byte [ebp + 0xc], 2
je 0x47e2a2
call fcn.0046e72b
mov dword [eax], 5
call fcn.0046e718
mov dword [eax], 0xd
jmp 0x47e273
xor eax, eax
pop esi
pop ebp
ret
Function at 0x483c67
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ab9f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00476ec3
and dword [ebp - 0x14], 0
cmp dword [0x4ae2d0], 0
mov dword [ebp - 0x18], eax
jne 0x483d1a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x483dc2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x492b64
push ebx
call edi
test eax, eax
je 0x483dc2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x492b54
push ebx
mov dword [0x4ae2d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4ae2d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4ae2d8], eax
call edi
push eax
call esi
mov dword [0x4ae2e0], eax
test eax, eax
je 0x483d1a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4ae2dc], eax
mov eax, dword [0x4ae2dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x483d73
cmp dword [0x4ae2e0], ecx
je 0x483d73
push eax
call esi
push dword [0x4ae2e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x483d73
test ebx, ebx
je 0x483d73
call edi
test eax, eax
je 0x483d6a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x483d6a
test byte [ebp - 8], 1
jne 0x483d73
or dword [ebp + 0x10], 0x200000
jmp 0x483da6
mov eax, dword [0x4ae2d4]
cmp eax, dword [ebp - 0x18]
je 0x483da6
push eax
call esi
test eax, eax
je 0x483da6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x483da6
mov eax, dword [0x4ae2d8]
cmp eax, dword [ebp - 0x18]
je 0x483da6
push eax
call esi
test eax, eax
je 0x483da6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4ae2d0]
call esi
test eax, eax
je 0x483dc2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x483dc4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046aca1
leave
ret
Function at 0x40313a
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x403180
sub ebx, 0x42a710
mov ax, word [ebx + edi*2 + 0x42a710]
mov ecx, esi
xor ax, word [edi*2 + 0x42a710]
movzx eax, ax
push eax
call fcn.00401a7c
inc edi
cmp edi, dword [esp + 0x10]
jl 0x40315e
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x403188
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [esp + 0x10], ebx
jle 0x4031c8
sub edi, 0x42a680
mov al, byte [edi + ebx + 0x42a680]
mov ecx, esi
xor al, byte [ebx + 0x42a680]
movzx eax, al
push eax
call fcn.00403b4e
inc ebx
cmp ebx, dword [esp + 0x10]
jl 0x4031a9
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x403c56
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, edx
cmp dword [0x4a9010], ebx
jne 0x403c9c
mov ecx, ebx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x403c7d
shr eax, 1
xor eax, 0xedb88320
jmp 0x403c7f
shr eax, 1
dec edx
jne 0x403c70
mov dword [ecx*4 + 0x4a8c10], eax
inc ecx
cmp ecx, 0x100
jl 0x403c6b
mov dword [0x4a9010], 1
mov eax, dword [ebp + 8]
or edx, 0xffffffff
xor ecx, ecx
lea eax, [edi + eax*2]
mov esi, eax
sub esi, edi
inc esi
shr esi, 1
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x403cd1
movzx eax, byte [edi]
lea edi, [edi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4a8c10]
inc ebx
cmp ebx, esi
jb 0x403cb7
pop edi
not edx
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4047e4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [eax], 1
mov edx, dword fs:[0x30]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
lea edi, [esi + 4]
jmp 0x40482e
mov ecx, dword [esi + 0x28]
call fcn.004030b4
cmp eax, ebx
je 0x404841
cmp dword [esi + 0x10], 0
je 0x404832
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x40481a
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x40485b
mov eax, dword [esi + 0x10]
jmp 0x404861
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 4], ebx
je 0x40486a
lea ecx, [esp + 0x10]
call fcn.00405899
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x404846
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
and dword [ecx], 0
mov eax, dword [eax]
jmp 0x404861
Function at 0x404877
Capabilities:
Get common file path

Disassembly:
sub esp, 0x444
push ebx
push ebp
push esi
mov esi, dword [esp + 0x454]
mov ebx, ecx
push edi
push dword [esp + 0x45c]
mov ecx, esi
call fcn.004030b4
push eax
mov ecx, ebx
call fcn.004047e4
mov edi, eax
test edi, edi
jne 0x404a1a
push 0x104
lea eax, [esp + 0x44]
xor ebp, ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebp
mov word [esp + 0x10], ax
cmp word [esp + 0x40], ax
je 0x4048e2
lea eax, [esp + 0x40]
push eax
call fcn.0040f83b
pop ecx
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call fcn.004026be
mov edi, 0x42c0d4
push edi
call fcn.0040f83b
pop ecx
push eax
push ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.00405823
inc eax
lea ecx, [esp + 0x10]
push eax
push ebp
lea eax, [esp + 0x30]
push eax
call fcn.00401ad1
push eax
lea ecx, [esp + 0x14]
call fcn.00401a35
push ebp
push 1
lea ecx, [esp + 0x30]
call fcn.004023dd
cmp word [esi], bp
jne 0x404939
mov eax, ebp
jmp 0x404940
push esi
call fcn.0040f83b
pop ecx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00401e6d
cmp dword [esp + 0x24], 8
lea ecx, [esp + 0x10]
push dword [esp + 0x45c]
cmovae ecx, dword [esp + 0x14]
call fcn.004030b4
push eax
mov ecx, ebx
call fcn.004047e4
mov edi, eax
test edi, edi
jne 0x404a0e
lea eax, [esp + 0x248]
push eax
push ebp
push ebp
push 0x25
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp word [esp + 0x248], bp
jne 0x404998
mov eax, ebp
jmp 0x4049a6
lea eax, [esp + 0x248]
push eax
call fcn.0040f83b
pop ecx
push eax
lea eax, [esp + 0x24c]
push eax
lea ecx, [esp + 0x18]
call fcn.004026be
mov edi, 0x42a5f8
push edi
call fcn.0040f83b
pop ecx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00401e6d
cmp word [esi], bp
jne 0x4049d8
mov eax, ebp
jmp 0x4049df
push esi
call fcn.0040f83b
pop ecx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00401e6d
cmp dword [esp + 0x24], 8
lea ecx, [esp + 0x10]
push dword [esp + 0x45c]
cmovae ecx, dword [esp + 0x14]
call fcn.004030b4
push eax
mov ecx, ebx
call fcn.004047e4
mov edi, eax
push ebp
push 1
lea ecx, [esp + 0x18]
call fcn.004023dd
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x444
ret 8