joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461ed4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov edi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
ja 0x461f34
mov ecx, dword [ebp - 4]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00460bf8
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x462016
cmp edi, esi
jne 0x461f42
mov eax, 0x1001
jmp 0x462016
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00460bf8
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
add edi, edx
add esp, 0xc
sub dword [ebp - 4], ecx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00463088
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [esi + 0xc], ecx
add esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x461fec
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00463088
mov edx, dword [edi]
xor edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [edi + 4]
xor ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
xor eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
xor edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add edi, eax
mov ecx, dword [ebp - 4]
add esi, eax
cmp ecx, dword [ebp - 0xc]
ja 0x461faa
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push edi
push edx
call fcn.00460bf8
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x462020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov esi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
ja 0x462080
mov ecx, dword [ebp - 4]
push ecx
push esi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00460bf8
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x462191
cmp esi, edi
jne 0x46208e
mov eax, 0x1001
jmp 0x462191
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
push esi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00460bf8
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
add esi, edx
add esp, 0xc
sub dword [ebp - 4], ecx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00463088
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x2c]
mov dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x20], ecx
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x24], eax
add edi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jbe 0x462167
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.00463088
mov ecx, dword [ebx + 0x18]
xor ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [esi + 4]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [esi + 8]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov eax, dword [esi]
mov dword [ebx + 0x18], eax
mov edx, dword [esi + 4]
mov dword [ebx + 0x1c], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 0x20], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add esi, eax
mov ecx, dword [ebp - 4]
add edi, eax
cmp ecx, dword [ebp - 0xc]
ja 0x46210e
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push esi
push edx
call fcn.00460bf8
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x462338
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov dword [esp], ecx
mov edi, edx
mov edx, dword [esp]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 0x3c]
mov dword [edx], esi
lea edx, [ebx + 0x18]
call fcn.00463088
xor ecx, ecx
mov edx, edi
lea eax, [ebx + 0x28]
cmp esi, ecx
jbe 0x46236f
mov bl, byte [eax]
inc ecx
xor bl, byte [eax - 0x10]
inc eax
mov byte [edx], bl
inc edx
cmp esi, ecx
ja 0x462361
mov eax, dword [esp]
mov dword [eax], esi
xor eax, eax
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x46dfa4
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x496210], 0
mov eax, dword [0x497c78]
cmp dword [eax], 2
jne 0x46e17d
mov eax, dword [0x4976cc]
cmp dword [eax], 5
jl 0x46e17d
call fcn.0046b098
test al, al
jne 0x46dfd5
call fcn.0046b0a4
call fcn.0046b090
mov dword [0x496218], eax
push 0x46e180
mov eax, dword [0x496218]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4961dc], eax
cmp dword [0x4961dc], 0
jne 0x46e030
mov edx, 0x8000
mov eax, 0x46e194
call fcn.0040f720
mov dword [0x496214], eax
mov eax, dword [0x496214]
mov dword [0x496218], eax
push 0x46e180
mov eax, dword [0x496218]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4961dc], eax
cmp dword [0x4961dc], 0
je 0x46e178
push 0x46e1a0
mov eax, dword [0x496218]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4961e0], eax
cmp dword [0x4961e0], 0
je 0x46e178
push 0x46e1ac
mov eax, dword [0x496218]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4961e4], eax
cmp dword [0x4961e4], 0
je 0x46e178
mov byte [0x496210], 1
push 0x46e1bc
mov eax, dword [0x496218]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4961e8], eax
push 0x46e1c8
mov eax, dword [0x496218]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4961ec], eax
push 0x46e1d4
mov eax, dword [0x496218]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4961f0], eax
push 0x46e1e4
mov eax, dword [0x496218]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4961f4], eax
push 0x46e1f4
mov eax, dword [0x496218]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4961f8], eax
mov edx, 0x8000
mov eax, 0x46e20c
call fcn.0040f720
mov dword [0x49621c], eax
cmp dword [0x49621c], 0
je 0x46e17d
push 0x46e21c
mov eax, dword [0x49621c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4961fc], eax
push 0x46e238
mov eax, dword [0x49621c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496200], eax
push 0x46e258
mov eax, dword [0x49621c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496204], eax
push 0x46e274
mov eax, dword [0x49621c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496208], eax
push 0x46e28c
mov eax, dword [0x49621c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49620c], eax
ret
call fcn.0046df24
ret
Function at 0x40229a
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push edi
push dword [0x403716]
call dword [sym.imp.pdh.dll_PdhCloseLog]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x4022c9
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x40164f], eax
ret

Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a
Function at 0x401194
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x5a3b3c], 0
jne 0x4011bc
call fcn.0040138c
test eax, eax
je 0x4011bc
jmp 0x4011bc
call fcn.00401864
mov dword [0x5a3b40], eax
mov dword [ebp - 4], esp
mov eax, dword [0x5a3b44]
push eax
push 0x24
call fcn.004418b6
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
nop
cmp dword [ebp - 4], esp
je 0x40127e
push 0x354
push 0x40ab1c2
push 6
call fcn.004418bc
add esp, 0xc
push eax
mov ebx, dword [ebp - 8]
push ebx
mov edi, dword [ebp - 0xc]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.004418c2
add esp, 4
pop eax
call fcn.004018b8
mov dword [0x5a3b48], eax
call fcn.00401adc
mov dword [0x5a3b4c], eax
call fcn.00401b34
mov dword [0x5a3b50], eax
call fcn.00401b58
mov dword [0x5a3b54], eax
call fcn.00401b7c
mov dword [0x5a3b58], eax
call fcn.00401ba0
mov dword [0x5a3b5c], eax
call fcn.00401bc4
mov dword [0x5a3b60], eax
call fcn.00401be8
mov dword [0x5a3b64], eax
call fcn.00401c24
mov dword [0x5a3b68], eax
call fcn.00401c60
push 1
push 1
push 1
push 1
call fcn.00401de8
mov dword [0x5a3b6c], eax
push 0x5a3b70
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x401716
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov esi, dword [ebp + 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, ecx
je 0x40184c
mov edx, eax
mov eax, dword [eax]
test eax, eax
je 0x401739
cmp dword [edx + 0x10], esi
jne 0x401731
xor eax, eax
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], SysReAllocString
mov eax, dword [edx + 0x20]
mov dword [esp], eax
call dword [ebp + 0x10]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x40184c
mov ecx, dword [esi + 0x3c]
mov eax, dword [ebp + 0xc]
add ecx, esi
sub eax, esi
lea edx, [ecx + 0xf8]
movzx ecx, word [ecx + 6]
mov dword [ebp - 0x24], eax
imul ecx, ecx, 0x28
add ecx, edx
cmp edx, ecx
je 0x401845
mov esi, dword [edx + 0xc]
cmp eax, esi
jb 0x4017c6
mov edi, dword [edx + 0x10]
add edi, esi
cmp edi, eax
jb 0x4017c6
add eax, dword [edx + 0x14]
sub eax, esi
jne 0x4017cb
jmp 0x401845
add edx, 0x28
jmp 0x4017a5
xor edi, edi
mov dword [esp + 4], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [ebp + 0x14]
sub esp, 0x10
inc eax
je 0x401845
xor esi, esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp + 0x18]
sub esp, 0x14
test eax, eax
je 0x401845
cmp dword [ebp - 0x24], 8
jne 0x401845
cmp byte [ebp - 0x20], 0xb8
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jne 0x401845
shrd eax, edx, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
add eax, 5
mov dword [ebp - 0x1c], eax
mov dword [esp], ebx
call dword [ebp + 0x1c]
push ebx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x401850
mov dword [esp], ebx
call dword [ebp + 0x1c]
push eax
xor eax, eax
xor edx, edx
leave
ret 0x18

Function at 0x401864
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
call 0x40186d
pop eax
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov ebx, dword [esi + 8]
cmp eax, ebx
jb 0x401890
mov ecx, dword [esi + 0x10]
add ecx, ebx
cmp eax, ecx
ja 0x401890
mov eax, ebx
jmp 0x4018a5
mov esi, dword [esi]
mov ebx, dword [esi]
cmp ebx, dword [esp]
jne 0x40187c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
pop esi
pop esi
leave
ret
Function at 0x403ad0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
call fcn.00403b50
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp + 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 8], esp
je 0x403b17
push 0x2d
push 0x40aa5aa
push 6
call fcn.004418bc
add esp, 0xc
mov dword [ebp - 8], esp
push 0xffffffff
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
cmp dword [ebp - 8], esp
je 0x403b48
push 0x67
push 0x40aa5aa
push 6
call fcn.004418bc
add esp, 0xc
mov esp, ebp
pop ebp
ret 8
Function at 0x407374
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
je 0x4073a0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jmp 0x407485
cmp dword [ebp + 8], 0
je 0x4073ec
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0x100000
push 2
mov ebx, 0xc8
call fcn.00442450
add esp, 0x1c
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00407550
mov dword [ebp - 4], eax
jmp 0x407485
push 0x47b310
mov ebx, dword [ebp + 0x18]
push dword [ebx]
call fcn.0040477c
add esp, 8
cmp eax, 0
je 0x407474
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0x18]
call fcn.004075bc
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x407432
mov eax, 0
jmp 0x40754a
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0x100000
push 2
mov ebx, 0xc8
call fcn.00442450
add esp, 0x1c
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00407550
mov dword [ebp - 4], eax
jmp 0x407485
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
call fcn.00403ad0
cmp dword [ebp - 4], 0
je 0x407539
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4074c0
push 0x2a0
push 0x40aa39e
push 6
call fcn.004418bc
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp + 0x24], 0
jne 0x4074d4
mov dword [ebp + 0x20], 0xffffffff
mov dword [ebp - 0xc], esp
push dword [ebp + 0x20]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x407503
push 0x316
push 0x40aa39e
push 6
call fcn.004418bc
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x407539
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x407539
push 0x36d
push 0x40aa39e
push 6
call fcn.004418bc
add esp, 0xc
cmp dword [ebp - 8], 1
mov eax, 0
sete al
jmp 0x40754a
mov esp, ebp
pop ebp
ret 0x20
Function at 0x409a90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
nop
cmp dword [ebp - 4], esp
je 0x409ac7
push 0x12
push 0x409df11
push 6
call fcn.004418bc
add esp, 0xc
jmp 0x409acc
mov esp, ebp
pop ebp
ret 4

Function at 0x40c180
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
cmp dword [0x5a3bc4], 0
jle 0x40c2ca
mov dword [ebp - 8], esp
push dword [0x5a3bc4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
nop
nop
cmp dword [ebp - 8], esp
je 0x40c1cc
push 0x6d
push 0x40aa5d9
push 6
call fcn.004418bc
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x40c21c
mov dword [ebp - 8], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
nop
nop
cmp dword [ebp - 8], esp
je 0x40c208
push 0xb6
push 0x40aa5d9
push 6
call fcn.004418bc
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
sete al
jmp 0x40c313
mov dword [ebp - 8], esp
push 1
push dword [0x5a3bc4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
nop
cmp dword [ebp - 8], esp
je 0x40c250
push 0xe4
push 0x40aa5d9
push 6
call fcn.004418bc
add esp, 0xc
mov dword [ebp - 8], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
nop
nop
cmp dword [ebp - 8], esp
je 0x40c27f
push 0x132
push 0x40aa5d9
push 6
call fcn.004418bc
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push dword [0x5a3bc4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
nop
cmp dword [ebp - 8], esp
je 0x40c2c5
push 0x15e
push 0x40aa5d9
push 6
call fcn.004418bc
add esp, 0xc
jmp 0x40c30b
mov dword [ebp - 8], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
nop
nop
cmp dword [ebp - 8], esp
je 0x40c2f9
push 0x1ad
push 0x40aa5d9
push 6
call fcn.004418bc
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40c313
mov esp, ebp
pop ebp
ret 8

Function at 0x40c528
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
nop
nop
cmp dword [ebp - 4], esp
je 0x40c55d
push 0x24
push 0x40aa9df
push 6
call fcn.004418bc
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x40c571
mov esp, ebp
pop ebp
ret 4
Function at 0x40c5c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push dword [ebp + 0xc]
call fcn.00402c80
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
call fcn.00402bdc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40c629
push 0x33
push 0x40aa697
push 6
call fcn.004418bc
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x40c631
mov esp, ebp
pop ebp
ret 8

Function at 0x40c638
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40c67f
push 0
push 0x40aa693
push 6
call fcn.004418bc
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
jmp 0x40c68a
mov esp, ebp
pop ebp
ret 4

Function at 0x40d184
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.00402c00
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d1c6
push ebx
call fcn.004418c2
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
call fcn.00402c80
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40d218
push 0x70
push 0x40aa698
push 6
call fcn.004418bc
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 8]
push VariantCopy
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40d235
mov eax, 0x47b314
push eax
push 2
mov ebx, 0x1a0
call fcn.00443020
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d25f
push ebx
call fcn.004418c2
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x40d27d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004418b6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40d282
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d293
push ebx
call fcn.004418c2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8