joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41185b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, dword [ebp + 0x401fab]
push 0x725ea171
push eax
call fcn.00411ae1
xchg ebx, eax
push 0x5000
push 0x40
call ebx
xchg edi, eax
rdtsc
and eax, 0xfff
add eax, edi
mov dword [ebp + 0x401fbb], eax
push 0x1000
push 0x40
call ebx
xchg edi, eax
rdtsc
and eax, 0xff
add eax, edi
mov dword [ebp + fcn.00401d4b], eax
push 0x1000
push 0x40
call ebx
xchg edi, eax
rdtsc
and eax, 0xff
add eax, edi
mov dword [ebp + 0x401fa7], eax
lea ecx, [ebp + 0x406fbf]
mov dword [ebp + 0x401cb0], ecx
mov ecx, 0x136
mov edi, eax
lea esi, [ebp + 0x401c15]
rep movsb byte es:[edi], byte [esi]
push 0x1000
push 0x40
call ebx
xchg edi, eax
rdtsc
and eax, 0xff
add eax, edi
mov dword [ebp + 0x401eb4], eax
mov edi, eax
lea esi, [ebp + 0x401bdc]
mov ecx, 0x39
lea ebx, [ebp + 0x401fbf]
mov dword [ebp + 0x401c11], ebx
rep movsb byte es:[edi], byte [esi]
lea ebx, [ebp + 0x401fbf]
mov dword [ebp + 0x401c11], ebx
mov edi, dword [ebp + 0x401fbb]
mov dword [ebx + 0x10], edi
cmp dword [ebx], 4
jne 0x41192f
push 3
call fcn.00411b36
call fcn.00411ce8
jmp 0x411919
cmp dword [ebx], 2
jne 0x411942
push 2
call fcn.00411b36
call fcn.00411ce8
jmp 0x411919
cmp dword [ebx], 1
jne 0x411955
push 4
call fcn.00411b36
call fcn.00411ce8
jmp 0x411919
cmp dword [ebx], 3
jne 0x411968
push 5
call fcn.00411b36
call fcn.00411ce8
jmp 0x411919
cmp dword [ebx], 5
jne 0x41197b
push 9
call fcn.00411b36
call fcn.00411ce8
jmp 0x411919
push 0xb
call fcn.00411b36
push 0xa
call fcn.00411b36
push 6
call fcn.00411b36
push 8
call fcn.00411b36
push 7
call fcn.00411b36

Function at 0x411a9f
Capabilities:
Parse pe header

Disassembly:
pushal
xor edx, edx
mov esi, dword fs:[edx]
lodsd eax, dword [esi]
cmp eax, 0xffffffff
je 0x411aaf
mov esi, eax
jmp 0x411aa5
mov edi, dword [esi + 4]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
je 0x411ac7
sub edi, 0x10000
jmp 0x411ab8
mov ebx, edi
add ebx, dword [ebx + 0x3c]
cmp word [ebx], 0x4550
je 0x411adb
sub edi, 0x10000
jmp 0x411ab8
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x411ae1
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x411b00
cmp eax, dword [esp + 0x28]
je 0x411b17
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x411af7
mov edx, dword [ebx + 0x24]
add edx, ecx
movzx edx, word [edx + esi*2]
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov eax, dword [eax + edx*4]
add eax, ecx
mov dword [esp + 0x1c], eax
popal
ret 8
Function at 0x5580a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x103000]
push edi
jmp 0x5580ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5580c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5580b0
mov eax, 1
add ebx, ebx
jne 0x5580d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5580e4
jne 0x558103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x558103
dec eax
add ebx, ebx
jne 0x5580f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5580c8
add ebx, ebx
jne 0x5580ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x558155
xor ecx, ecx
sub eax, 3
jb 0x55811b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55818a
sar eax, 1
mov ebp, eax
jmp 0x558126
add ebx, ebx
jne 0x558126
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5580f4
inc ecx
add ebx, ebx
jne 0x558134
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5580f4
add ebx, ebx
jne 0x558141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x558136
jne 0x558152
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x558136
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x558174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x558166
jmp 0x5580b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x558174
add edi, ecx
jmp 0x5580b6
pop esi
mov edi, esi
mov ecx, 0x3eef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x558192
cmp byte [edi], 0x11
jne 0x558192
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 0x558197
lea edi, [esi + 0x151000]
mov eax, dword [edi]
or eax, eax
je 0x55820f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d89dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d8b58]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5581c4
mov ecx, edi
jns 0x5581f3
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 + 0x1d8b5c]
or eax, eax
je 0x558209
mov dword [ebx], eax
add ebx, 4
jmp 0x5581e1
call dword [esi + 0x1d8b6c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x558240
cmp al, 0xef
ja 0x558233
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x558215
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x558222
mov ebp, dword [esi + 0x1d8b60]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x558274
sub esp, 0xffffff80
jmp 0x426bf7
Function at 0x100091d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x101446d1
push 0x74
mov eax, 0x101eedd7
call fcn.100048bd
mov edi, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov al, byte [esi + 0x2c]
mov byte [edi + 0x69], al
cmp dword [esi], 0x10900
push edi
sete al
mov dword [ebp - 0x40], ecx
push esi
push ecx
mov byte [edi + 0x68], al
call fcn.10145b97
add esp, 0xc
test eax, eax
jne 0x101448a7
mov eax, dword [esi + 0x80]
or eax, dword [esi + 0x84]
push 1
pop ebx
jne 0x10144728
mov eax, ebx
jmp 0x1014472a
xor eax, eax
test al, al
lea ecx, [ebp - 0x80]
sete byte [ebp - 0x25]
and dword [ebp - 0x38], 0
call fcn.10006df2
and dword [ebp - 4], 0
and dword [ebp - 0x3c], 0
cmp dword [edi + 0x24], 0
jbe 0x10144895
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov eax, dword [edi + 0x20]
add eax, ecx
mov dword [ebp - 0x34], eax
cmp word [esi + 0x20], bx
jne 0x10144874
cmp word [eax + 0x20], bx
jne 0x10144874
xor ebx, ebx
lea ecx, [edi + 0x5c]
cmp byte [edi + 0x68], bl
sete bl
add ebx, dword [edi + 0x60]
call fcn.10006f50
push ebx
push eax
mov dword [ebp - 0x2c], eax
call fcn.10145fbe
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x24]
pop ecx
pop ecx
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x80]
push edi
push esi
push ebx
push dword [ebp - 0x40]
call fcn.10005e98
test eax, eax
jne 0x10144891
lea eax, [ebx + 0x2c]
push 0x14
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10003a9e
add esp, 0xc
test eax, eax
je 0x101447e0
cmp byte [esi + 0x2c], 0
je 0x1014488c
lea eax, [ebx + 0x2c]
push eax
call fcn.100036e3
pop ecx
test al, al
je 0x1014488c
mov eax, dword [ebp - 0x2c]
and dword [eax + 0x1c], 0
cmp dword [edi + 0x3c], 0
jne 0x101447fb
push dword [ebp + 0x10]
lea ecx, [edi + 0x38]
call fcn.1000525e
mov eax, dword [ebp - 0x2c]
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.1000155f
test eax, eax
jne 0x10144891
mov dl, byte [ebp - 0x25]
test dl, dl
je 0x10144871
mov eax, dword [esi + 0x78]
cmp eax, dword [ebx + 8]
jne 0x1014482b
mov eax, dword [esi + 0x7c]
cmp eax, dword [ebx + 0xc]
jne 0x1014482b
xor ebx, ebx
inc ebx
mov dh, bl
jmp 0x10144830
xor ebx, ebx
xor dh, dh
inc ebx
xor ecx, ecx
movzx eax, dl
test dh, dh
cmove ecx, eax
cmp byte [esi + 0x2d], 0
mov dl, cl
mov byte [ebp - 0x25], dl
je 0x10144874
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x25], dl
cmp dword [eax + 0x24], ebx
jne 0x10144874
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
test dh, dh
je 0x10144860
cmp dword [esi + 0x28], eax
jne 0x1014489d
mov byte [ebp - 0x25], dl
cmp dword [esi + 0x28], eax
jne 0x10144874
mov byte [ebp - 0x25], dl
test dh, dh
je 0x1014489d
jmp 0x10144874
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x3c]
add dword [ebp - 0x30], 0x40
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [edi + 0x24]
jae 0x10144895
mov ecx, dword [ebp - 0x30]
jmp 0x10144753
xor ebx, ebx
inc ebx
jmp 0x1014489d
mov ebx, eax
jmp 0x1014489d
cmp byte [ebp - 0x25], 0
jne 0x1014489d
xor ebx, ebx
lea ecx, [ebp - 0x80]
call fcn.10005731
mov eax, ebx
call fcn.100029e6
ret 0x10
Function at 0x10009845
Capabilities:
Query environment variable

Disassembly:
jmp 0x101c22cb
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x101c22df
xor edi, edi
jmp 0x101c2316
push ebx
push esi
call fcn.101c21d4
sub eax, esi
sar eax, 1
lea ebx, [eax + eax]
push ebx
call fcn.1000878d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x101c2306
push ebx
push esi
push edi
call fcn.10003aa8
add esp, 0xc
push 0
call fcn.10004a93
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x10009b42
Capabilities:
Terminate process

Disassembly:
jmp 0x101a2149
push 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x101a2159
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.10003f67
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x10092c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
mov dword [ebp - 8], eax
lea edx, [ecx + 0x325c8]
mov dword [ebp - 0xc], edx
push edi
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 4], 4
mov edi, eax
lea eax, [ebx + 1]
nop
movzx edx, word [ecx + eax*2 + 0x32c4c]
mov esi, edi
and esi, 1
shr edx, 4
mov ecx, esi
shr edi, 1
neg ecx
add eax, eax
sar ecx, 4
or eax, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp + 8]
add ebx, dword [ecx + edx*4 + 0x30f34]
sub dword [ebp - 4], 1
jne 0x10092c70
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov dword [edx], ebx
add edx, 4
mov dword [ebp - 0xc], edx
cmp eax, 0x10
jb 0x10092c60
pop edi
pop esi
mov dword [ecx + 0x84], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10092cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10253880]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, 4
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x208], ebx
nop dword [eax]
nop dword [eax + eax]
movzx ecx, byte [edi + ebx + 0x30734]
mov esi, 1
mov eax, ecx
mov dword [ebp - 0x218], ecx
mov edx, ecx
shr eax, 1
dec eax
mov dword [ebp - 0x20c], 0
and edx, 1
mov dword [ebp - 0x210], eax
or edx, 2
mov ecx, eax
shl edx, cl
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x214], edx
test eax, eax
je 0x10092dc0
mov ebx, eax
mov eax, esi
mov edx, ecx
sub eax, dword [ebp - 0x218]
and edx, 1
add eax, dword [ebp - 0x214]
add esi, esi
shr ecx, 1
or esi, edx
mov dword [ebp - 0x210], ecx
movzx ecx, word [edi + eax*2 + 0x32b66]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp - 0x20c]
add eax, dword [edi + ecx*4 + 0x30f34]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x20c], eax
sub ebx, 1
jne 0x10092d64
mov ebx, dword [ebp - 0x208]
jmp 0x10092dc2
xor eax, eax
mov dword [ebp + ebx*4 - 0x204], eax
inc ebx
mov dword [ebp - 0x208], ebx
cmp ebx, 0x80
jb 0x10092d20
lea eax, [ebp - 0x204]
mov dword [ebp - 0x21c], edi
sub eax, edi
mov dword [ebp - 0x210], 4
lea esi, [edi + 0x319c8]
sub eax, 0x31dc8
lea edx, [edi + 0x31dd0]
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], eax
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 0x214], ebx
cmp dword [edi + 0x88], ebx
jbe 0x10092e90
mov eax, ebx
xor esi, esi
mov ebx, dword [ebp - 0x21c]
or eax, 0x40
nop dword [eax]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [ebx + edx*2 + 0x32968]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [edi + ecx*4 + 0x30f34]
cmp eax, 1
jne 0x10092e40
mov ebx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x208]
mov dword [eax + ebx*4], esi
inc ebx
mov dword [ebp - 0x214], ebx
cmp ebx, dword [edi + 0x88]
jb 0x10092e30
mov edx, dword [ebp - 0x20c]
mov esi, eax
mov ecx, 0xe
cmp dword [edi + 0x88], ecx
jbe 0x10092eb6
nop dword [eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x88]
jb 0x10092ea0
mov eax, dword [esi]
mov ecx, 4
mov ebx, dword [ebp - 0x218]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
mov dword [edx - 4], eax
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
add edx, 8
nop word [eax + eax]
movzx eax, byte [edi + ecx + 0x30734]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [edx + ebx - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x10092ee0
mov edx, dword [ebp - 0x20c]
add esi, 0x100
sub dword [ebp - 0x21c], 0xffffff80
add edx, 0x200
sub ebx, 0x200
mov dword [ebp - 0x208], esi
sub dword [ebp - 0x210], 1
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], ebx
jne 0x10092e20
mov ecx, dword [ebp - 4]
mov dword [edi + 0x80], 0
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100081bb
mov esp, ebp
pop ebp
ret
Function at 0x10094e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
movzx ecx, word [edi]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [ebx + eax*4]
mov edx, dword [ebx + ecx*4]
movzx ecx, word [edi + 2]
mov dword [ebp - 8], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + ecx*4]
add eax, edx
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x18], esi
cmp esi, dword [ebp + 0x10]
jae 0x10094f84
mov edx, esi
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
or edx, 8
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 4]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x10094e78
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x18]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 0x18], esi
cmp esi, 8
jb 0x10094e60
cmp esi, 0x10
jae 0x10094f1d
lea eax, [esi - 8]
mov dword [ebp - 4], eax
cmp esi, dword [ebp + 0x10]
jae 0x10094f84
mov edx, eax
xor esi, esi
or edx, 8
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 0x104]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x10094ed3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x18]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0x18], esi
mov dword [ebp - 4], eax
cmp esi, 0x10
jb 0x10094ec3
cmp esi, dword [ebp + 0x10]
jae 0x10094f84
lea eax, [esi - 0x10]
mov dword [ebp - 4], eax
nop dword [eax + eax]
mov esi, dword [ebp + 8]
xor edi, edi
or eax, 0x100
nop word [eax + eax]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [esi + edx*2 + 0x204]
shr ecx, 4
xor ecx, eax
mov eax, edx
add edi, dword [ebx + ecx*4]
cmp eax, 1
jne 0x10094f40
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0x18], esi
mov dword [ebp - 4], eax
cmp esi, dword [ebp + 0x10]
jb 0x10094f30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100951c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
or ecx, 0x100
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 8
movzx esi, word [edx + eax*2]
mov edx, ecx
shr edx, 7
add ecx, ecx
and edx, 1
shr esi, 4
neg edx
sar edx, 4
and edx, 0x7f
xor esi, edx
add edi, dword [ebx + esi*4]
cmp ecx, 0x10000
jb 0x100951d4
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10095220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, 0x100
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
or ecx, esi
add edi, edi
mov edx, esi
and edx, edi
mov eax, ecx
add edx, esi
shr eax, 8
add eax, edx
mov edx, dword [ebp + 8]
movzx edx, word [edx + eax*2]
mov eax, ecx
shr eax, 7
add ecx, ecx
and eax, 1
shr edx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor edx, eax
mov eax, dword [ebp + 0x14]
add ebx, dword [eax + edx*4]
mov edx, ecx
xor edx, edi
not edx
and esi, edx
cmp ecx, 0x10000
jb 0x10095235
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x100ab192
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10253880]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.1000516e
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.100081bb
mov esp, ebp
pop ebp
ret

Function at 0x100be710
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x200
jb 0x100be776
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x100be776
mov ecx, dword [edx + 0x3c]
cmp ecx, 0x1000
jae 0x100be776
lea eax, [ecx + 0x200]
cmp eax, dword [ebp + 0xc]
ja 0x100be776
test cl, 7
jne 0x100be776
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x100be776
movzx eax, word [ecx + 4]
sub eax, 0x14c
je 0x100be78f
sub eax, 0x74
je 0x100be788
dec eax
sub eax, 1
je 0x100be788
dec eax
sub eax, 1
je 0x100be781
sub eax, 0x3c
je 0x100be77a
sub eax, 0x8464
je 0x100be78f
xor eax, eax
pop ebp
ret
mov edx, 0x3030401
jmp 0x100be794
mov edx, 0x3030701
jmp 0x100be794
mov edx, 0x3030501
jmp 0x100be794
mov edx, 0x3030103
mov eax, 0x400
cmp word [ecx + 0x14], ax
ja 0x100be776
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100be7b1
cmp eax, 0x20b
jne 0x100be776
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
inc eax
pop ebp
ret

Function at 0x100c8702
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 8
jb 0x100c872c
push edi
mov edi, esi
shr edi, 3
mov eax, dword [ecx + 4]
sub esi, 8
xor eax, dword [ecx]
add ecx, 8
xor edx, eax
sub edi, 1
jne 0x100c8719
pop edi
cmp esi, 4
jb 0x100c8736
xor edx, dword [ecx]
add ecx, 4
and esi, 3
cmp esi, 2
jbe 0x100c8747
movzx eax, byte [ecx]
shl eax, 0x10
xor edx, eax
inc ecx
cmp esi, 1
jbe 0x100c8755
movzx eax, byte [ecx]
shl eax, 8
xor edx, eax
inc ecx
test esi, esi
pop esi
je 0x100c875f
movzx ecx, byte [ecx]
xor edx, ecx
mov eax, edx
pop ebp
ret
Function at 0x100e4a64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
cmp dword [ebp + 0x10], edx
jbe 0x100e4a92
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [edx + esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
movzx eax, word [eax*2 + 0x1025c3b8]
xor ecx, eax
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x100e4a75
pop esi
mov eax, ecx
pop ebp
ret

Function at 0x100eb537
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [eax]
mov eax, ecx
cmp dword [eax + str.Hah_], edx
je 0x100eb55b
add eax, 0xc
inc ecx
cmp eax, 0xcc
jb 0x100eb543
or eax, 0xffffffff
pop ebp
ret
mov eax, ecx
pop ebp
ret

Function at 0x10100fc5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 2
jb 0x10101011
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0x4d
jne 0x10101011
cmp byte [ecx + 1], 0x5a
jne 0x10101011
cmp dword [ebp + 0xc], 0x40
jb 0x10101011
mov edx, dword [ecx + 0x3c]
lea eax, [edx - 0x40]
cmp eax, 0xfc0
ja 0x10101011
test dl, 7
jne 0x10101011
lea eax, [edx + 0x18]
cmp eax, dword [ebp + 0xc]
ja 0x10101011
cmp dword [ecx + edx], 0x4550
jne 0x10101011
cmp word [ecx + edx + 0x14], 0x60
sbb al, al
inc al
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x10158792
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x18]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0xc], eax
xor eax, eax
mov word [esi], ax
cmp byte [edi + 1], al
je 0x1015880a
mov bl, byte [edi + 2]
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x24]
call fcn.10005b2d
movzx eax, byte [edi + 4]
mov ecx, esi
push eax
call fcn.10009237
mov eax, dword [edi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x7c], eax
mov al, byte [edi + 3]
mov byte [esi + 0x80], al
jmp 0x10158813
mov ecx, esi
call fcn.10004827
mov bl, al
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x48], ecx
mov ecx, dword [edx + 0x3c]
mov dword [esi + 0x4c], ecx
xor ecx, ecx
mov dword [esi + 0x40], 0x3f
mov byte [esi + 5], cl
test bl, bl
jne 0x10158840
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x24], cl
je 0x10158840
or word [esi], 1
jmp 0x10158865
mov eax, 0xfffe
and word [esi], ax
test bl, bl
je 0x10158865
xor eax, eax
mov byte [esi + 4], 0x14
mov word [esi + 2], ax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebx
pop ebp
ret