joyce8/EMBER2024-capa huggingface dataset:
Function at 0x30159a93
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp dword [0x3027f6d4], ebx
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
jne 0x30159ac0
mov ebx, 0x80004005
lea ecx, [ebp - 4]
call fcn.30159559
mov eax, ebx
jmp 0x30159c02
lea ecx, [ebp - 4]
call fcn.301597e9
mov eax, dword [sym.OFFDIAG.exe_unsigned_long_int_NetUI::g_dwElSlot]
cmp eax, 0xffffffff
mov esi, dword [sym.imp.kernel32.dll_TlsGetValue]
je 0x30159adf
push eax
call esi
cmp eax, ebx
jne 0x30159af5
call fcn.3015948e
mov edi, eax
cmp edi, ebx
jl 0x30159bd8
mov dword [ebp - 8], 1
push dword [sym.OFFDIAG.exe_unsigned_long_int_NetUI::g_dwElSlot]
call esi
cmp eax, ebx
je 0x30159b06
inc dword [eax + 4]
jmp 0x30159ab1
push 0x34
call main
mov esi, eax
cmp esi, ebx
jne 0x30159b1a
mov edi, 0x8007000e
jmp 0x30159b92
push esi
push dword [sym.OFFDIAG.exe_unsigned_long_int_NetUI::g_dwElSlot]
call dword [sym.imp.kernel32.dll_TlsSetValue]
lea eax, [esi + 8]
push eax
call main
mov edi, eax
cmp edi, ebx
jl 0x30159b92
lea eax, [esi + 0xc]
push eax
push 8
call main
mov edi, eax
cmp edi, ebx
jl 0x30159b92
mov dword [esi + 4], 1
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
lea eax, [ebp - 0x1c]
inc edi
push eax
mov dword [ebp - 0x1c], 0x14
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call main
cmp eax, ebx
mov dword [esi], eax
jne 0x30159be4
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp esi, ebx
je 0x30159bce
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x30159ba2
call sym.OFFDIAG.exe_protected_virtual:_void___thiscall_NetUI::Node::_FinalDestroy_void_
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x30159baf
push eax
call main
mov eax, dword [esi]
cmp eax, ebx
je 0x30159bbb
push eax
call main
push esi
call main
push ebx
push dword [sym.OFFDIAG.exe_unsigned_long_int_NetUI::g_dwElSlot]
call dword [sym.imp.kernel32.dll_TlsSetValue]
cmp dword [ebp - 8], ebx
je 0x30159bd8
call fcn.301599e7
lea ecx, [ebp - 4]
call fcn.30159559
mov eax, edi
jmp 0x30159c02
cmp dword [0x3027f6c0], edi
jne 0x30159bf8
mov eax, dword [0x3027f6d8]
cmp eax, ebx
je 0x30159bf8
push ebx
call eax
lea ecx, [ebp - 4]
call fcn.30159559
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x30171fcf
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
lea ecx, [esi + 0x94]
call main
mov ecx, esi
pop esi
jmp sym.OFFDIAG.exe_protected:_void___thiscall_NetUI::HWNDHost::SyncVisible_void_

Function at 0x301720ea
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x3002450c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x30172210
test byte [esi + 0x32], 4
jne 0x30172210
test byte [esi + 0xc4], 8
je 0x30172210
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
cmp edi, 0x40
lea ebx, [ebp - 0x84]
jb 0x3017214d
push 2
push edi
call main
mov ebx, eax
test ebx, ebx
je 0x3017220e
test edi, edi
jle 0x30172162
inc edi
push edi
push ebx
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x30172166
and word [ebx], 0
lea eax, [ebp - 0x8c]
push eax
mov ecx, esi
call main
mov edi, eax
test edi, edi
jne 0x3017217f
mov edi, 0x30002678
push edi
push ebx
call fcn.301251a6
test eax, eax
je 0x301721f3
push edi
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call main
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x301721f3
mov eax, dword [0x30264320]
movzx ecx, byte [eax + 4]
push edi
and ecx, 3
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x88], edi
call main
push eax
lea ecx, [ebp - 0x88]
call main
push dword [ebp - 0x88]
call main
test al, al
jne 0x301721e4
push edi
mov ecx, esi
call main
mov ecx, dword [ebp - 0x88]
cmp ecx, edi
je 0x301721f3
call sym.OFFDIAG.exe_public:_void___thiscall_NetUI::BaseValue::Release_void_
mov ecx, dword [ebp - 0x8c]
call sym.OFFDIAG.exe_public:_void___thiscall_NetUI::BaseValue::Release_void_
lea eax, [ebp - 0x84]
cmp ebx, eax
je 0x3017220e
push ebx
call main
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.30136bd1
leave
ret
Function at 0x301785bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 3
mov esi, ecx
je 0x3017873e
cmp edi, 0x7b
je 0x3017872d
cmp edi, 0x111
jne 0x30178755
mov eax, dword [ebp + 0xc]
shr eax, 0x10
cmp ax, 6
jne 0x3017869c
xor ebx, ebx
cmp byte [esi + 0xf4], bl
je 0x30178606
mov al, 1
jmp 0x30178766
push 1
call main
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x47a
push eax
mov dword [ebp + 0x10], eax
call edi
test eax, eax
jne 0x301785ff
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
mov dword [ebp + 8], eax
jle 0x30178666
push 2
push eax
call main
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x30178673
mov ecx, dword [ebp + 8]
inc ecx
push ecx
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp + 0xc]
mov ecx, esi
call main
push dword [ebp + 0xc]
call main
jmp 0x30178673
push dword [0x30261adc]
mov ecx, esi
call main
mov ecx, esi
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Combobox::GetIsDirty_void_
test al, al
jne 0x301785ff
push ebx
push ebx
push 0xb8
push dword [ebp + 0x10]
call edi
test eax, eax
setne al
mov ecx, esi
push eax
call main
jmp 0x301785ff
cmp ax, 7
jne 0x301786c2
push 0
push 2
push dword [0x30261adc]
call main
push eax
lea ecx, [esi + 0xf8]
call main
jmp 0x30178755
cmp ax, 8
jne 0x30178755
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Dropdown::GetRevertSelectionOnCancel_void_
xor ebx, ebx
test al, al
je 0x3017871f
cmp dword [esi + 0xec], 0xffffffff
jne 0x3017871f
push dword [esi + 0xf8]
mov ecx, esi
push dword [0x30261adc]
call main
mov ecx, esi
call main
push 0xffff0000
push ebx
push 0x142
push 1
mov ecx, esi
call main
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0xec], 0xfffffffd
push ebx
lea ecx, [esi + 0xf8]
call main
jmp 0x30178755
push dword [ebp + 0x10]
call main
test al, al
je 0x30178755
jmp 0x301785ff
xor ebx, ebx
push ebx
call main
cmp eax, ebx
je 0x30178755
push ebx
push ebx
push 3
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call main
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x3017cca7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
je 0x3017ccca
cmp dword [ecx + 0xb8], 0
jne 0x3017ccca
xor eax, eax
jmp 0x3017cd55
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
inc esi
cmp dword [edi + 4], 0x100
mov eax, esi
jne 0x3017cd4a
test ecx, ecx
je 0x3017ccf3
cmp dword [ecx + 0x7c], 0
je 0x3017ccf3
mov eax, ecx
mov eax, dword [eax + 0x7c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
cmp dword [edi + 8], 9
jne 0x3017cd4a
test eax, eax
je 0x3017cd4a
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
and dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
mov word [ebp - 8], 9
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x20], ebx
call esi
test ax, ax
jns 0x3017cd30
or dword [ebp - 0xc], 0xc
push 0x11
call esi
test ax, ax
jns 0x3017cd3d
or dword [ebp - 0xc], 3
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call main
xor eax, eax
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
mov eax, ecx
pop ebx
leave
ret 4

Function at 0x30182f50
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.30182b52
mov ecx, dword [esi + 0xc]
test cx, 0x400
je 0x30182f84
or eax, 0xffffffff
and cl, 0x40
neg cl
push 0x293
push eax
push eax
push eax
push eax
sbb ecx, ecx
neg ecx
dec ecx
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
ret
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x301b29e3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 2
mov dword [edi], 0x300cf1f0
lea esi, [edi + 0x20]
pop ebx
mov eax, dword [esi]
test eax, eax
je 0x301b2a03
push eax
call main
and dword [esi], 0
add esi, 4
dec ebx
jne 0x301b29f4
mov eax, dword [edi + 0xc]
test eax, eax
je 0x301b2a16
push eax
call main
push dword [0x3026b738]
call dword [sym.imp.kernel32.dll_TlsGetValue]
and dword [eax + 0x16c], 0
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.301ec04a

Function at 0x301b6dea
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1000]
mov eax, dword [esi]
test eax, eax
jg 0x301b6e20
push dword [0x30262eb8]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edx, dword [eax]
push 0x50
push 0x200
push edi
push esi
mov ecx, eax
call dword [edx + 0xc]
mov eax, dword [esi]
test eax, eax
jne 0x301b6e20
xor edi, edi
jmp 0x301b6e3e
dec eax
push 0x50
mov dword [esi], eax
mov edi, dword [edi + eax*4]
push 0
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
test edi, edi
je 0x301b6e3e
mov ecx, edi
call fcn.301b5939
mov eax, edi
pop edi
pop esi
ret

Function at 0x301ec1f3
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x40]
call fcn.301ec176
lea ecx, [esi + 0x20]
call fcn.301ec176
mov ecx, esi
pop esi
jmp fcn.301ec176
push esi
mov esi, ecx
mov ecx, dword [esi + 0x16c]
or dword [esi + 0x194], 2
test ecx, ecx
je 0x301ec224
push esi
push 0x301ec126
call main
test eax, eax
je 0x301ec21d
mov ecx, esi
call fcn.301ec0dc
and dword [esi + 0x16c], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x301ec232
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
lea ecx, [esi + 0x170]
call main
lea ecx, [esi + 0x168]
call fcn.301f194b
lea ecx, [esi + 0x6c]
call fcn.301ed76b
lea ecx, [esi + 0xc]
pop esi
jmp 0x301ec1db
Function at 0x4732a4
Capabilities:
Encode data using xor

Disassembly:
or al, 0xff
out 0xce, al
enter 0x4a47, 0xffffffffffffffd9
int3
sbb edi, ebp
adc al, byte [ebx - 0x59ac3646]
out 0xea, al
xor ebp, dword [ecx + 0x2127edd0]
sbb dword [ebp + 0xcfc5497], edx
fild qword [edi + 0x1b]
dec eax
adc al, 0xfe
xor dword [eax - 0x6615e679], edx
sbb edx, ebp
cdq
sbb edx, ebp
cdq
mov dword [ebx - 0x28], edi
fisub word [ecx]
rol ebp, 0xc0
sar dl, 0x78
mov esi, 0xc6b387e7
js 0x473284
adc dword [eax + 0x73c87a74], ebp
xchg byte [ebx + ecx*8 + 0x79ca31b7], bl
int1
jbe 0x4732bf
jae 0x473247
pushfd
retf
cdq
cwde
dec esi
mov esi, 0x62d2723
test cl, ch
push ecx
xchg esi, eax
adc dword [ebp + 0x44], 0x37
cmpsd dword [esi], dword es:[edi]
pop es
sub bh, byte [edi + 0x16ebcf9b]
fmul dword [ebp - 6]
and byte [ebx + edi*8 - 0x3562cee7], dh
daa
dec eax
cmp eax, 0xe9f701ca
iretd

Function at 0x1f80268
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1f803b8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1f8028e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1f8027a
add dl, dl
jne 0x1f80299
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1f802ec
xor eax, eax
add dl, dl
jne 0x1f802a6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1f8038d
add dl, dl
jne 0x1f802b5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f802c0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f802cb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f802d6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1f802e2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1f80285
mov eax, 1
add dl, dl
jne 0x1f802fa
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f80305
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1f802f1
sub eax, ebx
mov ebx, 1
jne 0x1f80338
mov ecx, 1
add dl, dl
jne 0x1f8031e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1f80329
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1f80315
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1f80285
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1f8034f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1f8035a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1f80346
cmp eax, 0x7d00
jae 0x1f8037d
cmp eax, 0x500
jb 0x1f80378
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1f80285
cmp eax, 0x7f
ja 0x1f80380
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1f80285
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1f803ae
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1f80285
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0xb0f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b0f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb0f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb0f06a
add dl, dl
jne 0xb0f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb0f0dc
xor eax, eax
add dl, dl
jne 0xb0f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb0f17d
add dl, dl
jne 0xb0f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb0f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb0f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb0f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb0f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb0f075
mov eax, 1
add dl, dl
jne 0xb0f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb0f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb0f0e1
sub eax, ebx
mov ebx, 1
jne 0xb0f128
mov ecx, 1
add dl, dl
jne 0xb0f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb0f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb0f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb0f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb0f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb0f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb0f136
cmp eax, 0x7d00
jae 0xb0f16d
cmp eax, 0x500
jb 0xb0f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb0f075
cmp eax, 0x7f
ja 0xb0f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb0f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb0f19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb0f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100293a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e632b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
push esi
mov eax, dword [0x100ff040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x10111174]
test al, 1
jne 0x100294eb
or eax, 1
mov dword [0x10111174], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100f47b0]
xorps xmm0, xmmword [0x100f4530]
mov dword [ebp - 0x20], 0x9b849b84
mov dword [ebp - 0x1c], 0xfd9bf983
mov word [ebp - 0x18], 0xbb8a
movups xmmword [ebp - 0x30], xmm0
xor byte [ebp + eax - 0x30], 0xbb
inc eax
cmp eax, 0x1a
jb 0x10029423
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029450
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10031600
mov byte [ebp - 4], 1
mov edx, dword [0x101419fc]
test edx, edx
je 0x10029479
mov edx, dword [edx + 0x50]
jmp 0x1002947b
xor edx, edx
mov eax, dword [0x101419f4]
test eax, eax
je 0x10029489
mov eax, dword [eax + 0x18]
jmp 0x1002948b
xor eax, eax
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.10028e70
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
mov dword [0x10111178], eax
cmp ecx, 0xf
jbe 0x100294e2
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100294d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100294d3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e50a7
mov eax, dword [0x10111178]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x100294f0
mov eax, dword [0x10111178]
test eax, eax
je 0x100294f8
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10031b30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e6699
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100ff040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
lea edi, [eax + 0xc]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
xorps xmm0, xmm0
mov dword [eax], 0x100f1604
mov eax, dword [ebp + 8]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov esi, dword [eax]
mov dword [edi + 0xc], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov byte [edi + 0x80], 0
movups xmmword [edi + 0x84], xmm0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0xf
mov dword [ebp - 0x14], edi
mov byte [edi + 0x84], 0
mov dword [ebp - 4], 0
movups xmmword [edi + 0x9c], xmm0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0xf
mov byte [edi + 0x9c], 0
push fcn.10030f40
push fcn.10030fd0
push 0x40
push 0x18
lea eax, [edi + 0xb4]
mov byte [ebp - 4], 1
push eax
call fcn.100e50d8
mov byte [ebp - 4], 2
mov ecx, edi
mov word [edi + 0x6b5], 0
mov byte [edi + 0x6b7], 0
push esi
mov dword [edi + 0x6b4], 0
mov dword [edi + 0x9f0], 0
mov dword [edi + 0x9f4], 0
mov dword [edi + 0x9f8], 0
mov byte [edi + 0xa04], 0
mov dword [edi + 0xa08], 0
mov byte [edi + 0xa0c], 0
mov dword [edi + 0xa10], 0
mov dword [edi + 0xa14], 0
mov dword [edi + 0xa18], 0
mov dword [edi + 0xa1c], 0
mov dword [edi + 0xa20], 0
mov dword [edi + 0xa24], 0
mov word [edi + 0xa34], 0
call fcn.10029620
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100399f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100ff040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10039aac
cmp byte [esi + 0x3d], 0
je 0x10039aac
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10039a9a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10039a61
sub eax, 1
je 0x10039a65
sub eax, 2
jne 0x10039a9a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e4c2c
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10039a83
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10039a9a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e4c2c
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e4c2c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100e4c2c
mov esp, ebp
pop ebp
ret
Function at 0x1003be50
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e6c86
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x100ff040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [0x10147624]
test al, 1
jne 0x1003bf91
or eax, 1
mov dword [0x10147624], eax
mov byte [ebp - 4], 1
mov eax, 0x10
movaps xmm0, xmmword [0x100f47b0]
xorps xmm0, xmmword [0x100f4260]
mov dword [ebp - 0x44], 0x82fd9bf9
mov dword [ebp - 0x40], 0x9bfdfd9b
mov word [ebp - 0x3c], 0x8e8a
mov byte [ebp - 0x3a], 0xbb
movups xmmword [ebp - 0x54], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x54], 0xbb
inc eax
cmp eax, 0x1b
jb 0x1003bee0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003bf06
sub ecx, edx
lea eax, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.10031600
mov byte [ebp - 4], 2
mov edx, dword [0x10141a08]
test edx, edx
je 0x1003bf2f
mov edx, dword [edx + 0x50]
jmp 0x1003bf31
xor edx, edx
mov eax, dword [0x10141a00]
test eax, eax
je 0x1003bf3f
mov eax, dword [eax + 0x18]
jmp 0x1003bf41
xor eax, eax
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.10028e70
mov eax, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov dword [0x10147640], eax
cmp ecx, 0xf
jbe 0x1003bf8d
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003bf83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003bfdd
push ecx
push edx
call fcn.100e50a7
add esp, 8
mov byte [ebp - 4], 0
cmp dword [ebx + 0x1c], 0xf
lea ecx, [ebx + 8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x656e6572
cmova ecx, dword [ebx + 8]
mov dword [ebp - 0x1c], 0x6b636168
mov byte [ebp - 0x18], 0
call dword [0x10147640]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x1003bfed
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003bfe3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003bfe3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e50a7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18