joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012cad
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100222e0
push 0x100222d8
push str.FlsAlloc
push 0x1f
call fcn.10012b75
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012ce1
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001f160]
call esi
jmp 0x10012ce7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10012d2b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100222f0
push 0x100222e8
push str.FlsGetValue
push 0x21
call fcn.10012b75
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012d62
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001f160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10012d6a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100222f8
push 0x100222f0
push str.FlsSetValue
push 0x22
call fcn.10012b75
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012da4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001f160]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100135d0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100078c0
mov eax, dword [0x1002b080]
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.1000f542
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10013612
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1001376e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1001d910
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 + 0x1002c810]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.100143d1
mov ecx, dword [esi*4 + 0x1002c810]
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 0x10013767
cmp eax, dword [ecx + edi + 0x24]
jne 0x10013767
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 0x10013767
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100143d1
add esp, 0x14
test edx, edx
jl 0x10013767
jg 0x100136dd
test eax, eax
jb 0x10013767
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10013767
jl 0x100136f7
cmp dword [ebp - 0x1008], eax
ja 0x10013767
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10013715
test ebx, ebx
je 0x1001374e
cmp ecx, edi
jae 0x1001374e
mov al, byte [ecx]
cmp al, 0xd
jne 0x1001372f
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1001373b
cmp byte [ecx + 1], 0xa
jne 0x1001373b
inc ecx
jmp 0x1001373b
movzx eax, al
movsx eax, byte [eax + 0x1002b328]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10013715
cmp edx, ebx
jne 0x10013715
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1001376c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10006918
leave
ret
Function at 0x10013869
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1002c810]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100138a9
cmp byte [ebx], 0xa
jne 0x100138a9
or byte [edi + eax + 0x28], 4
jmp 0x100138ae
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100139ad
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10013990
inc eax
cmp dl, 0xd
je 0x100138da
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10013900
cmp eax, ecx
jae 0x1001390e
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100138c2
jmp 0x100139ad
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001398b
cmp dword [ebp - 0x10], 0
je 0x1001398b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1002c810]
test byte [eax + edi + 0x28], 0x48
je 0x10013965
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10013950
mov byte [esi], dl
jmp 0x10013961
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1002c810]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100139ad
cmp byte [ebp - 1], 0xa
jne 0x10013974
cmp esi, ebx
jne 0x10013974
mov byte [esi], 0xa
jmp 0x100139ac
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100143ef
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100139ad
mov byte [esi], 0xd
jmp 0x100139ac
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1002c810]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100139aa
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100139ad
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100139b6
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 + 0x1002c810]
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 0x100139fc
cmp word [ebx], dx
jne 0x100139fc
or byte [eax + edi + 0x28], 4
jmp 0x10013a01
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 0x10013b64
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 0x10013b44
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10013a42
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10013a78
cmp eax, edx
jae 0x10013a86
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 0x10013a1d
jmp 0x10013b64
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 0x10013b3f
cmp dword [ebp - 0x18], 0
je 0x10013b3f
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1002c810]
test byte [eax + edi + 0x28], 0x48
je 0x10013b15
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 0x10013ad9
mov word [esi], cx
jmp 0x10013b10
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1002c810]
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 + 0x1002c810]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1002c810]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10013b64
pop eax
cmp word [ebp - 4], ax
jne 0x10013b25
cmp esi, ebx
jne 0x10013b25
mov word [esi], ax
jmp 0x10013b61
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100143ef
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10013b64
push 0xd
pop eax
jmp 0x10013b20
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1002c810]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10013b5e
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10013b64
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 0x100178f0
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 0x1001798d
push ebx
push esi
call fcn.100178b9
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.1001668e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001793a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001798c
push edi
push eax
call fcn.1001444d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001795a
call fcn.100122f5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001798b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001668e
add esp, 0x20
test eax, eax
jne 0x10017979
push edi
call fcn.100122f5
jmp 0x10017981
push ebx
call fcn.100122f5
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 0x1001a03e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1000fb2b
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 0x1001a0ad
cmp esi, dword [ebp - 4]
je 0x1001a0a8
cmp dword [ebp + 0xc], 0
je 0x1001a0a8
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1001a085
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10019b90
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1001a0af
xor eax, eax
inc eax
jmp 0x1001a0af
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1001a114
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1002b080]
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.1000fb2b
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.1000fb2b
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 0x1001a18b
cmp word [ecx], dx
je 0x1001a18b
mov eax, dword [0x1002295c]
push edi
dec eax
push eax
push 0x10022848
call fcn.1001a0b3
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1001a1fe
cmp word [eax], dx
je 0x1001a1fe
mov eax, dword [edi]
test eax, eax
je 0x1001a1af
cmp word [eax], dx
je 0x1001a1af
lea eax, [ebp - 0x10]
push eax
call fcn.10019a96
jmp 0x1001a1b8
lea eax, [ebp - 0x10]
push eax
call fcn.10019b31
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1001a228
mov eax, dword [0x10022844]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10022538
call fcn.1001a0b3
add esp, 0xc
test al, al
je 0x1001a228
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1001a1f3
cmp word [eax], di
je 0x1001a1f3
lea eax, [ebp - 0x10]
push eax
call fcn.10019a96
pop ecx
jmp 0x1001a22a
lea eax, [ebp - 0x10]
push eax
call fcn.10019b31
jmp 0x1001a1f0
mov eax, dword [edi]
test eax, eax
je 0x1001a215
cmp word [eax], dx
je 0x1001a215
lea eax, [ebp - 0x10]
push eax
call fcn.10019a4b
pop ecx
jmp 0x1001a228
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 0x1001a2f3
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10019f38
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1001a2f3
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1001a2f3
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1001a2f3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001a280
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10012eaa
test ebx, ebx
je 0x1001a2ee
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10012eaa
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1001a2f3
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 0x1001a2f3
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1001bf2a
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1001a2f5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006918
leave
ret
Function at 0x1001c451
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.1001c3cd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1001c5c0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1001c5c0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1001c575
jg 0x1001c4ad
test eax, eax
je 0x1001c56b
push 1
push 0x1000
call fcn.10012873
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1001c4d0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001c562
push 0x8000
push ebx
call fcn.1001c2fe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1001c4f9
jg 0x1001c4f4
cmp ecx, 0x1000
jb 0x1001c4f9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100120d9
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001c53e
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 0x1001c4f4
jl 0x1001c525
test ecx, ecx
jne 0x1001c4e6
push dword [ebp - 0xc]
push ebx
call fcn.1001c2fe
push esi
call fcn.100122f5
add esp, 0xc
xor ebx, ebx
jmp 0x1001c5ce
cmp byte [edi + 0x24], 0
je 0x1001c555
cmp dword [edi + 0x20], 5
jne 0x1001c555
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1001c560
mov ebx, dword [edi + 0x18]
jmp 0x1001c562
xor ebx, ebx
push esi
call fcn.100122f5
pop ecx
jmp 0x1001c5ce
test ecx, ecx
jg 0x1001c537
jl 0x1001c575
test eax, eax
jae 0x1001c537
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100143ef
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1001c595
cmp byte [edi + 0x1c], 0
je 0x1001c537
jmp 0x1001c5c6
push ebx
call fcn.10017edd
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1001c537
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 0x1001c5ce
cmp byte [edi + 0x1c], 0
je 0x1001c5cb
mov ebx, dword [edi + 0x18]
jmp 0x1001c5ce
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100143ef
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001d8d0
Capabilities:
Parse pe header

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

Disassembly:
add byte [ebx + 0x57], dl
push esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [0x48b9ac]
imul eax, eax, 0x902b2d15
mov dword [0x48b9ac], eax
mov eax, dword [0x486134]
lea esi, [eax - 1]
mov dword [0x486134], esi
mov esi, dword [0x4874b8]
lea edi, [esi - 1]
mov dword [0x4874b8], edi
xor esi, eax
cmp esi, 0x27b9420c
jg 0x407be3
mov eax, dword [0x48e9d4]
sar eax, 2
or eax, 0x5438d2dd
xor eax, 0x20072422
mov dword [0x48dc18], eax
jmp 0x407bf5
mov ax, word [0x492d30]
imul eax, eax, 0x3187
mov word [0x492d30], ax
mov eax, edx
or eax, ecx
je 0x407c48
add dword [0x4870a4], 0x29744d33
mov eax, 0x3f
test ecx, ecx
js 0x407c3c
mov esi, 0x80000000
xor edi, edi
mov dword [0x48f400], 0x23b443a7
dec eax
xor dword [0x488da8], 0x9357e48b
shrd edi, esi, 1
shr esi, 1
mov ebx, esi
and ebx, ecx
mov ebp, edi
and ebp, edx
or ebp, ebx
je 0x407c15
xor dword [0x489c08], 0xc8f628d6
jmp 0x407c4c
mov eax, dword [esp + 0x1c]
add dword [0x48d5bc], 0x63f6916c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40921b
Capabilities:
Write file on windows

Disassembly:
mov ax, word [0x491fb4]
and eax, 0xf35a
mov word [0x491fb4], ax
mov eax, dword [0x48f75c]
lea ecx, [eax - 1]
mov dword [0x48f75c], ecx
cmp eax, 0x7f49f5b6
jg 0x409253
mov eax, dword [0x489b0c]
xor eax, 0xd61b81da
or dword [0x489188], eax
jmp 0x409269
mov eax, dword [0x49032c]
imul eax, eax, 0xe8da9cb8
and eax, 0xc60da8c0
xor dword [0x48cd70], eax
push ebp
push ebx
push edi
push esi
mov ebx, dword [esp + 0x14]
cmp dword [0x4973a0], 0
jne 0x4092ac
mov eax, dword [0x484dc0]
cmp eax, 0xf020df3e
je 0x409298
mov ax, word [0x495d9e]
imul eax, eax, 0x3704
mov word [0x495d9e], ax
call fcn.0041f30d
mov dword [0x4973a0], eax
add dword [0x48b19c], 0x377f7b9a
mov eax, dword [0x48bbcc]
add eax, 0xaf7ee166
mov ecx, dword [0x48ddfc]
or ecx, eax
mov dword [0x48ea04], ecx
mov ebp, 3
push ebp
push 0x5510
call fcn.004020cd
add esp, 8
mov edi, eax
xor dword [0x4873b4], 0xda783f75
push edi
push ebx
call fcn.0043f69a
add esp, 8
mov esi, eax
or dword [0x48a674], 0x939a254d
push edi
push ebp
call fcn.0041c522
add esp, 8
add dword [0x48772c], 0x936d5099
test esi, esi
je 0x40932d
mov eax, dword [0x485780]
mov ecx, dword [0x48c0a0]
lea eax, [eax + ecx + 0x4d0c25e2]
mov dword [0x48c0a0], eax
jmp 0x409435
mov eax, dword [0x48b44c]
and eax, 0x3c799a70
cmp eax, 0x10218004
jb 0x409352
mov eax, dword [0x4871b8]
lea ecx, [eax + 1]
mov dword [0x4871b8], ecx
or dword [0x48b8b4], eax
push 0x430
call dword [0x484b68]
mov eax, dword [0x48f110]
mov ecx, dword [0x488000]
imul ecx, eax
mov dword [0x488000], ecx
push 3
push 0x5510
call fcn.004020cd
add esp, 8
mov edi, eax
mov ax, word [0x4919cc]
mov cx, word [0x492c80]
inc ecx
mov word [0x492c80], cx
xor ecx, eax
movsx eax, cx
mov dword [0x4850c0], eax
push edi
push ebx
call fcn.0043f69a
add esp, 8
mov esi, eax
mov eax, dword [0x490868]
mov ecx, 0x4bc55ca0
sub ecx, eax
xor ecx, 0x9b850c86
mov ax, word [0x49258a]
cwde
mov edx, 0x59a35bb2
sub edx, eax
or edx, 0xe8a1ec92
cmp ecx, edx
jle 0x4093f4
mov ax, word [0x493830]
mov cx, word [0x495558]
mov edx, 0xe5f
sub edx, eax
add edx, ecx
mov word [0x495558], dx
push edi
push 3
call fcn.0041c522
add esp, 8
mov eax, dword [0x48fe4c]
lea ecx, [eax - 1]
mov dword [0x48fe4c], ecx
mov ecx, 0x27d072fd
sub ecx, eax
add dword [0x48e28c], ecx
mov eax, dword [0x485780]
mov ecx, dword [0x48c0a0]
lea eax, [eax + ecx + 0x4d0c25e2]
mov dword [0x48c0a0], eax
test esi, esi
je 0x40947a
mov ax, word [0x494b6e]
cwde
mov ecx, dword [0x484eb8]
add ecx, 0x2d6e6cd2
xor ecx, eax
and dword [0x48d3ac], ecx
push esi
push 1
push 4
push 0x4973a0
call fcn.0043fa2b
add esp, 0x10
mov eax, dword [0x488db8]
push esi
call fcn.0043fb11
add esp, 4
add dword [0x48adec], 0x4dff77ad
mov eax, dword [0x48e438]
mov ecx, dword [0x4894dc]
imul ecx, eax
mov dword [0x4894dc], ecx
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40a0d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov ax, word [0x49184a]
mov cx, word [0x495b06]
sub ecx, eax
mov word [0x495b06], cx
mov ecx, esi
call fcn.00406790
test al, al
jne 0x40a283
mov eax, dword [0x48d03c]
mov ecx, 0x8a8e73b8
sub ecx, eax
xor dword [0x48b4d4], ecx
mov eax, dword [0x4864b8]
mov eax, dword [0x4903cc]
lea ecx, [eax + 1]
mov dword [0x4903cc], ecx
or dword [0x489a68], eax
lea ecx, [esp]
call fcn.00427882
mov eax, dword [0x48b43c]
and eax, 0x2a26
mov cx, word [0x493942]
add ecx, eax
mov word [0x493942], cx
mov eax, dword [0x48ef24]
mov ax, word [0x495092]
mov ecx, esi
call fcn.004025cc
mov edi, eax
mov ecx, esi
call fcn.004078dc
cmp edi, eax
je 0x40a20c
lea ebx, [esp]
mov eax, dword [0x48c56c]
mov ecx, dword [0x489638]
and ecx, eax
and ecx, 0x7785e93f
add dword [0x487b88], ecx
mov ebp, dword [0x484ab8]
mov ecx, edi
call fcn.0040c9d8
push eax
call ebp
test eax, eax
je 0x40a1db
add dword [0x4888fc], 0xbbe1ff20
mov ecx, ebx
push edi
call fcn.00404e7a
mov eax, dword [0x488aac]
lea ecx, [eax + 1]
mov dword [0x488aac], ecx
imul eax, eax, 0xea8af673
or eax, 0x3262b9f6
mov ecx, dword [0x4877b8]
sub ecx, eax
mov dword [0x4877b8], ecx
mov ax, word [0x49564a]
cwde
shl eax, 5
add eax, 0x1f568dbf
mov ecx, dword [0x48a04c]
not ecx
and ecx, eax
add dword [0x485d20], ecx
add edi, 0x14
mov ecx, esi
call fcn.004078dc
cmp edi, eax
jne 0x40a175
mov ax, word [0x49688a]
add eax, 0x7fff
mov word [0x49688a], ax
lea ebx, [esp]
mov ecx, ebx
call fcn.00404e3e
mov edi, eax
mov ecx, ebx
call fcn.00414a00
cmp edi, eax
je 0x40a272
lea ebx, [esp]
mov ax, word [0x494d52]
and eax, 0x5fd3
mov cx, word [0x494b54]
xor ecx, eax
mov word [0x494b54], cx
mov ecx, esi
push edi
call fcn.00408880
add dword [0x48cc70], 0x35fc6e2b
add edi, 0x14
mov ecx, ebx
call fcn.00414a00
cmp edi, eax
jne 0x40a237
mov word [0x4922d0], 0x10da
lea ecx, [esp]
call fcn.004091f6
or dword [0x48a080], 0x8f2eb0d0
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret