joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007c70b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100b29a0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1007c751
cmp word [ebx], dx
jne 0x1007c751
or byte [eax + edi + 0x28], 4
jmp 0x1007c756
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1007c8b9
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1007c899
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1007c797
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1007c7cd
cmp eax, edx
jae 0x1007c7db
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1007c772
jmp 0x1007c8b9
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1007c894
cmp dword [ebp - 0x18], 0
je 0x1007c894
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100b29a0]
test byte [eax + edi + 0x28], 0x48
je 0x1007c86a
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1007c82e
mov word [esi], cx
jmp 0x1007c865
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100b29a0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100b29a0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100b29a0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1007c8b9
pop eax
cmp word [ebp - 4], ax
jne 0x1007c87a
cmp esi, ebx
jne 0x1007c87a
mov word [esi], ax
jmp 0x1007c8b6
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1007d144
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1007c8b9
push 0xd
pop eax
jmp 0x1007c875
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100b29a0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1007c8b3
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1007c8b9
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1007f65b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1007f6f8
push ebx
push esi
call fcn.1007f624
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1007e46d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1007f6a5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1007f6f7
push edi
push eax
call fcn.10077aa6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1007f6c5
call fcn.10075d52
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1007f6f6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1007e46d
add esp, 0x20
test eax, eax
jne 0x1007f6e4
push edi
call fcn.10075d52
jmp 0x1007f6ec
push ebx
call fcn.10075d52
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1007f6fb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1007f70c
pop esi
ret
push ebx
push edi
push esi
call fcn.1007f624
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10077aa6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1007f734
push ebx
push esi
push edi
call fcn.10064db0
add esp, 0xc
push 0
call fcn.10075d52
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1007fb04
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007f749

Function at 0x10081d89
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100760f6
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10081df8
cmp esi, dword [ebp - 4]
je 0x10081df3
cmp dword [ebp + 0xc], 0
je 0x10081df3
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10081dd0
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100818db
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10081dfa
xor eax, eax
inc eax
jmp 0x10081dfa
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10081e5f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100b0040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100760f6
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100760f6
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10081ed6
cmp word [ecx], dx
je 0x10081ed6
mov eax, dword [0x10094d64]
push edi
dec eax
push eax
push 0x10094c50
call fcn.10081dfe
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10081f49
cmp word [eax], dx
je 0x10081f49
mov eax, dword [edi]
test eax, eax
je 0x10081efa
cmp word [eax], dx
je 0x10081efa
lea eax, [ebp - 0x10]
push eax
call fcn.100817e1
jmp 0x10081f03
lea eax, [ebp - 0x10]
push eax
call fcn.1008187c
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10081f73
mov eax, dword [0x10094c4c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10094940
call fcn.10081dfe
add esp, 0xc
test al, al
je 0x10081f73
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10081f3e
cmp word [eax], di
je 0x10081f3e
lea eax, [ebp - 0x10]
push eax
call fcn.100817e1
pop ecx
jmp 0x10081f75
lea eax, [ebp - 0x10]
push eax
call fcn.1008187c
jmp 0x10081f3b
mov eax, dword [edi]
test eax, eax
je 0x10081f60
cmp word [eax], dx
je 0x10081f60
lea eax, [ebp - 0x10]
push eax
call fcn.10081796
pop ecx
jmp 0x10081f73
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1008203e
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10081c83
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1008203e
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1008203e
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1008203e
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10081fcb
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1007ab53
test ebx, ebx
je 0x10082039
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1007ab53
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1008203e
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1008203e
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100850f1
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10082040
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100623cb
leave
ret
Function at 0x10086f80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10086fad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10086fad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x43b639
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
sub esp, 4
mov dword [esp], edi
pop edi
sub ecx, ecx
add edi, 0xf41e2d89
call fcn.0043b66d
sub edi, ecx
xor dword [ebx], esi
and ecx, edi
or edi, ecx
inc ebx
dec edi
cmp ebx, edx
jne fcn.0043b639
or ecx, ecx
mov ecx, 0x44790f20
ret
Function at 0x108e8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.108e81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x108e807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108e806a
add dl, dl
jne 0x108e8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108e80dc
xor eax, eax
add dl, dl
jne 0x108e8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108e817d
add dl, dl
jne 0x108e80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108e80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108e80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108e80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x108e80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x108e8075
mov eax, 1
add dl, dl
jne 0x108e80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108e80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108e80e1
sub eax, ebx
mov ebx, 1
jne 0x108e8128
mov ecx, 1
add dl, dl
jne 0x108e810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x108e8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108e8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108e8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x108e813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x108e814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108e8136
cmp eax, 0x7d00
jae 0x108e816d
cmp eax, 0x500
jb 0x108e8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108e8075
cmp eax, 0x7f
ja 0x108e8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x108e8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x108e819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x108e8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4033d0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x200c
call fcn.0040c3c0
mov eax, dword [0x2b87bdc]
mov ecx, dword [0x2b87b50]
shr eax, 3
test eax, eax
jbe 0x403502
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403420
cmp dword [0x2b87bdc], 0x959
jne 0x4034e4
push 0
lea eax, [esp + 0x420]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0xc24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1820]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x1420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402d2c
push 0x402d3c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403220
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200c
ret
Function at 0x408d7b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fa10]
jne 0x408d85
repz ret
jmp fcn.0040b04c

Function at 0x40a79c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405c6d
and dword [ebp - 4], 0
cmp dword [0x430dac], 0
mov ebx, eax
jne 0x40a84d
push 0x402c0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a8fe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c00
push edi
call esi
test eax, eax
je 0x40a8fe
push eax
call fcn.00405bfb
mov dword [esp], 0x402bf0
push edi
mov dword [0x430dac], eax
call esi
push eax
call fcn.00405bfb
mov dword [esp], 0x402bdc
push edi
mov dword [0x430db0], eax
call esi
push eax
call fcn.00405bfb
mov dword [esp], 0x402bc0
push edi
mov dword [0x430db4], eax
call esi
push eax
call fcn.00405bfb
pop ecx
mov dword [0x430dbc], eax
test eax, eax
je 0x40a84d
push 0x402ba8
push edi
call esi
push eax
call fcn.00405bfb
pop ecx
mov dword [0x430db8], eax
mov eax, dword [0x430db8]
cmp eax, ebx
je 0x40a8a5
cmp dword [0x430dbc], ebx
je 0x40a8a5
push eax
call fcn.00405c76
push dword [0x430dbc]
mov esi, eax
call fcn.00405c76
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a8a5
test edi, edi
je 0x40a8a5
call esi
test eax, eax
je 0x40a89c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a89c
test byte [ebp - 0xc], 1
jne 0x40a8a5
or dword [ebp + 0x10], 0x200000
jmp 0x40a8de
mov eax, dword [0x430db0]
cmp eax, ebx
je 0x40a8de
push eax
call fcn.00405c76
pop ecx
test eax, eax
je 0x40a8de
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a8de
mov eax, dword [0x430db4]
cmp eax, ebx
je 0x40a8de
push eax
call fcn.00405c76
pop ecx
test eax, eax
je 0x40a8de
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x430dac]
call fcn.00405c76
pop ecx
test eax, eax
je 0x40a8fe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a900
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403160
Capabilities:
Copy file
Enumerate gui resources

Disassembly:
mov eax, dword [0x4cb36c]
mov ecx, dword [0x4c8278]
sub esp, 0x82c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40324d
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x4cb36c], 0x959
jne 0x403233
push 0
push 0
call edi
push 0
lea eax, [esp + 0x3c]
push eax
push 0
call ebx
push 0
push 0
call ebp
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
lea ecx, [esp + 0x1c]
push ecx
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call esi
push 0
push 0x402cb0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [esp + 0x14]
push edx
call fcn.00402fc0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x4031a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x82c
ret
Function at 0x4060d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45e0f8]
jne 0x4060da
repz ret
jmp fcn.0040b0a2

Function at 0x40adc5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406b59
and dword [ebp - 4], 0
cmp dword [0x460ddc], 0
mov ebx, eax
jne 0x40ae76
push 0x401b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40af27
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b08
push edi
call esi
test eax, eax
je 0x40af27
push eax
call fcn.00406ae7
mov dword [esp], 0x401af8
push edi
mov dword [0x460ddc], eax
call esi
push eax
call fcn.00406ae7
mov dword [esp], 0x401ae4
push edi
mov dword [0x460de0], eax
call esi
push eax
call fcn.00406ae7
mov dword [esp], 0x401ac8
push edi
mov dword [0x460de4], eax
call esi
push eax
call fcn.00406ae7
pop ecx
mov dword [0x460dec], eax
test eax, eax
je 0x40ae76
push 0x401ab0
push edi
call esi
push eax
call fcn.00406ae7
pop ecx
mov dword [0x460de8], eax
mov eax, dword [0x460de8]
cmp eax, ebx
je 0x40aece
cmp dword [0x460dec], ebx
je 0x40aece
push eax
call fcn.00406b62
push dword [0x460dec]
mov esi, eax
call fcn.00406b62
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40aece
test edi, edi
je 0x40aece
call esi
test eax, eax
je 0x40aec5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40aec5
test byte [ebp - 0xc], 1
jne 0x40aece
or dword [ebp + 0x10], 0x200000
jmp 0x40af07
mov eax, dword [0x460de0]
cmp eax, ebx
je 0x40af07
push eax
call fcn.00406b62
pop ecx
test eax, eax
je 0x40af07
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40af07
mov eax, dword [0x460de4]
cmp eax, ebx
je 0x40af07
push eax
call fcn.00406b62
pop ecx
test eax, eax
je 0x40af07
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x460ddc]
call fcn.00406b62
pop ecx
test eax, eax
je 0x40af27
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40af29
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xae5624
Capabilities:
Encode data using xor

Disassembly:
jmp 0xae562e
pushal
call 0xae5634
pop ebp
sub ebp, 0x10
sub ebp, 0x6e5624
jmp 0xae564a
mov eax, 0x6e5624
add eax, ebp
add eax, 0x4c
mov ecx, 0x60b
mov edx, 0x1d6fa74c
xor byte [eax], dl
inc eax
dec ecx
jne 0xae5661
jmp 0xae5674
mov dword [ecx + 0x4c70c5c7], 0x8dcd4c4c
mov ah, 0x4c
dec esp
dec esp
dec edi
xor esp, 0x4c4c4c48
mul byte [esp + ecx*2 + 0x4c]
dec esp
mov ebx, 0xc7844fae
int 0x40
dec esp
dec esp
dec esp
dec edi
mov dword [esp + ebx], ebx
and al, 0x3c
in eax, 0x42
dec esp
and al, 0xff
loopne 0xae56b8
dec esp
dec ebp
pushal
push 0x24d27d24
enter 0x49a4, 0x4c
dec esp
dec esp
movsd dword es:[edi], dword [esi]
js 0xae5702
dec esp
dec esp
shr dword [eax], 0x68
mov al, 0xc5
pushal
push 0xc9c7a0c7
inc esp
dec esp
dec esp
dec esp
invalid
push 0x6840c5b0
movsb byte es:[edi], byte [esi]
dec ecx
dec esp
dec esp
dec esp
movsd dword es:[edi], dword [esi]
jae 0xae575d
dec esp
dec esp
shr dword [eax], 0x68
mov al, 0xc5
pushal
push 0x39b3a0c7
inc eax
mov bl, 0x39
inc esp
movsb byte es:[edi], byte [esi]
and byte [esp + ecx*2 + 0x4c], cl
invalid
dec esp
dec esp
dec esp
or eax, 0xb3b380a5
mov bl, 0x65
add byte [ebp + 0x4d], dh
iretd
Function at 0x401000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
cld
mov edi, dword fs:[0x30]
push dword [edi + 0xc]
pop edi
mov edi, dword [edi + 0x14]
shr ebx, 0x1f
shr ebx, 1
or ebx, 0x4000000
ror ebx, 0x1a
or ebx, ebx
je 0x401058
and esi, 0
xor esi, dword [edi + 0x28]
shl edx, 0x1f
shl edx, 1
lodsw ax, word [esi]
test ax, ax
je 0x401045
or al, 0x20
rol edx, 2
rol edx, 0x17
xor dl, al
jmp 0x401032
shr ebx, 0x1f
shr ebx, 1
xor ebx, dword [edi + 0x10]
mov edi, dword [edi]
push ecx
mov ecx, dword [ebp + 8]
cmp edx, ecx
pop ecx
jne 0x401023
push ebx
push eax
pop ebx
pop eax
pop esi
pop edi
pop ebx
leave
ret 4

Function at 0x40148d
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x5340ed15
xchg ecx, eax
inc dword [ebp - 0x18]
mov dword [0x4181ae], ecx
xor edx, edx
ror edx, 0x16
pop edx
push 0
pop eax
add eax, 0xffff8878
neg eax
or eax, 0xe510
shr eax, 0xc
xor eax, 0xf887
add eax, 0x25e9
rol eax, 2
cmp eax, 0x479c4
je 0x4017c6
leave
ret 0xc
mov edx, 0xef00be6
inc edx
shl edx, 0x10
push 0x3b0ee701
xchg edx, ecx
xor dword [0x4181ae], ecx
inc edx
xchg ecx, eax
pop ecx
call fcn.0040154a
mov eax, 0x2de
shl eax, 0x16
add eax, 0x9bad
cmp eax, 0xb7809bad
je 0x401811
mov eax, 0x3f78e3ce
xchg ecx, edx
mov dword [0x418048], edx
inc eax
push 0x714a7bcf
push 0x39412796
pop edx
xchg ecx, eax
inc ecx
mov dword [0x41819e], edx
pop eax
push 0
pop eax
or eax, 0x97f5
and eax, 0x8cb4
xor eax, 0x323c
and eax, 0x7076
xor eax, 0xc9be
rol eax, 0xf
cmp eax, 0x7c6f04e5
ja 0x401794
shr eax, 0x1f
shr eax, 1
or eax, 0x54ca
shl eax, 3
or eax, 0x1cac
cmp eax, 0x66d9edda
jb 0x4014d5