joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007dcec
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 + 0x10124c18]
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 0x1007dd32
cmp word [ebx], dx
jne 0x1007dd32
or byte [eax + edi + 0x28], 4
jmp 0x1007dd37
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 0x1007de9a
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 0x1007de7a
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1007dd78
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1007ddae
cmp eax, edx
jae 0x1007ddbc
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 0x1007dd53
jmp 0x1007de9a
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 0x1007de75
cmp dword [ebp - 0x18], 0
je 0x1007de75
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10124c18]
test byte [eax + edi + 0x28], 0x48
je 0x1007de4b
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 0x1007de0f
mov word [esi], cx
jmp 0x1007de46
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10124c18]
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 + 0x10124c18]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10124c18]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1007de9a
pop eax
cmp word [ebp - 4], ax
jne 0x1007de5b
cmp esi, ebx
jne 0x1007de5b
mov word [esi], ax
jmp 0x1007de97
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100810af
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1007de9a
push 0xd
pop eax
jmp 0x1007de56
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10124c18]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1007de94
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1007de9a
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 0x10080c10
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100675e0
mov eax, dword [0x100ab080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.10077269
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10080c52
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10080dae
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1008acb0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10124c18]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10081091
mov ecx, dword [esi*4 + 0x10124c18]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10080da7
cmp eax, dword [ecx + edi + 0x24]
jne 0x10080da7
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10080da7
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10081091
add esp, 0x14
test edx, edx
jl 0x10080da7
jg 0x10080d1d
test eax, eax
jb 0x10080da7
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10080da7
jl 0x10080d37
cmp dword [ebp - 0x1008], eax
ja 0x10080da7
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10080d55
test ebx, ebx
je 0x10080d8e
cmp ecx, edi
jae 0x10080d8e
mov al, byte [ecx]
cmp al, 0xd
jne 0x10080d6f
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10080d7b
cmp byte [ecx + 1], 0xa
jne 0x10080d7b
inc ecx
jmp 0x10080d7b
movzx eax, al
movsx eax, byte [eax + 0x100ab4d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10080d55
cmp edx, ebx
jne 0x10080d55
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10080dac
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1006636c
leave
ret
Function at 0x100837eb
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 0x10083888
push ebx
push esi
call fcn.100837b4
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.100827fb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10083835
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10083887
push edi
push eax
call fcn.100799a2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10083855
call fcn.10079968
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10083886
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100827fb
add esp, 0x20
test eax, eax
jne 0x10083874
push edi
call fcn.10079968
jmp 0x1008387c
push ebx
call fcn.10079968
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 0x100873d6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1007aeb4
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 0x10087445
cmp esi, dword [ebp - 4]
je 0x10087440
cmp dword [ebp + 0xc], 0
je 0x10087440
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1008741d
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10086f28
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10087447
xor eax, eax
inc eax
jmp 0x10087447
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100874ac
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100ab080]
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.1007aeb4
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.1007aeb4
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 0x10087523
cmp word [ecx], dx
je 0x10087523
mov eax, dword [0x1009741c]
push edi
dec eax
push eax
push 0x10097308
call fcn.1008744b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10087596
cmp word [eax], dx
je 0x10087596
mov eax, dword [edi]
test eax, eax
je 0x10087547
cmp word [eax], dx
je 0x10087547
lea eax, [ebp - 0x10]
push eax
call fcn.10086e2e
jmp 0x10087550
lea eax, [ebp - 0x10]
push eax
call fcn.10086ec9
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100875c0
mov eax, dword [0x10097304]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10096ff8
call fcn.1008744b
add esp, 0xc
test al, al
je 0x100875c0
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1008758b
cmp word [eax], di
je 0x1008758b
lea eax, [ebp - 0x10]
push eax
call fcn.10086e2e
pop ecx
jmp 0x100875c2
lea eax, [ebp - 0x10]
push eax
call fcn.10086ec9
jmp 0x10087588
mov eax, dword [edi]
test eax, eax
je 0x100875ad
cmp word [eax], dx
je 0x100875ad
lea eax, [ebp - 0x10]
push eax
call fcn.10086de3
pop ecx
jmp 0x100875c0
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 0x1008768b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100872d0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1008768b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1008768b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1008768b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10087618
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1007d0a5
test ebx, ebx
je 0x10087686
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1007d0a5
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1008768b
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 0x1008768b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100717fc
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1008768d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006636c
leave
ret
Function at 0x100896f1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1008966d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10089860
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10089860
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10089815
jg 0x1008974d
test eax, eax
je 0x1008980b
push 1
push 0x1000
call fcn.1007ecca
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10089770
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10089802
push 0x8000
push ebx
call fcn.1008959e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10089799
jg 0x10089794
cmp ecx, 0x1000
jb 0x10089799
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100805f9
add esp, 0x10
cmp eax, 0xffffffff
je 0x100897de
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10089794
jl 0x100897c5
test ecx, ecx
jne 0x10089786
push dword [ebp - 0xc]
push ebx
call fcn.1008959e
push esi
call fcn.10079968
add esp, 0xc
xor ebx, ebx
jmp 0x1008986e
cmp byte [edi + 0x24], 0
je 0x100897f5
cmp dword [edi + 0x20], 5
jne 0x100897f5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10089800
mov ebx, dword [edi + 0x18]
jmp 0x10089802
xor ebx, ebx
push esi
call fcn.10079968
pop ecx
jmp 0x1008986e
test ecx, ecx
jg 0x100897d7
jl 0x10089815
test eax, eax
jae 0x100897d7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100810af
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10089835
cmp byte [edi + 0x1c], 0
je 0x100897d7
jmp 0x10089866
push ebx
call fcn.10081cbc
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100897d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1008986e
cmp byte [edi + 0x1c], 0
je 0x1008986b
mov ebx, dword [edi + 0x18]
jmp 0x1008986e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100810af
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1008ac70
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1001591f
pop dword [ebp - 0x24]
mov eax, 0x39150812
sub eax, 0x2913aef3
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x9a6c8d99
sub dword [ebp - 0x34], 0x4c1a484e
mov dword [ebp - 0x30], 0xc91cbeef
add dword [ebp - 0x30], 0x69168d56
mov dword [ebp - 0x2c], 0x9bc2abb6
sub dword [ebp - 0x2c], 0x4f766788
mov dword [ebp - 0x28], 0x5568c2b3
sub dword [ebp - 0x28], 0x5568c2b3
lea eax, [ebp - 0x34]
push eax
mov eax, 0x33db5f23
add eax, 0xdc2650ed
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x2917533d
add dword [ebp - 0x34], 0x4b5b1619
mov dword [ebp - 0x30], 0x54d79c97
sub dword [ebp - 0x30], 0x136b3b22
mov dword [ebp - 0x2c], 0x122a2fea
sub dword [ebp - 0x2c], 0xaebac37e
mov dword [ebp - 0x28], 0xaddcec24
add dword [ebp - 0x28], 0x522313dc
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3c23f
push 0
call eax
mov ecx, 0xe4329037
sub ecx, 0xe43250b6
mov esi, eax
mov edi, 0xaf439f68
add edi, 0x60bf1098
add edi, dword [ebp - 0x24]
mov ebx, 0xa3b64aac
mov dword [ebp - 0x18], 0xa47ca2ce
mov edx, dword [edi]
add dword [ebp - 0x20], edi
xor edx, ebx
xor dword [ebp - 0xc], 0xc976e1ea
mov dword [esi], edx
sub dword [ebp - 0x14], edx
add esi, 4
add edi, 4
loop 0x10015a36
add eax, 0x7793f040
add eax, 0x886d0097
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x97c09ed4
sub ecx, 0x87c09ed4
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10007073
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007073
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10007073
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10007073
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10007073
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10007073
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10007073
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10007073
push 0xd008
push edi
call fcn.10007073
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10007073
int3

Function at 0x10007073
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10007082
pop dword [ebp - 0x24]
mov eax, 0xdf761cf3
sub eax, 0xcf75ac71
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x39b5d
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x4cbcc4f1
add ecx, 0xb34385c8
mov ebx, eax
mov edi, 0xfc8a5fbd
sub edi, 0xec88d9bd
add edi, dword [ebp - 0x24]
mov edx, 0x5c4d5057
sub edx, 0xcb31665c
add dword [ebp - 4], edi
mov esi, dword [edi]
sub dword [ebp - 4], ebx
xor esi, edx
xor dword [ebp - 0x18], eax
mov dword [ebx], esi
add dword [ebp - 0x1c], 0x941ce0f9
add ebx, 4
add edi, 0xedd2a3de
add edi, 0x122d5c26
loop 0x100070dc
add eax, 0xdd46cd8b
add eax, 0x22ba502c
xor ebx, ebx
add ebx, eax
add eax, 0x90ba6716
sub eax, 0x90ba6711
mov ecx, 0x9f26d0f
sub ecx, 0xf9f26d0f
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x61b128
Capabilities:
Encode data using xor

Disassembly:
push 0x203
call fcn.0061b64f
jb 0x61b3fe
xchg esi, eax
mov eax, dword [esp + 4]
bswap eax
mov edx, eax
and eax, 0xf0f0f0f
xor edx, eax
rol eax, 8
or eax, edx
mov edx, eax
and eax, 0x33333333
xor edx, eax
rol eax, 4
or eax, edx
mov edx, eax
and eax, 0x55555555
xor edx, eax
rol eax, 2
or eax, edx
ror eax, 7
push eax
mov eax, esi
bswap eax
mov edx, eax
and eax, 0xf0f0f0f
xor edx, eax
rol eax, 8
or eax, edx
mov edx, eax
and eax, 0x33333333
xor edx, eax
rol eax, 4
or eax, edx
mov edx, eax
and eax, 0x55555555
xor edx, eax
rol eax, 2
or eax, edx
ror eax, 7
pop ebx
push esi
add eax, ebx
xchg ecx, eax
lea esi, [ebp + 0x800]
mov ebx, ecx
shr ebx, 0x10
mov edx, 0x37f6
dec edx
shr edx, 1
mov ch, cl
dec cx
and cl, 0xf
mov ax, word [esi]
xor ax, bx
add ax, cx
ror ax, cl
xor ax, cx
mov word [esi], ax
inc esi
inc esi
dec edx
jne 0x61b1b6
mov ecx, 0x37f6
dec ecx
shr ecx, 2
lea esi, [ebp + 0x800]
mov edi, esi
lodsw ax, word [esi]
mov bx, ax
lodsw ax, word [esi]
stosw word es:[edi], ax
mov ax, bx
stosw word es:[edi], ax
loop 0x61b1e5
lea esi, [ebp + 0x800]
pop ecx
mov ebx, ecx
shr ebx, 0x10
mov edx, 0x37f6
dec edx
mov ch, cl
dec cx
and cl, 0xf
mov al, byte [esi]
xor al, bl
add al, ch
ror al, cl
xor al, cl
mov byte [esi], al
inc ebx
inc esi
dec edx
jne 0x61b207
lea esi, [ebp + 0x800]
mov ecx, dword [esp + 4]
mov ebx, ecx
shr ebx, 0x10
mov edx, 0x37f6
dec edx
shr edx, 1
mov ch, cl
dec cx
and cl, 0xf
mov ax, word [esi]
xor ax, bx
add ax, cx
ror ax, cl
xor ax, cx
mov word [esi], ax
inc esi
inc esi
dec edx
jne 0x61b236
clc
xor ecx, ecx
pop ebx
pop eax
call fcn.0061b800

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

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x3c]
add edi, eax
mov ecx, dword [edi + 0x7c]
jecxz 0x61b512
mov ebx, eax
add ebx, dword [edi + 0x78]
mov edx, eax
add edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
mov edi, edx
mov ebp, eax
xor eax, eax
push eax
mov esi, ebp
add esi, dword [edx + eax*4]
push esi
mov edi, esi
push eax
push ecx
mov al, 0
xor ecx, ecx
dec ecx
repne scasb al, byte es:[edi]
pop ecx
pop eax
xchg edi, esi
sub esi, dword [esp]
mov edi, esi
pop esi
call fcn.0061b0e5
cmp eax, dword [esp + 0x18]
pop eax
je 0x61b523
inc eax
loop 0x61b4e7
xor eax, eax
pop dword fs:[0]
add esp, 4
pop ebp
clc
ret 8
mov edx, ebp
add edx, dword [ebx + 0x24]
movzx eax, word [edx + eax*2]
cmp eax, dword [ebx + 0x14]
jae 0x61b512
mov edx, ebp
add edx, dword [ebx + 0x1c]
add ebp, dword [edx + eax*4]
xchg ebp, eax
jmp 0x61b514
Function at 0x61b53c
Capabilities:
Encode data using xor

Disassembly:
push 0x4402890e
xor eax, eax
push eax
call fcn.0061b483
jb 0x61b64c
push 4
push 0x1000
push 0x200
push 0
call eax
dec eax
js 0x61b64c
inc eax
push eax
mov edi, eax
xor ecx, ecx
xor eax, eax
mov al, cl
push ecx
mov ecx, 8
clc
rcr ax, 1
jae 0x61b580
xor ax, 0xa001
loop 0x61b576
mov word [edi], ax
inc edi
inc edi
pop ecx
inc ecx
cmp ecx, 0x100
jne 0x61b56c
mov esi, ebp
mov edi, dword [esp]
mov ecx, 0x7e4
dec ecx
xor eax, eax
xor ebx, ebx
xor bh, bh
mov bl, al
lodsb al, byte [esi]
xor bl, al
shl bx, 1
mov bx, word [edi + ebx]
xor bl, ah
mov ax, bx
loop 0x61b5a0
xor edx, edx
mov ecx, 0x7e4
dec ecx
mov edi, ecx
shr edi, 1
mov esi, ebp
test ah, 0x80
je 0x61b5cc
xor ax, 0xa097
test dh, 0x80
je 0x61b5d6
xor dx, 0xa097
mov bx, ax
add bx, ax
mov cx, dx
add cx, dx
lodsw ax, word [esi]
mov dl, ah
add ax, bx
mov ah, bh
add dx, cx
mov dh, ch
dec edi
jne 0x61b5c3
shl eax, 0x10
add eax, edx
mov edx, eax
shr eax, 4
and edx, 0xf0f0f0f
shl edx, 4
and eax, 0xf0f0f0f
or eax, edx
pop ebx
push eax
push ebx
push 0x2aad1211
xor eax, eax
push eax
call fcn.0061b483
jb 0x61b64c
pop ebx
push 0x8000
push 0
push ebx
call eax
call fcn.0061b330
jb 0x61b64c
push ecx
mov ecx, dword [ebp + 0x7e4]
add ecx, ebp
lea ebx, [ebp + 0x483]
sub ebx, dword [ebp + 0x7e8]
mov dword [ecx + 0x18], ebx
pop ecx
inc ecx
ret
xor ecx, ecx
ret

Function at 0x61b6e4
Capabilities:
Encode data using xor

Disassembly:
pop ecx
push 0x4402890e
xor eax, eax
push eax
call fcn.0061b483
jb 0x61b64c
push 4
push 0x1000
push 0x200
push 0
call eax
dec eax
js 0x61b7dc
inc eax
push eax
mov edi, eax
xor ecx, ecx
xor eax, eax
mov al, cl
push ecx
mov ecx, 8
clc
rcr ax, 1
jae 0x61b729
xor ax, 0xa001
loop 0x61b71f
mov word [edi], ax
inc edi
inc edi
pop ecx
inc ecx
cmp ecx, 0x100
jne 0x61b715
mov esi, ebp
mov edi, dword [esp]
mov ecx, 0x7e4
dec ecx
xor eax, eax
xor ebx, ebx
xor bh, bh
mov bl, al
lodsb al, byte [esi]
xor bl, al
shl bx, 1
mov bx, word [edi + ebx]
xor bl, ah
mov ax, bx
loop 0x61b749
xor edx, edx
mov ecx, 0x7e4
dec ecx
mov edi, ecx
shr edi, 1
mov esi, ebp
test ah, 0x80
je 0x61b775
xor ax, 0xa097
test dh, 0x80
je 0x61b77f
xor dx, 0xa097
mov bx, ax
add bx, ax
mov cx, dx
add cx, dx
lodsw ax, word [esi]
mov dl, ah
add ax, bx
mov ah, bh
add dx, cx
mov dh, ch
dec edi
jne 0x61b76c
shl eax, 0x10
add eax, edx
mov edx, eax
shr eax, 4
and edx, 0xf0f0f0f
shl edx, 4
and eax, 0xf0f0f0f
or eax, edx
pop ebx
push eax
push ebx
push 0x2aad1211
xor eax, eax
push eax
call fcn.0061b483
jb 0x61b7dc
pop ebx
push 0x8000
push 0
push ebx
call eax
call fcn.0061b128
jb 0x61b7dc
inc ecx
ret
xor ecx, ecx
jmp 0x61b6d8