joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001000
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1000effb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x310
mov eax, dword [0x100140cc]
push esi
push edi
mov dword [esp + 8], eax
push 0x5c
lea ecx, [esp + 0xc]
mov dword [esp + 0x324], 0
call fcn.10009606
push eax
lea ecx, [esp + 0x10]
push 0
push ecx
lea ecx, [esp + 0x14]
call fcn.10009570
mov edx, dword [eax]
push 0x100140c8
push edx
lea eax, [esp + 0x21c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.10009c58
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea ecx, [esp + 0x14]
push 0x1a
push ecx
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push 0x100140bc
push edx
call esi
lea eax, [esp + 0x10]
push str.install.ini
push eax
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x114]
lea edx, [esp + 0x114]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
push 0x100
push edx
push eax
push 0x100140ac
push str.NEWNAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x10001122
push 1
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000111b
lea ecx, [esp + 0x114]
push ecx
push 0x100140a0
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x320], 0xffffffff
call fcn.10009c58
mov ecx, dword [esp + 0x318]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x31c
ret
Function at 0x1001fad0
Capabilities:
Check for software breakpoints

Disassembly:
stosd dword es:[edi], eax
sbb dh, byte [edx - 3]
sub edx, dword [esi + 0x63]
fld dword [esi - 0x1b8c9076]
push edi
loop 0x1001fb38
in al, dx
retf 0x54a9
and al, 0xb
or al, 0x93
movsb byte es:[edi], byte [esi]
mov esp, 0x67d2930b
inc edi
popal
mov esp, 0xc8952ece
push 0x4eb46263
outsd dx, dword [esi]
aad 0x5e
pop esi
adc ch, byte [ecx + 0xc1a2cd9]
push ebp
jg 0xf8bc9b47
xlatb
inc esp
cmp dh, byte [ecx + 0x6818930b]
mov bl, 0x60
js 0x1001fb20
mov ebx, 0x964e3495
popfd
pushal
push 0xffffffffffffffa9
pushfd
sub eax, 0xa0a48f84
mov bl, al
jno 0x1001fbb0
push esi
retf
scasb al, byte es:[edi]
inc edx
retf 0x4704
lodsb al, byte [esi]
mov eax, dword [0x3d6077da]
stosb byte es:[edi], al
jmp 0x1001fbb9
and eax, 0x4a449a2e
dec esi
movsb byte es:[edi], byte [esi]
popal
sub byte [eax - 0x61], ch
xchg esp, eax
inc eax
jbe 0x1001fbcf
push 0x7640949f
adc byte [eax - 0x52546bd2], dl
nop
xchg esp, eax
stosd dword es:[edi], eax
lodsd eax, dword [esi]
mov dl, 0x18
int3
arpl dx, sp
push 0x5c
cdq
add al, bl
jp 0x1001fc39
push ds
test eax, 0xb6666061
fstp dword [edx + 0x58]
aam 0x74
js 0x1001fb74
loope 0x1001fb7f
push 0xed59531
adc dword [eax], ebp
sub al, 0xac
inc ebp
pushal
dec edx
cmpsb byte [esi], byte es:[edi]
arpl word [esi - 0x2a], di
out 0x6c, al
dec ebx
invalid
adc eax, 0x7699ccd6
imul ebp, dword [ebx - 0x3a], 0xffffffa1
fstpnce st(1), st(0)
bound ecx, qword [edx - 0x5e]
add al, 0xb7
ficom dword [ebx - 0x583aa646]
shr byte [ecx + 0x4ce10ba2], 1
dec esp
jne 0x1001fc1d
lds ebx, [ecx]
dec ecx
xor al, 0xd
adc al, 0x82
aas
repe scasd eax, dword es:[edi]
dec esp
add al, dl
sbb al, 0xbc
pop eax
lahf
stosb byte es:[edi], al
ficom dword [eax + 0x215ac171]
invalid
Function at 0x104f4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.104f41a8
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 0x104f407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104f406a
add dl, dl
jne 0x104f4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104f40dc
xor eax, eax
add dl, dl
jne 0x104f4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104f417d
add dl, dl
jne 0x104f40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104f40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104f40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104f40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104f40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x104f4075
mov eax, 1
add dl, dl
jne 0x104f40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104f40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104f40e1
sub eax, ebx
mov ebx, 1
jne 0x104f4128
mov ecx, 1
add dl, dl
jne 0x104f410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104f4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104f4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104f4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x104f413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104f414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104f4136
cmp eax, 0x7d00
jae 0x104f416d
cmp eax, 0x500
jb 0x104f4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104f4075
cmp eax, 0x7f
ja 0x104f4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104f4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x104f419e
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 0x104f4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x417c10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push esi
push edi
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0x4c6480
mov dword [esp + 0x34], 0
xor al, 0
add byte [eax], al
add bh, bh
adc eax, sym.imp.ADVAPI32.dll_AllocateAndInitializeSid
lea ecx, [esp + 0xc]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 1
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test edi, edi
je 0x417c80
mov edx, dword [0x4c5ab0]
push 0x4c579c
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalKimoto_IDE_Plus
push 0
lea eax, [esp + 0x18]
push 1
push eax
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
pop edi
mov dword [0x4c5aac], eax
pop esi
add esp, 0x14
ret

Function at 0x45c966
Capabilities:
Encode data using xor

Disassembly:
test eax, 0x7010fc2
push ebp
aad 0xa1
push edi
sbb eax, dword [edx]
cdq
invalid

Function at 0x4ba3ed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2368
cmp edx, dword [eax]
je 0x4ba40f
add eax, 8
inc ecx
cmp eax, 0x4c23f8
jl 0x4ba400
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2368]
jne 0x4ba53d
mov eax, dword [0x4c6d00]
cmp eax, 1
je 0x4ba517
test eax, eax
jne 0x4ba440
cmp dword [0x4c2294], 1
je 0x4ba517
cmp edx, 0xfc
je 0x4ba53d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba477
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004badd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb260
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba4ba
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb260
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf8fc
push edi
call fcn.004bd130
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004badd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bade0
lea eax, [ebp - 0xa0]
push 0x4bf8dc
push eax
call fcn.004bade0
push dword [esi + 0x4c236c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bade0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd0a4
add esp, 0x2c
pop edi
jmp 0x4ba53d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c236c]
push 0
push eax
push dword [esi]
call fcn.004bb260
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x427432
Capabilities:
Encode data using xor

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid
Function at 0x401cd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d28
cmp byte [esi + ebx - 1], 0xa
je 0x401cfc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4030d8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x401e10
Capabilities:
Terminate process

Disassembly:
cmp eax, 0x30
je 0x401ea0
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
lea eax, [eax - 0x68]
sub esp, 0x10
cmp eax, 0xf
ja case.0x401e2b.105
jmp dword [eax*4 + 0x404070]
mov dword [esp + 4], str.winepath
mov dword [esp], str.Usage:__s__OPTION___PATH_..._n
call sym._printf
mov dword [esp], str.Convert_PATH_s__to_Unix_or_Windows_long_or_short_paths._n_n___u____unix____converts_a_Windows_path_to_a_Unix_path_n___w____windows_converts_a_Unix_path_to_a_long_Windows_path_n___l____long____converts_the_short_Windows_path_of_an_existing_file_or_n________________directory_to_the_long_format_n___s____short___converts_the_long_Windows_path_of_an_existing_file_or_n________________directory_to_the_short_format_n___0____________separate_output_with_0_character__instead_of_a_newline_n___h____help____output_this_help_message_and_exit_n_nIf_more_than_one_option_is_given_then_the_input_paths_are_output_in_nall_formats_specified__in_the_order_long__short__Unix__Windows._nIf_no_option_is_given_the_default_is_Unix_format._n
call sym._printf
mov dword [esp], 0
call dword [sym.imp.ucrtbase.dll_exit]
lea esi, [esi]
mov eax, 2
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
add esp, 0x10
mov eax, 8
pop ebx
pop esi
pop ebp
ret
mov eax, 4
jmp 0x401e6d
mov eax, 1
jmp 0x401e6d
mov eax, 0x10
ret
mov dword [ebp - 0xc], edx
mov esi, dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], 2
call esi
mov dword [esp + 8], str.winepath
mov dword [esp + 4], str._s:_invalid_option
mov dword [esp], eax
call sym._fprintf
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x401f2b
mov eax, edx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp], 2
mov ebx, eax
call esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x404049
mov dword [esp], eax
call sym._fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], str.winepath
mov dword [esp + 4], str.Try__s___help_for_help_n
mov dword [esp], eax
call sym._fprintf
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll_exit]
mov dword [esp], 2
call esi
mov dword [esp + 8], ebx
mov dword [esp + 4], str.__c_n
mov dword [esp], eax
call sym._fprintf
jmp 0x401efd
Function at 0x402b30
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_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
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x6c944fc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6c94501b
cmp byte [esi + ebx - 1], 0xa
je 0x6c944fef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6c9490a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x6c945570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x6c9490b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x6c945730
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x6c9490b4]
movzx eax, al
bt eax, esi
jae 0x6c945790
mov ecx, dword [0x6c9490a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x6c945636
test byte [0x6c946030], 8
jne 0x6c9456d0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x6c946040], 8
jne 0x6c945680
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x6c945605
cmp esi, 3
jbe 0x6c945640
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x6c948bac]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x6c945605
mov ecx, dword [0x6c9490b4]
test ecx, ecx
je 0x6c945770
mov dword [esp], 0x6c946040
call dword [0x6c9490b4]
test al, 8
je 0x6c9455dc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x6c9455dc
mov ebx, dword [0x6c9490b4]
test ebx, ebx
je 0x6c945750
mov dword [esp], 0x6c946030
call dword [0x6c9490b4]
test al, 8
je 0x6c9455c9
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x6c9455cf
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x6c9490b4
call sym._load_func.part.0
jmp 0x6c945590
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x6c9490b4
call sym._load_func.part.0
jmp 0x6c9456da
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x6c9490b4
call sym._load_func.part.0
jmp 0x6c94568e
mov eax, 0xffffffff
jmp 0x6c945636
Function at 0x4021c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x404c40
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40a028]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ebx, [esi + 0x10]
mov ecx, ebx
call dword [0x4063fc]
lea ebp, [esi + 0x14]
mov ecx, ebp
mov dword [esp + 0x1c], 0
call dword [0x4063fc]
lea ecx, [esi + 0x18]
call dword [0x4063fc]
lea ecx, [esi + 0x1c]
call dword [0x4063fc]
lea ecx, [esi + 0x20]
call dword [0x4063fc]
lea ecx, [esi + 0x24]
call dword [0x4063fc]
lea ecx, [esi + 0x28]
call dword [0x4063fc]
lea edi, [esi + 0x30]
mov ecx, edi
call dword [0x4063fc]
mov byte [esp + 0x1c], 7
mov eax, 0x493e0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, 0x50
push 0x40676c
mov ecx, ebx
mov dword [esi], 0
mov dword [esi + 0xc], 3
mov word [esi + 0x2c], ax
call dword [0x4063ac]
push 0x40676c
mov ecx, ebp
call dword [0x4063ac]
push 0x40676c
lea ecx, [esi + 0x18]
call dword [0x4063ac]
push 0x40676c
lea ecx, [esi + 0x1c]
call dword [0x4063ac]
push 0x40676c
lea ecx, [esi + 0x20]
call dword [0x4063ac]
push 0x40676c
lea ecx, [esi + 0x24]
call dword [0x4063ac]
push 0x40676c
mov ecx, edi
call dword [0x4063ac]
push 0x40676c
mov ecx, edi
call dword [0x4063ac]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x4022f0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x404bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x40a028]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
mov dword [esp + 0x2c], 7
mov eax, 0xbb8
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, 0x50
lea ebx, [esi + 0x10]
push 0x40676c
mov ecx, ebx
mov dword [esi], 0
mov dword [esi + 0xc], 3
mov word [esi + 0x2c], ax
call dword [0x4063ac]
lea ebp, [esi + 0x14]
push 0x40676c
mov ecx, ebp
call dword [0x4063ac]
lea ecx, [esi + 0x18]
push 0x40676c
mov dword [esp + 0x24], ecx
call dword [0x4063ac]
lea ecx, [esi + 0x1c]
push 0x40676c
mov dword [esp + 0x20], ecx
call dword [0x4063ac]
lea ecx, [esi + 0x20]
push 0x40676c
mov dword [esp + 0x1c], ecx
call dword [0x4063ac]
lea ecx, [esi + 0x24]
push 0x40676c
mov dword [esp + 0x18], ecx
call dword [0x4063ac]
lea edi, [esi + 0x30]
push 0x40676c
mov ecx, edi
call dword [0x4063ac]
push 0x40676c
mov ecx, edi
call dword [0x4063ac]
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esi + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, ebp
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4