joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407750
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x6f0]
push ebx
sub esp, 0x704
mov eax, dword [0x420708]
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x7d4
mov dword [esp], eax
call edi
mov dword [ebp - 0x6f8], edi
sub esp, 8
mov dword [ebp - 0x6fc], eax
mov dword [esp + 4], 0x7dd
mov dword [esp], eax
call edi
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x407
mov dword [esp], eax
call ebx
lea edx, [ebp - 0x6ec]
mov ecx, 0x1c
mov dword [ebp - 0x6f0], 0x74
mov edi, edx
mov dword [ebp - 0x6f4], eax
xor eax, eax
sub esp, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [0x420704]
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x606]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x6f4]
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0xd
mov dword [esp], ecx
call ebx
sub esp, 0x10
test eax, eax
jne 0x407838
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [sym.imp.kernel32.dll_lstrcmpW]
lea edi, [ebp - 0x6d6]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [ebp - 0x700], edx
call edx
sub esp, 8
mov esi, eax
test eax, eax
je 0x4078b0
mov ecx, dword [ebp - 0x6f4]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp], ecx
mov dword [esp + 4], 0xc
call ebx
mov eax, dword [ebp - 0x6fc]
mov edi, dword [ebp - 0x6f8]
sub esp, 0x10
mov dword [esp + 4], 0x7de
mov dword [esp], eax
call edi
sub esp, 8
call fcn.004072d0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x420708]
mov edi, dword [ebp - 0x6f8]
mov dword [esp + 4], 0x7d4
mov dword [esp], eax
call edi
sub esp, 8
mov dword [esp + 4], 0x7de
mov dword [esp], eax
call edi
lea edi, [ebp - 0x678]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x407
mov dword [esp], eax
call ebx
mov ecx, 0x1c
lea edx, [ebp - 0x67c]
mov dword [ebp - 0x67c], 0x74
mov dword [ebp - 0x6f4], eax
mov eax, esi
sub esp, 0x10
lea esi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
mov eax, dword [0x420704]
mov dword [esp + 0xc], edx
lea edi, [ebp - 0x408]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x6f4]
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0xd
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x670]
mov edx, 0x66666667
sub esp, 0x10
mov eax, ecx
sar ecx, 0x1f
mov dword [esp + 4], 0x412cd8
imul edx
mov dword [esp], esi
sar edx, 3
sub edx, ecx
mov dword [esp + 8], edx
call dword [sym.imp.user32.dll_wsprintfW]
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x700]
mov dword [esp], edi
call eax
sub esp, 8
test eax, eax
je 0x40782d
mov eax, dword [ebp - 0x6f4]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call ebx
sub esp, 0x10
jmp 0x40782d
Function at 0x4079e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 8
mov eax, dword [0x420708]
mov dword [esp + 4], 0x7d0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
test ebx, ebx
je 0x407a38
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x410284]
sub esp, 8
mov dword [esp], eax
call fcn.00405d60
mov ebx, dword [ebp - 4]
or dword [eax*4 + 0x4206e8], 2
leave
ret
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x410284]
sub esp, 8
mov dword [esp], eax
call fcn.00405d60
mov ebx, dword [ebp - 4]
and dword [eax*4 + 0x4206e8], 0xfffffffd
leave
ret
Function at 0x407d10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
mov ebx, edx
sub esp, 0x38
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x407ef0
mov edx, eax
lea esi, [ebp - 0x18]
cmp ebx, 0x11
je 0x407ea0
mov eax, dword [0x420704]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x28], edx
mov dword [esp + 0xc], esi
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x10], 0x4067c0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x44a
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x28]
sub esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [0x420704]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetFocus]
mov ecx, dword [ebp - 0x24]
sub esp, 4
test ecx, ecx
je 0x407e60
xor eax, eax
movzx edx, word [edi + eax]
add eax, 2
mov word [eax + 0x4204de], dx
test dx, dx
jne 0x407dd0
mov eax, 0x4204e0
call fcn.00407a70
mov eax, dword [0x420704]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb9
mov dword [esp], eax
call esi
mov dword [0x410284], ebx
sub esp, 0x10
call fcn.00407c10
call fcn.00405ff0
mov eax, dword [0x410284]
mov dword [esp], eax
call fcn.00405d60
mov eax, dword [eax*4 + 0x4206f0]
mov dword [esp + 4], eax
mov eax, dword [0x420708]
mov dword [esp], eax
call fcn.00402f40
mov ecx, 1
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [esp + 8], eax
mov eax, dword [0x420704]
mov dword [ebp - 0x1c], 0x4b0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x45f
mov dword [esp], eax
call esi
mov ecx, dword [ebp - 0x24]
sub esp, 0x10
test eax, eax
je 0x407dce
jmp 0x407e4c
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 2
mov dword [esp + 4], 0x412b14
mov dword [esp], eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.kernel32.dll_WriteFile]
mov edx, dword [ebp - 0x24]
sub esp, 0x14
cmp dword [ebp - 0x18], 2
je 0x407d70
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 5
mov dword [esp + 0xc], 0x30
sete al
mov dword [esp + 8], 0x412cf8
movzx eax, al
add eax, 0x6ab
mov dword [esp + 4], eax
mov eax, dword [0x420708]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
xor ecx, ecx
sub esp, 0x10
jmp 0x407e4c
Function at 0x408100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x18
mov eax, dword [0x420704]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
cmp word [0x4204e0], 0
jne 0x40815f
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 8
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], edx
mov dword [ebp - 0xc], 0x4b0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x45f
mov dword [esp], eax
call ebx
mov edx, eax
sub esp, 0x10
mov eax, dword [0x420704]
test edx, edx
je 0x408260
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb8
mov dword [esp], eax
call ebx
sub esp, 0x10
test eax, eax
je 0x408260
cmp word [0x4204e0], 0
movzx eax, word [0x41faa0]
mov ebx, 0x41faa0
jne 0x408270
test ax, ax
je 0x4082b0
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4081b0
sub eax, ebx
sar eax, 1
cmp word [0x41f8a0], 0
je 0x4081e3
mov edx, 0x41f8a0
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4081d0
sub edx, 0x41f8a0
sar edx, 1
add eax, edx
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_calloc]
mov esi, eax
test eax, eax
je 0x4082fc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x41f8a0
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
mov eax, dword [0x420708]
mov dword [esp + 4], esi
mov dword [esp + 0xc], 0x33
mov dword [esp + 8], 0x412cf8
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
cmp ebx, 6
je 0x4082c0
xor eax, eax
cmp ebx, 7
sete al
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
lea esp, [ebp - 8]
mov eax, 1
pop ebx
pop esi
pop ebp
ret
mov ebx, 0x4204e0
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x408278
cmp ebx, 0x4204e0
jbe 0x4082b0
lea esi, [esi]
cmp ax, 0x5c
je 0x4082f0
cmp ax, 0x2f
je 0x4082f0
sub ebx, 2
movzx eax, word [ebx]
cmp ebx, 0x4204e0
ja 0x408290
jmp 0x4081a1
xor eax, eax
jmp 0x4081bd
cmp word [0x4204e0], 0
je 0x4082e0
mov edx, dword [0x410284]
lea esp, [ebp - 8]
mov eax, 0x4204e0
pop ebx
pop esi
pop ebp
jmp fcn.00407d10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
jmp fcn.00407f40
movzx eax, word [ebx + 2]
add ebx, 2
jmp 0x4081a1
xor eax, eax
jmp 0x408250
Function at 0x40eed0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call 0x40ef40
mov esi, dword [eax]
call sub.ucrtbase.dll___p___argv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040ef90
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]

Function at 0x40ef90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call fcn.0040ef80
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x40f00f
cmp al, 9
je 0x40f000
cmp al, 0x20
je 0x40f000
mov dword [ebp - 0x54], 0
xor esi, esi
nop
cmp al, 0x5c
je 0x40f068
cmp al, 0x22
je 0x40f078
mov dword [ebp - 0x54], 0
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x40f00f
cmp al, 9
sete dl
cmp al, 0x20
sete cl
or dl, cl
je 0x40efc0
test esi, 1
jne 0x40efc0
lea esi, [esi]
nop
movzx eax, byte [ebx + 1]
add ebx, 1
cmp al, 9
je 0x40f000
cmp al, 0x20
je 0x40f000
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x24], 1
jne 0x40f02a
mov word [ebp - 0x20], 1
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040de40
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x54], 1
jmp 0x40efd7
and dword [ebp - 0x54], 1
jne 0x40efd0
xor esi, 1
jmp 0x40efd7
Function at 0x401102
Capabilities:
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x44
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x18
mov eax, dword [ebp - 0x18]
mov eax, dword fs:[eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
jmp 0x40115e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x40114d
mov dword [ebp - 0xc], 1
jmp 0x401188
mov dword [esp], 0x3e8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x4070a0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
lock cmpxchg dword [edx], ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40113c
mov eax, dword [0x4070a4]
cmp eax, 1
jne 0x4011a0
mov dword [esp], 0x1f
call fcn.00402aa4
jmp 0x4011d3
mov eax, dword [0x4070a4]
test eax, eax
jne 0x4011c9
mov dword [0x4070a4], 1
mov dword [esp + 4], 0x40a014
mov dword [esp], 0x40a00c
call sub.ucrtbase.dll__initterm
jmp 0x4011d3
mov dword [0x40701c], 1
mov eax, dword [0x4070a4]
cmp eax, 1
jne 0x4011fb
mov dword [esp + 4], 0x40a008
mov dword [esp], section..CRT
call sub.ucrtbase.dll__initterm
mov dword [0x4070a4], 2
cmp dword [ebp - 0xc], 0
jne 0x401217
mov dword [ebp - 0x2c], 0x4070a0
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
xchg dword [eax], edx
mov eax, dword [entry1]
test eax, eax
je 0x401241
mov eax, dword [entry1]
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 0
call eax
sub esp, 0xc
call fcn.00401f81
mov dword [esp], 0x40209c
mov eax, dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call eax
sub esp, 4
mov dword [0x407074], eax
mov dword [esp], section..text
call sub.ucrtbase.dll__set_invalid_parameter_handler
call fcn.00401920
mov eax, dword [0x407004]
mov dword [esp + 4], 0x407008
mov dword [esp], eax
call fcn.004013c8
call fcn.0040175c
mov eax, dword [0x404014]
mov edx, dword [0x40700c]
mov dword [eax], edx
mov ecx, dword [0x40700c]
mov edx, dword [0x407008]
mov eax, dword [0x407004]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00403604
mov dword [0x407014], eax
mov eax, dword [0x407018]
test eax, eax
jne 0x4012d0
mov eax, dword [0x407014]
mov dword [esp], eax
call sub.ucrtbase.dll_exit
mov eax, dword [0x40701c]
test eax, eax
jne 0x4012de
call sub.ucrtbase.dll__cexit
mov eax, dword [0x407014]
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret
Function at 0x4012eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x40704c], 1
mov dword [0x407050], 1
mov dword [0x407054], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40132c
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40134f
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401371
cmp eax, 0x20b
je 0x401396
jmp 0x4013c1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401383
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x4013ae
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, 0
leave
ret

Function at 0x401928
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call sub.ucrtbase.dll___acrt_iob_func
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.ucrtbase.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call sub.ucrtbase.dll___acrt_iob_func
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402914
call sub.ucrtbase.dll_abort

Function at 0x4024fc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40251b
mov eax, 0
jmp 0x40255f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40253e
mov eax, 0
jmp 0x40255f
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x40255a
mov eax, 0
jmp 0x40255f
mov eax, 1
leave
ret
Function at 0x402561
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x4025c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x4025b8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x4025b8
mov eax, dword [ebp - 4]
jmp 0x4025d4
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x402595
mov eax, 0
leave
ret

Function at 0x402dfc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x402e6d
cmp dword [ecx + 0x20], 0
mov esi, ecx
jne 0x402e1a
call fcn.00401698
lea eax, [ecx + 0x18]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [ecx + 0x24]
mov dword [ebp - 0x2c], esi
lea esi, [ebp - 0x2c]
mov ebx, eax
mov word [ebp - 0x1c], 0x104
call fcn.004015d8
mov edx, dword [edi]
mov ecx, 5
mov dword [ebp - 0x30], edx
xor edx, edx
mov dword [edi], edx
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.00401630
mov eax, dword [ebp - 0x30]
call fcn.00402dc8
mov dword [esp], ebx
call sub.ucrtbase.dll_exit
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 4

Function at 0x438c9f
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
add edx, edx
call fcn.00438cd8
or edx, ebx
add ebx, 0xc92372fd
inc edx
xor dword [edi], esi
sub ebx, 0x2e50af70
inc edi
dec ebx
add ebx, 1
cmp edi, eax
jne fcn.00438c9f
mov edx, 0xfd8042e4
add ebx, edx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100024f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063c15
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100988d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
push dword [esi + 0xc]
mov ecx, dword [0x10099dfc]
lea eax, [ebp - 0x14]
push eax
call fcn.10056c10
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::String::operator_class_ScCore::String_const__const]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
test bl, bl
je 0x1000261b
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
push 0
push 1
mov esi, dword [edi]
push 0
push eax
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x10070958]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
je 0x10002605
push 0
push dword [esi + 0x14]
lea ecx, [ebp - 0x10]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const___class_ScCore::Encoder_const__]
push 0x2c
mov dword [ebp - 4], 1
call dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x100025e4
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [esi + 0xc]
mov ecx, eax
push dword [esi + 4]
call fcn.10056c10
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
xor esi, esi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov ecx, dword [0x10099dfc]
add eax, 0xc
push eax
call fcn.10056c10
mov ecx, dword [esi]
push eax
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x10070958]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10004300
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006408f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x100988d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 0xe0000000
cmp eax, 0x20000000
jg 0x100043cc
je 0x100043c7
cmp eax, 0x80000000
je 0x100043c7
test eax, eax
jne 0x100043d3
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
mov eax, dword [0x10099e0c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0xa
mov ecx, dword [eax]
test ecx, ecx
je 0x1000437e
add ecx, 0x28
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::acquire_void_]
mov ecx, dword [edi]
push esi
mov byte [ebp - 4], 1
call fcn.10056c10
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::setString_unsigned_short_int_const__]
mov eax, dword [0x10099e0c]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
je 0x100043ac
add ecx, 0x28
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::release_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_double___thiscall_ScCore::Variant::getDouble_void_const]
lea ecx, [ebp - 0x2c]
fstp qword [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x100043ef
xorps xmm0, xmm0
jmp 0x100043ea
cmp eax, 0x40000000
je 0x100043df
and esi, 0x1fffffff
movd xmm0, esi
jmp 0x100043e6
movzx eax, si
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4