joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4693b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x419015
lea edi, [esi - 0x18015]
push edi
jmp 0x4693ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4693d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4693c0
mov eax, 1
add ebx, ebx
jne 0x4693e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4693f4
jne 0x469413
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469413
dec eax
add ebx, ebx
jne 0x469400
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4693d8
add ebx, ebx
jne 0x46940f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x469465
xor ecx, ecx
sub eax, 3
jb 0x46942b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46949a
sar eax, 1
mov ebp, eax
jmp 0x469436
add ebx, ebx
jne 0x469436
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469404
inc ecx
add ebx, ebx
jne 0x469444
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469404
add ebx, ebx
jne 0x469451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x469446
jne 0x469462
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x469446
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x469484
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x469476
jmp 0x4693c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x469484
add edi, ecx
jmp 0x4693c6
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4694a2
cmp byte [edi], 2
jne 0x4694a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4694a7
lea edi, [esi + 0x67000]
mov eax, dword [edi]
or eax, eax
je 0x469516
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x696a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x696f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4694d4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x69700]
or eax, eax
je 0x469510
mov dword [ebx], eax
add ebx, 4
jmp 0x4694f1
call dword [esi + 0x696fc]
mov ebp, dword [esi + 0x69704]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x46954a
sub esp, 0xffffff80
jmp 0x407c28
Function at 0x450fa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x438015
lea edi, [esi - 0x37015]
lea eax, [edi + 0x396e0]
push dword [eax]
mov dword [eax], 0xb2858258
push eax
push edi
or ebp, 0xffffffff
jmp 0x450fd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x450fd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x450fc8
mov eax, 1
add ebx, ebx
jne 0x450feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x450fe0
jne 0x450ffc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x450fe0
xor ecx, ecx
sub eax, 3
jb 0x451010
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x451082
mov ebp, eax
add ebx, ebx
jne 0x45101b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x451028
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45104c
inc ecx
add ebx, ebx
jne 0x451038
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45102d
jne 0x451049
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45102d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45106c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45105d
jmp 0x450fce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45106c
add edi, ecx
jmp 0x450fce
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x1980
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45108e
cmp byte [edi], 0x16
jne 0x45108e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x451093
lea edi, [esi + 0x4e000]
mov eax, dword [edi]
or eax, eax
je 0x451102
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x55608]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5566c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4510c0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x55674]
or eax, eax
je 0x4510fc
mov dword [ebx], eax
add ebx, 4
jmp 0x4510dd
call dword [esi + 0x55670]
mov ebp, dword [esi + 0x55678]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x5115d]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45114e
sub esp, 0xffffff80
jmp 0x4017b0
Function at 0x401160
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
xor esi, esi
nop word [eax + eax]
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x23
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x3b
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x3b
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0xd1
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x4e
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 4
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 5
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xb2
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x32
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0xe2
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xa4
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xd
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xf4
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x1e
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x27
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x87
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xf2
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xc6
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x98
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x9e
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xeb
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x99
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xeb
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x13
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xab
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xe0
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x27
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x59
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xe6
inc esi
cmp esi, 0x2d200
jb 0x401170
pop edi
pop esi
ret
Function at 0x406300
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x81039b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045c4
call fcn.00406f61
push 4
mov dword [esp + 0x18], 0
call fcn.00407d20
mov edi, eax
add esp, 4
test edi, edi
je 0x406374
push ebx
call fcn.00406e39
mov dword [edi], eax
call fcn.00406bf8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f22
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406368
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406f4a
pop ebx
jmp 0x406376
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408791
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813658]
jne 0x40879b
repz ret
jmp fcn.0040d1fc
Function at 0x412dce
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x813658]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040bd66
and dword [ebp - 0x14], 0
cmp dword [0x8163d8], 0
mov dword [ebp - 0x18], eax
jne 0x412e81
push 0x404070
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412f29
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404064
push ebx
call edi
test eax, eax
je 0x412f29
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404054
push ebx
mov dword [0x8163d8], eax
call edi
push eax
call esi
push 0x404040
push ebx
mov dword [0x8163dc], eax
call edi
push eax
call esi
push 0x404024
push ebx
mov dword [0x8163e0], eax
call edi
push eax
call esi
mov dword [0x8163e8], eax
test eax, eax
je 0x412e81
push 0x40400c
push ebx
call edi
push eax
call esi
mov dword [0x8163e4], eax
mov eax, dword [0x8163e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412eda
cmp dword [0x8163e8], ecx
je 0x412eda
push eax
call esi
push dword [0x8163e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412eda
test ebx, ebx
je 0x412eda
call edi
test eax, eax
je 0x412ed1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412ed1
test byte [ebp - 8], 1
jne 0x412eda
or dword [ebp + 0x10], 0x200000
jmp 0x412f0d
mov eax, dword [0x8163dc]
cmp eax, dword [ebp - 0x18]
je 0x412f0d
push eax
call esi
test eax, eax
je 0x412f0d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412f0d
mov eax, dword [0x8163e0]
cmp eax, dword [ebp - 0x18]
je 0x412f0d
push eax
call esi
test eax, eax
je 0x412f0d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x8163d8]
call esi
test eax, eax
je 0x412f29
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412f2b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408791
leave
ret
Function at 0x80eda0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0x80c
cmp dword [0xb9b120], 0x37
jne 0x80ee46
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0x404118
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404138
push 0x404190
push 0x4041d0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9b124]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81b184]
mov byte [ecx + esi], al
add esp, 0x80c
ret
Function at 0x80f050
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb9b120]
sub esp, 0x47c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x81b184]
cmp eax, ebx
jbe 0x80f246
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x80f086
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0xb9b120], 0x1c
jne 0x80f09d
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x814708]
mov eax, dword [0x81470c]
mov esi, dword [edi]
mov ebp, dword [0x814710]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x814714]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x80f0da
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0xb9a0a4], ebx
mov eax, dword [esp + 0x18]
add dword [0xb9a0a4], eax
mov edx, dword [0xb9a0a4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0xb9b120], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x80f174
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0xb9b120], 0x979
mov dword [0xb9a0a8], 0xff6b3619
mov dword [0xb9a0ac], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x80f1c8
mov eax, dword [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x80f0d8
cmp dword [0xb9b120], 0x8d4
jne 0x80f1ff
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0xb9b120], 0x17
jne 0x80f235
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x80f080
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408954
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
push edi
pop edi
mov ebx, 0xc5da7e88
call fcn.00408977
inc edi
add edi, 1
xor dword [ecx], esi
or ebx, ebx
dec ebx
inc ecx
cmp ecx, edx
jne fcn.00408954
ret
Function at 0x4015d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x423518]
push ebx
mov ebx, ecx
push edi
mov edi, edx
test eax, eax
jne 0x40162f
push esi
push str.sciter.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x401625
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40161e
call eax
mov dword [0x423518], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x401625
mov dword [0x423514], eax
jmp 0x401625
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x423518]
pop esi
test eax, eax
je 0x401642
push dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push dword [ebp + 8]
push edi
push ebx
call eax
pop edi
pop ebx
pop ebp
ret 8
push 0xffffffffffffffff
call fcn.00405b99
int3

Function at 0x401840
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push edi
test esi, esi
je 0x401885
cmp word [esi], 0
mov eax, esi
je 0x401879
nop dword [eax + eax]
add eax, 2
cmp word [eax], 0
jne 0x401870
sub eax, esi
mov dword [ebp - 0x10], esi
sar eax, 1
mov dword [ebp - 0xc], eax
jmp 0x401893
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
sub esp, 8
lea edx, [ebp - 0x10]
mov ecx, dword [edx]
mov eax, esp
mov edx, dword [edx + 4]
mov dword [eax], ecx
mov ecx, 0x413d3c
mov dword [eax + 4], edx
call fcn.004020f0
add esp, 8
test eax, eax
js 0x4018b9
add esi, 4
mov eax, dword [0x423518]
test eax, eax
jne 0x40190d
push str.sciter.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x401904
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4018fd
call eax
mov dword [0x423518], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x401904
mov dword [0x423514], eax
jmp 0x401904
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x423518]
test eax, eax
je 0x401937
mov eax, dword [eax + 0x280]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push esi
push dword [ebx]
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
call fcn.00405b99
int3
Function at 0x401990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
mov dword [ebp - 0x210], eax
push edi
mov edi, ecx
test esi, esi
je 0x401aaa
cmp word [esi], 0
je 0x401aaa
push 4
push 0x413d44
push esi
call fcn.00406076
add esp, 0xc
test eax, eax
jne 0x4019df
add esi, 8
push 2
push 0x413d50
push esi
call fcn.00406076
add esp, 0xc
test eax, eax
jne 0x4019f6
add esi, 4
push 0x104
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040617d
lea eax, [ebp - 0x20c]
push 0x2e
push eax
call fcn.004048d3
mov esi, eax
add esp, 0x18
test esi, esi
je 0x401a55
xor eax, eax
mov word [esi], ax
add esi, 2
je 0x401a55
push str.HTML
push esi
call fcn.00405c32
add esp, 8
test eax, eax
je 0x401a55
push 0x413d64
push esi
call fcn.00405c32
add esp, 8
test eax, eax
je 0x401a55
push esi
jmp 0x401a57
push 0x17
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x401aaa
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401aaa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebx], eax
test eax, eax
je 0x401aaa
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x210]
test eax, eax
pop edi
pop esi
pop ebx
mov dword [ecx], eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402791
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402791
mov esp, ebp
pop ebp
ret

Function at 0x401bb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
mov dword [0x423524], eax
call dword [sym.imp.ole32.dll_OleInitialize]
mov eax, dword [0x423518]
test eax, eax
jne 0x401c18
push str.sciter.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x401c0f
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401c08
call eax
mov dword [0x423518], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x401c0f
mov dword [0x423514], eax
jmp 0x401c0f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x423518]
test eax, eax
je 0x401c48
mov eax, dword [eax + 0x54]
push 1
push 0xb
push 0
call eax
sub esp, 0x28
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_class__lambda_936ab8afc842bc63509dae5ce0c84a1f___class_std::allocator_int___int___.0
mov dword [eax + 0x24], eax
call fcn.00402500
add esp, 0x28
mov esi, eax
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, esi
pop esi
pop ebp
ret 0x10
push 0xffffffffffffffff
call fcn.00405b99
int3