joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, 0x388becff
or bh, ch
add byte [eax], al
add byte [esi - 0x33ba74b2], dh
test eax, eax
jne 0x404f7e
or ecx, dword [ebx + 0x41fcdc0d]
add byte [ecx - 0x3ec81bb3], cl
mov ecx, dword [0x41fcdc]
mov dword [ebp - 0x1c], ecx
aaa
ror dword [ebx - 0x367aefb3], 0x75
or al, byte [ebp - 0x41f99840]
push eax
and byte [ecx + 0x78531055], cl
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x404f8f
test eax, eax
push es
mov esi, 0x55892050
adc byte [ebx + 0x78], dl
push ebx
js 0x404fef
pop ebp
adc al, 0x56
push edi
mov bl, bl
cli
add edx, dword [eax + 0x38ba052]
mov edi, 0xcb
cmp eax, edi
jb 0x404ffe
mov ebx, edi
or al, 0x85
sal byte [esi + eax + 0x50], 0xde
sbb al, 0xa5
add byte [eax], al
mov esi, dword [ebx - 0x51]
mov ecx, dword [ebx]
lea eax, [ebx + 0x18]
mov edi, dword [ecx]
out 0xf6, al
jne 0x404fd1
mov dh, ch
dec edx
sti
mov esi, dword [eax + 4]
xor al, al
add al, 0x42
test dword [0x308bf174], ebx
mov esi, dword [eax]
test esi, esi
je 0x40502a
mov edi, dword [esi]
test dword [edx - 0x77], edi
je 0x404f98
test dword [edx + 0x74000000], ecx
or byte [edi], cl
add byte [edx - 0x55380000], 0x50
stosb byte es:[edi], al
push eax
loopne 0x404f72
call 0xd2a398f8
jne 0x405052
test ecx, ecx
ja 0x404feb
mov dword [ebx], ecx
jmp 0x40506d
mov eax, dword [ebx + 0x14]
lea esi, [ebx + 0x14]
test dword [esp + esi*2], ecx
das
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x405015
push eax
call fcn.0040a2f5
mov eax, esi
mov esi, dword [eax]
inc esi
div byte [ebp + ecx + 0x39]
jle 0x405028
cmp dword [esi + 8], edi
jae 0x405069
mov eax, esi
movsb byte es:[edi], byte [esi]
test ecx, esi
jne 0x40501d
mov eax, dword [ebx + 0x6c]
test eax, ebx
mov al, 6
push eax
call fcn.0040a340
push 0x31a22000
push 0x15
pop esp
rcr esi, 0
mov esi, eax
add esp, 4
test dword [edx + 0x27840f], edx
add byte [eax], al
lea edx, [esi - 0x7b]
aaa
xchg byte [eax], al
and byte [eax], bl
add bh, al
loop 0x40507a
add byte [ecx + 0x27e8900], cl
mov dword [esi + 0x10], edx
mov dword [ebp + 0x14], ebx
jmp 0x40509d
mov esi, dword [edi]
mov dword [eax], edx
mov edi, dword [ebx + 0x3e]
mov edi, dword [edi + 0x4b]
add edi, eax
mov eax, dword [ebx - 0x3c]
mov ecx, edi
mov dword [ebx + 8], edi
cmp ecx, eax
add dword [ebx], 0xffffff89
inc ebx
or byte [ebx - 0x3f7af3e3], cl
je 0x405091
push eax
call fcn.0040a340
lea ebp, [eax + 0x18]
mov dword [esi], 0
mov dword [esi + 0x10], ecx
out 0x10, eax
adc byte [ebx + 0x3689104d], cl
mov dword [esi + 4], esi
lea eax, [edi + 0x40]
xchg ecx, eax
inc edi
xor al, 0xbb
inc esi
adc byte [ecx - 0x3674e73a], cl
or al, 0x99
ja 0x4050ea
mov dword [edi + 0x2c], esi
xor esi, esi
mov dword [edi + 0x20], ecx
cmp ebx, esi
mov dword [edi + 0x38], esi
mov dword [ecx + 0x14778910], esi
mov dword [edi - 0x40], esi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x24], esi
mov dword [edi - 0x3e], esi
jmp 0x8bb7c500
invalid

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x419610
Capabilities:
Get disk information

Disassembly:
sub esp, 8
mov eax, dword [0x4d2030]
mov edx, dword [0x4d2034]
mov dword [esp + 4], 0
push 0x4d2064
lea ecx, [eax + eax]
or ecx, edx
mov dword [esp + 4], ecx
fild qword [esp + 4]
fadd qword [0x4d2058]
fstp qword [0x4d2058]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [0x4d5acc], eax
add esp, 8
ret

Function at 0x4c7ebd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d2380
cmp edx, dword [eax]
je 0x4c7edf
add eax, 8
inc ecx
cmp eax, 0x4d2410
jl 0x4c7ed0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d2380]
jne 0x4c800d
mov eax, dword [0x4d7db0]
cmp eax, 1
je 0x4c7fe7
test eax, eax
jne 0x4c7f10
cmp dword [0x4d22a8], 1
je 0x4c7fe7
cmp edx, 0xfc
je 0x4c800d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c7f47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c88a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c8d30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c7f8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c8d30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cde24
push edi
call fcn.004cac00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c88a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c88b0
lea eax, [ebp - 0xa0]
push 0x4cde04
push eax
call fcn.004c88b0
push dword [esi + 0x4d2384]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c88b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004cab74
add esp, 0x2c
pop edi
jmp 0x4c800d
lea eax, [ebp + 8]
lea esi, [esi + 0x4d2384]
push 0
push eax
push dword [esi]
call fcn.004c8d30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x43b64d
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop eax
and ebx, ecx
sub ebx, 0x10d5b60b
add ebx, ebx
call fcn.0043b68f
sub ecx, 0xf801879f
mov ebx, ecx
xor dword [edi], eax
sub ebx, ebx
sub ecx, ecx
add edi, 1
add ecx, ecx
add ebx, 0x667a27d
cmp edi, edx
jne fcn.0043b64d
sub ebx, 0x40ff0b8e
and ebx, ebx
add ebx, ecx
ret
Function at 0x10001130
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025b09
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x10030cb0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0x400
push 0x100320c8
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x81c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea edx, [ebp - 0x81c]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x1000126f
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x1000126f
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x838]
call fcn.1000ace0
mov dword [ebp - 4], 0
push str.sider
lea eax, [ebp - 0x838]
push eax
call fcn.1000e300
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10001242
push 0x88
call fcn.1001358e
add esp, 4
mov dword [ebp - 0x840], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x840], 0
je 0x10001209
push 0x100320c8
lea edx, [ebp - 0x838]
push edx
mov ecx, dword [ebp - 0x840]
call fcn.10009800
mov dword [ebp - 0x844], eax
jmp 0x10001213
mov dword [ebp - 0x844], 0
mov eax, dword [ebp - 0x844]
mov dword [ebp - 0x83c], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x83c]
mov dword [ecx], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x838]
call fcn.1000adf0
jmp 0x1000126f
mov eax, dword [ebp - 0x10]
push eax
call fcn.10013573
add esp, 4
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x838]
call fcn.1000adf0
jmp 0x10001181
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100139f2
mov esp, ebp
pop ebp
ret
Function at 0x1000bbf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
enter 0x45c6, 0xffffffffffffffb9
cmpsd dword [esi], dword es:[edi]
call fcn.1000b956
sbb al, byte [ecx]
dec edx
pop eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000b966
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1000b91b
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1000bc44
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
invalid

Function at 0x1000bcc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
invalid
inc ebp

Function at 0x1000c050
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000c02d
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000c04b
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
sal bh, cl
mov ch, 0x54
invalid
invalid
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1000c0a9
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1000c090
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000c099
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000c0a3
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1000c085
inc dword [ebp + 0xc]
invalid
test dword [eax - 1], edi
Function at 0x1000c0a0
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000c02d
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000c04b
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
sal bh, cl
mov ch, 0x54
invalid
invalid
push dword [ebx]
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1000c0a9
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1000c090
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000c099
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000c0a3
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1000c085
inc dword [ebp + 0xc]
invalid
test dword [eax - 1], edi

Function at 0x1000c1e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.1000b966
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000b91b
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
invalid
movsd dword es:[edi], dword [esi]
aas
cld
Function at 0x1000c5c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec edi
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.1000b966
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000b91b
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.1000b956
or cl, byte [eax]
fcomp qword [ebx + 0x10468]
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x1000c61f
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x1000c64a
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x1000c814
cmp dword [ebp + 0xc], 1
je 0x1000c814
cmp dword [ebp + 0xc], 8
jne 0x1000c7dc
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
dec esi
stc
invalid
dec dword [0xf94f85c6]
invalid
call dword [eax]
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.1000b966
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000b91b
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.1000b956
out dx, eax
cmp ah, ah
jnp 0x1000c78c
push dword [ebp - 0x698]
lea eax, [ebp - 0x6c0]
push eax
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000bb32
add esp, 0x14
call fcn.1000b956
invalid
mov ch, 0x68
stc
invalid
Function at 0x10010810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x10030cb0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10016202
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0x40
lea edx, [ebp - 0x48]
push edx
call fcn.1001615b
add esp, 0x10
push 1
mov eax, dword [ebp - 0xc]
sub eax, 0x40
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10016202
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 1
push 0x18
lea eax, [ebp - 0x170]
push eax
call fcn.1001615b
add esp, 0x10
push 1
movzx ecx, word [ebp - 0x15c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10016202
add esp, 0xc
mov ax, word [ebp - 0x16a]
mov word [ebp - 0x4c], ax
xor ecx, ecx
mov word [ebp - 0x174], cx
jmp 0x100108b1
mov dx, word [ebp - 0x174]
add dx, 1
mov word [ebp - 0x174], dx
movzx eax, word [ebp - 0x174]
movzx ecx, word [ebp - 0x4c]
cmp eax, ecx
jge 0x10010929
mov edx, dword [ebp + 8]
push edx
push 1
push 0x28
lea eax, [ebp - 0x74]
push eax
call fcn.1001615b
add esp, 0x10
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10015700
add esp, 4
test eax, eax
je 0x10010910
push 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.10013b7b
add esp, 0xc
test eax, eax
je 0x10010910
push 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x74]
push edx
call fcn.10015e51
add esp, 0xc
test eax, eax
jne 0x10010924
push 1
push 0xffffffffffffffd8
mov eax, dword [ebp + 8]
push eax
call fcn.10016202
add esp, 0xc
mov al, 1
jmp 0x1001092b
jmp 0x1001089f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100139f2
mov esp, ebp
pop ebp
ret

Function at 0x10010990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x10030cb0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10016202
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0x40
lea edx, [ebp - 0x48]
push edx
call fcn.1001615b
add esp, 0x10
push 1
mov eax, dword [ebp - 0xc]
sub eax, 0x40
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10016202
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 1
push 0x18
lea eax, [ebp - 0x140]
push eax
call fcn.1001615b
add esp, 0x10
movzx ecx, word [ebp - 0x12c]
test ecx, ecx
jle 0x10010a62
push 1
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.10016202
add esp, 0xc
push 1
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.10016202
add esp, 0xc
push 1
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.10016202
add esp, 0xc
push 1
push 4
mov edx, dword [ebp + 8]
push edx
call fcn.10016202
add esp, 0xc
push 1
push 4
mov eax, dword [ebp + 8]
push eax
call fcn.10016202
add esp, 0xc
push 1
push 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.10016202
add esp, 0xc
mov al, 1
jmp 0x10010a64
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100139f2
mov esp, ebp
pop ebp
ret
Function at 0x10010ad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x10030cb0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10016202
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0x40
lea edx, [ebp - 0x48]
push edx
call fcn.1001615b
add esp, 0x10
push 1
mov eax, dword [ebp - 0xc]
sub eax, 0x40
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10016202
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 1
push 0x18
lea eax, [ebp - 0x170]
push eax
call fcn.1001615b
add esp, 0x10
push 1
movzx ecx, word [ebp - 0x15c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10016202
add esp, 0xc
mov ax, word [ebp - 0x16a]
mov word [ebp - 0x4c], ax
xor ecx, ecx
mov word [ebp - 0x174], cx
jmp 0x10010b71
mov dx, word [ebp - 0x174]
add dx, 1
mov word [ebp - 0x174], dx
movzx eax, word [ebp - 0x174]
movzx ecx, word [ebp - 0x4c]
cmp eax, ecx
jge 0x10010bb4
mov edx, dword [ebp + 8]
push edx
push 1
push 0x28
lea eax, [ebp - 0x74]
push eax
call fcn.1001615b
add esp, 0x10
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x68]
jb 0x10010bb2
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x6c]
cmp dword [ebp + 0xc], edx
jae 0x10010bb2
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x60]
jmp 0x10010bb6
jmp 0x10010b5f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100139f2
mov esp, ebp
pop ebp
ret

Function at 0x10010bd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x10030cb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x4c], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10016202
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0x40
lea edx, [ebp - 0x48]
push edx
call fcn.1001615b
add esp, 0x10
push 1
mov eax, dword [ebp - 0xc]
sub eax, 0x40
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10016202
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 1
push 0x18
lea eax, [ebp - 0x148]
push eax
call fcn.1001615b
add esp, 0x10
movzx ecx, word [ebp - 0x134]
test ecx, ecx
jle 0x10010cb1
push 1
push 0x68
mov edx, dword [ebp + 8]
push edx
call fcn.10016202
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 1
push 4
lea ecx, [ebp - 0x14c]
push ecx
call fcn.1001615b
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
push 1
push 4
lea eax, [ebp - 0x4c]
push eax
call fcn.1001615b
add esp, 0x10
push 0
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10010ad0
add esp, 8
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10016202
add esp, 0xc
mov eax, dword [ebp - 0x4c]
jmp 0x10010cb3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100139f2
mov esp, ebp
pop ebp
ret
Function at 0x10010f80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x10030cb0]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.100134c0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea eax, [ebp - 0x210]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10011105
mov ecx, dword [ebp - 4]
push ecx
call fcn.1001337a
add esp, 4
mov dword [ebp - 0x324], eax
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x210]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100110ea
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0x1002b53c
mov edx, dword [ebp - 0x214]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100110ea
cmp dword [ebp - 0x218], 0
je 0x100110ea
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
push pe_nt_image_headers32
push 0
lea ecx, [ebp - 0x320]
push ecx
call fcn.100134c0
add esp, 0xc
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0xc]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 8]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 8]
shr eax, 0x10
and eax, 0xffff
push eax
push 0x1002b540
lea ecx, [ebp - 0x320]
push ecx
call fcn.10011120
add esp, 0x18
lea edx, [ebp - 0x320]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.1000ae50
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x328]
push ecx
call fcn.10016477
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100139f2
mov esp, ebp
pop ebp
ret

Function at 0x10011280
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x100112cf
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x40
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100112cf
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
lea eax, [eax + ecx + 5]
jmp 0x100112d1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100112e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x1001139b
cmp dword [ebp - 4], 0
je 0x1001139b
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x40
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0x10
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1001139b
mov edx, dword [ebp - 0x10]
mov byte [edx], 0xe8
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, 5
mov edx, dword [ebp - 4]
sub edx, ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [ebp - 0x18], 0
jmp 0x10011360
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 0x14]
jge 0x10011374
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
mov byte [eax + 5], 0x90
jmp 0x10011357
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0x10011386
mov edx, dword [ebp - 0x10]
add edx, dword [ebp + 0x14]
mov byte [edx + 5], 0xc3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push str.Function___08x__HOOKED_at_address___08x__n
call sym.sider.dll_void___cdecl_log__wchar_t_const__
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x100139f2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10030cb0]
jne 0x100139fc
repz ret
jmp fcn.10017f7c