joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e550
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 4], ebx
jb 0x42e562
mov edx, dword [edx]
lea eax, [ebp - 4]
push eax
push 2
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42e59e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x42e580
mov eax, dword [eax]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x42e593
cmp eax, 2
jne 0x42e595
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret 4

Function at 0x42e6b3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x442b40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x4387b8
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x1c], ecx
sub esi, ebx
mov edi, dword [ebp - 0x1c]
lea eax, [ebx + edx]
mov cl, byte [esi + eax]
xor cl, byte [edi + edx + 8]
inc edx
mov byte [eax], cl
cmp edx, 0x10
jl 0x42e6e7
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004138fe
leave
ret

Function at 0x42e840
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 8], ebx
mov byte [ebp - 1], bl
jb 0x42e857
mov edx, dword [edx]
lea eax, [ebp - 8]
push eax
push 1
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42e8e2
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0x10
push edi
mov dword [ebp - 0xc], ebx
jb 0x42e87c
mov eax, dword [esi]
jmp 0x42e87e
mov eax, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0xc]
push ecx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 8]
call edi
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x42e8c6
push dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
call fcn.00401e50
cmp dword [esi + 0x14], 0x10
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
jb 0x42e8b0
mov esi, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push eax
push ebx
push ebx
push esi
push dword [ebp - 8]
call edi
cmp eax, ebx
mov dword [ebp + 8], eax
sete byte [ebp - 1]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov dword [ebp - 8], ebx
pop esi
cmp byte [ebp - 1], bl
jne 0x42e8e2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [ebp - 1]
pop ebx
leave
ret 8
Function at 0x4305a7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ecx + 0x14], 0x10
push edi
jb 0x4305b6
mov ecx, dword [ecx]
push edx
push 2
push 3
mov edx, 0xc0000000
call fcn.004123dc
mov edi, eax
cmp edi, 0xffffffff
je 0x4305fd
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ebx
lea edx, [ebp + 8]
push edx
sub eax, ecx
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4305f3
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp dword [ebp + 8], eax
jne 0x4305f5
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov al, bl
pop ebx
pop ebp
ret 4

Function at 0x430e34
Capabilities:
Read file via mapping

Disassembly:
push 0x5c
mov eax, 0x4327a1
call fcn.00413ec1
mov esi, ecx
mov eax, dword [esi + 0x28]
mov eax, dword [eax]
xor ebx, ebx
mov byte [ebp - 0x65], bl
cmp dword [esi + 0x34], eax
je 0x430f3b
mov eax, dword [esi + 0x28]
mov edx, dword [eax]
lea ecx, [ebp - 0x64]
call fcn.00409443
mov edi, eax
mov dword [ebp - 4], ebx
push 0x43901c
lea edx, [esi + 4]
lea ecx, [ebp - 0x48]
call fcn.00403faa
mov byte [ebp - 4], 1
push edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00404019
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401250
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00401250
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x430eb5
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x430ec8
push eax
call edi
mov dword [esi + 0x38], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x430ed4
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0x28]
push dword [eax + 4]
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 0x38], eax
cmp eax, ebx
je 0x430f24
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esi + 0x28]
push dword [eax + 4]
push ebx
push ebx
push 6
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x3c], eax
cmp eax, ebx
je 0x430f1c
mov eax, dword [esi + 0x28]
mov eax, dword [eax]
mov dword [esi + 0x34], eax
mov byte [ebp - 0x65], 1
jmp 0x430f2a
push dword [esi + 0x38]
call edi
mov dword [esi + 0x38], ebx
mov dword [esi], 0x186ab
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401250
jmp 0x430f3f
mov byte [ebp - 0x65], 1
mov al, byte [ebp - 0x65]
call fcn.00413f44
ret
Function at 0x65b060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16d000]
push edi
jmp 0x65b07a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x65b081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65b070
mov eax, 1
add ebx, ebx
jne 0x65b093
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x65b0a4
jne 0x65b0c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65b0c3
dec eax
add ebx, ebx
jne 0x65b0b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x65b088
add ebx, ebx
jne 0x65b0bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x65b115
xor ecx, ecx
sub eax, 3
jb 0x65b0db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x65b14a
sar eax, 1
mov ebp, eax
jmp 0x65b0e6
add ebx, ebx
jne 0x65b0e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65b0b4
inc ecx
add ebx, ebx
jne 0x65b0f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65b0b4
add ebx, ebx
jne 0x65b101
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x65b0f6
jne 0x65b112
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x65b0f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x65b134
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x65b126
jmp 0x65b076
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x65b134
add edi, ecx
jmp 0x65b076
pop esi
mov edi, esi
mov ecx, 0x192a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x65b152
cmp byte [edi], 0xa
jne 0x65b152
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 al, bl
loop 0x65b157
lea edi, [esi + 0x256000]
mov eax, dword [edi]
or eax, eax
je 0x65b1cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2819b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x281b68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x65b184
mov ecx, edi
jns 0x65b1b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x281b70]
or eax, eax
je 0x65b1c9
mov dword [ebx], eax
add ebx, 4
jmp 0x65b1a1
call dword [esi + 0x281b6c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x65b200
cmp al, 0xef
ja 0x65b1f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x65b1d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x65b1e2
mov ebp, dword [esi + 0x281b74]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x65b234
sub esp, 0xffffff80
jmp 0x416e22
Function at 0x401390
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov edx, ecx
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov bl, 0x6e
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov byte [ebp - 0x14], 0x77
and ecx, 3
mov byte [ebp - 0x12], bl
rep stosb byte es:[edi], al
mov al, 0x69
mov byte [ebp - 0x10], bl
mov byte [ebp - 0x13], al
mov byte [ebp - 0x11], al
mov al, 0x6c
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xb], al
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x14]
mov byte [ebp - 0xe], 0x74
push eax
mov byte [ebp - 0xd], 0x2e
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 9], 0
call dword [0x4070a4]
mov esi, eax
test esi, esi
je 0x401528
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], 0x49
push ecx
push esi
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], bl
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x4f
mov byte [ebp - 0x1b], 0x70
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0x41
mov byte [ebp - 0x17], 0
call dword [0x4070a0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0
push 0
push 0
push 0
push 0x4092cc
call eax
mov edi, eax
test edi, edi
mov dword [ebp - 8], edi
je 0x4014f9
mov edx, dword [ebp + 8]
push 0
push 0x4000000
push 0
push 0
push edx
push edi
call dword [0x407168]
mov ebx, eax
test ebx, ebx
je 0x4014f2
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 4]
dec ecx
push eax
push ecx
push edx
push ebx
call dword [0x40716c]
push ebx
call dword [0x407170]
mov edi, dword [ebp - 8]
push edi
call dword [0x407170]
push esi
call dword [0x40709c]
mov esi, dword [ebp + 0xc]
push 0x4092c0
push esi
call dword [0x407160]
test eax, eax
je 0x40151f
pop edi
pop esi
mov eax, 0x4092b4
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
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 0x102d40fc
Capabilities:
Packed with generic packer

Disassembly:
mov dword [esp], 0x3dc6b2ff
mov byte [esp + 4], 0x58
mov dword [esp + 0x24], eax
pushfd
pushfd
push dword [esp + 4]
jmp loc.102c3a3d
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x58586225
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x755d55f8
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4011bb
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp loc.01bb75cf

Function at 0x402199
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00453c73
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00453c73
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x402239
mov dword [ebp - 0x18], esp
xor eax, eax
call dword [0x1b95216]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x402236
push 0x46
push 0x406a092
push 6
call fcn.00453c7f
add esp, 0xc
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40226f
push 0x75
push 0x406a092
push 6
call fcn.00453c7f
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4022a7
push 0x9c
push 0x406a092
push 6
call fcn.00453c7f
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push 0x46a2ee
push 0
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4022dd
push 0xc6
push 0x406a092
push 6
call fcn.00453c7f
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x402376
push 0x1d6
push 0x406a092
push 6
call fcn.00453c7f
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x1b9521a]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4023a5
push 0x216
push 0x406a092
push 6
call fcn.00453c7f
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x4023ad
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00453c79
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00453c79
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4035cd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x403610
push 0x19
push 0x40b339c
push 6
call fcn.00453c7f
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403627
mov eax, 0x46a255
jmp 0x4036d6
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x46a389]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00401194
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.004548a0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403675
push ebx
call fcn.00453c79
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004036ee
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4036b7
push 0x136
push 0x40b339c
push 6
call fcn.00453c7f
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x4036d1
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00453c73
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4036d6
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4036e7
push ebx
call fcn.00453c79
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40545e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
jne 0x4054b0
push 0
mov ebx, 0x108
call fcn.00455010
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4054aa
push ebx
call fcn.00453c79
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.00405571
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
push 0
push 1
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4054f1
push 0x99
push 0x406327a
push 6
call fcn.00453c7f
add esp, 0xc
mov dword [ebp - 4], eax
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 0x405525
push 0xe0
push 0x406327a
push 6
call fcn.00453c7f
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x1b9521a]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x405563
push 0x10e
push 0x406327a
push 6
call fcn.00453c7f
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x40556b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40989e
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00409a4e
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40999c
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40993f
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x409982
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x409956
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x409971
test al, 0x40
je 0x409968
mov ecx, dword [edi + 0x20]
jmp 0x40996f
test al, 0x80
je 0x409982
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x409982
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40990e
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40a0f3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x44a436
jmp loc.01bb3f86
Function at 0x411a7e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push htons
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x411ac6
mov eax, 0x46a255
push eax
push 1
mov ebx, 0x194
call fcn.00454a60
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x411aeb
jmp 0x411c73
push dword [ebp + 8]
call fcn.004036ee
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x46a389]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], esp
fld qword [ebp - 0x28]
call fcn.00401194
push eax
push 0x40
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x411b3f
push 0x129
push 0x40b337e
push 6
call fcn.00453c7f
add esp, 0xc
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x46a389]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401194
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x411c44
fild dword [ebp - 8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00401194
push eax
call fcn.00404a67
mov word [ebp - 0x14], ax
cmp word [ebp - 0x14], 0
jne 0x411be2
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x411bd8
push 0x222
push 0x40b337e
push 6
call fcn.00453c7f
add esp, 0xc
jmp 0x411c44
cmp word [ebp - 0x14], 0x5c
jne 0x411c2b
cmp dword [ebp - 0x18], 0
jle 0x411c28
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x411c28
push 0x2c3
push 0x40b337e
push 6
call fcn.00453c7f
add esp, 0xc
inc dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.00411c79
pop ebx
pop ecx
pop edx
add ecx, 2
jmp 0x411b68
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x411c73
push 0x374
push 0x40b337e
push 6
call fcn.00453c7f
add esp, 0xc
mov esp, ebp
pop ebp
ret 4

Function at 0x411f2a
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
jmp 0x432ec7
jmp loc.01bb5733