joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4024b0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4069c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea ecx, [esp + 4]
call fcn.00403770
lea ecx, [esp]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_1
push str.SoftwareEchoBirdHKDVR
push closesocket
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.00403820
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push str.WorkDir
call fcn.00403860
test eax, eax
jne 0x40255a
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004037b0
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
call fcn.00403800
push 0xffffffffffffffff
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004037b0
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x4025a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edi, dword [esp + 0x50]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp dx, 0x804
rep movsb byte es:[edi], byte [esi]
je 0x402605
cmp dx, 0x1004
je 0x402605
cmp dx, 0x404
je 0x4025fa
cmp dx, 0xc04
je 0x4025fa
lea edx, [esp + 0xc]
mov edi, str.Language0009.ini
jmp 0x40260e
lea edx, [esp + 0xc]
mov edi, str.Language0404.ini
jmp 0x40260e
lea edx, [esp + 0xc]
mov edi, str.Language0804.ini
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
push 0xff
push 0x40a238
push 0
push edx
push str.String_Table
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x402673
mov edi, 0x7365c4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x40a238
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, 0x40a238
pop ebx
add esp, 0x40
ret
Function at 0x402ab0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x220
mov ecx, 0x3f
xor eax, eax
push ebx
push esi
push edi
lea edi, [esp + 0x12c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x12c]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, 0x3f
xor eax, eax
mov edi, 0x40a138
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x230]
stosw word es:[edi], ax
push ecx
push 0x409b28
push edx
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.HKDVR.ini
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0xff
push 0x40a138
lea ecx, [esp + 0x18]
push 0
push ecx
push 0x409b18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x402bb9
mov edi, 0x7365c4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x40a138
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, 0x40a138
pop ebx
add esp, 0x220
ret
Function at 0x403860
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xd0
lea eax, [esp]
push esi
push eax
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0xe0]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
mov dword [esp + 0x1c], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x4038a9
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xe0]
call sub.MFC42.DLL_CString::operator
mov eax, esi
pop esi
add esp, 0xd0
ret 8

Function at 0x4038c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
lea edx, [esp + 0xc]
push eax
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4038f9
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [ecx], edx
add esp, 8
ret 8

Function at 0x404000
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, 0x2810
call fcn.00406570
mov edx, dword [esp + 0x2820]
push ebx
push ebp
push esi
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, ebp
mov edx, dword [esp + 0x282c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov word [esp + 0x14], 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
mov eax, dword [esp + 0x2828]
lea ecx, [esp + 0x10]
push 0x10
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x282c]
push 0
lea edx, [esp + 0x2c]
push ebx
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2810
ret
Function at 0x4056b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10c
lea eax, [esp + 8]
push ebp
push esi
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov al, 0x5c
cmp byte [esp + ecx + 0x14], al
je 0x4056f0
test ecx, ecx
jl 0x4056f0
mov dl, byte [esp + ecx + 0x13]
dec ecx
cmp dl, al
jne 0x4056e3
cmp ecx, 0xffffffff
je 0x4056fa
mov byte [esp + ecx + 0x15], 0
mov edi, str.UPnp.dat
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x80
push 2
mov ecx, ebp
push eax
push eax
and ecx, 3
lea eax, [esp + 0x28]
push 0x40000000
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4057b2
mov ecx, dword [0x7365d4]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x14]
push 4
push eax
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
call ebp
mov eax, dword [esp + 0xc]
xor esi, esi
test eax, eax
jle 0x4057ab
test esi, esi
jl 0x405793
cmp esi, dword [0x7365d4]
jge 0x405793
mov ecx, dword [0x7365d0]
mov eax, dword [ecx + esi*4]
jmp 0x405795
xor eax, eax
lea edx, [esp + 0x10]
push 0
push edx
push 0x22
push eax
push edi
call ebp
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
jl 0x40577c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
add esp, 0x10c
ret
Function at 0x4b7a44
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b7adc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.004048ac
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebx]
call fcn.004048fc
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.00404b5c
mov eax, dword [ebp - 0x10c]
mov edx, 0x4b7af0
call fcn.00404a48
je 0x4b7ac3
mov eax, ebx
mov edx, 0x4b7af0
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7ae3
lea eax, [ebp - 0x10c]
call fcn.0040463c
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 0x982160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009822b0
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 0x982186
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x982172
add dl, dl
jne 0x982191
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9821e4
xor eax, eax
add dl, dl
jne 0x98219e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x982285
add dl, dl
jne 0x9821ad
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9821b8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9821c3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9821ce
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9821da
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x98217d
mov eax, 1
add dl, dl
jne 0x9821f2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9821fd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9821e9
sub eax, ebx
mov ebx, 1
jne 0x982230
mov ecx, 1
add dl, dl
jne 0x982216
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x982221
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x98220d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x98217d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x982247
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x982252
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x98223e
cmp eax, 0x7d00
jae 0x982275
cmp eax, 0x500
jb 0x982270
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x98217d
cmp eax, 0x7f
ja 0x982278
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x98217d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9822a6
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 0x98217d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x416dc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x507b5b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x551bd0]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push esi
push edi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x10]
call fcn.00407a50
push 0
push 0x1a
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x14c], 0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
call edi
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00407a30
mov eax, dword [str.MacromediaFlash_PlayerSharedObjects]
push eax
mov esi, eax
call fcn.00402330
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00417530
lea ecx, [esp + 0x10]
call fcn.00402c10
mov esi, eax
call fcn.00416ee0
push 0
push 0x1c
lea edx, [esp + 0x34]
push edx
push 0
call edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.00407a30
mov eax, dword [str.GoogleChromeUser_DataDefaultPepper_DataShockwave_FlashWritableRootSharedObjects]
push eax
mov esi, eax
call fcn.00402330
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00417530
lea ecx, [esp + 0x10]
call fcn.00402c10
mov esi, eax
call fcn.00416ee0
lea ecx, [esp + 0x10]
call fcn.00402b90
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004bfe65
add esp, 0x134
ret
Function at 0x416fb0
Capabilities:
Create directory
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x507303
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x551bd0]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
push 0x5235b4
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x188], 0
call fcn.004175d0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00402c10
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00402b90
cmp esi, 0xffffffff
jne 0x417045
lea ecx, [esp + 0x184]
call fcn.00402b90
xor al, al
jmp 0x4170f6
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov bl, 0x10
lea ecx, [ecx]
test byte [esp + 0x2c], bl
je 0x417072
lea eax, [esp + 0x58]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417060
sub eax, edx
cmp eax, 8
je 0x41711f
lea eax, [esp + 0x2c]
push eax
push esi
call ebp
test eax, eax
jne 0x417050
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x184]
push ecx
mov ecx, edi
call fcn.004082d0
push 0x5235b8
call fcn.00402330
add esp, 4
push eax
push 0x5235b8
mov ecx, edi
call fcn.00417530
lea esi, [esp + 0x10]
call fcn.0041e4a0
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [esp + 0x188], 1
call fcn.00416d10
mov ecx, esi
call fcn.00402b90
push 0
mov ecx, edi
call fcn.00402c10
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
lea ecx, [esp + 0x184]
sete bl
call fcn.00402b90
mov al, bl
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.004bfe65
add esp, 0x170
ret 0x1c
lea ecx, [esp + 0x184]
push ecx
mov ecx, edi
call fcn.004082d0
push 0x5235b8
call fcn.00402330
add esp, 4
push eax
push 0x5235b8
mov ecx, edi
call fcn.00417530
lea edx, [esp + 0x58]
push edx
call fcn.00402330
add esp, 4
push eax
lea eax, [esp + 0x5c]
push eax
mov ecx, edi
call fcn.00417530
lea ecx, [esp + 0x184]
call fcn.00402b90
mov al, 1
jmp 0x4170f6
Function at 0x419380
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x508547
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x523688
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0041a490
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.0041b050
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
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], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x55722c]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x419f60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5084f7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [ebp], 0x523698
mov dword [ebp + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x24], ebx
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov dword [ecx + ebp], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebp]
mov edi, dword [edx + 4]
add edi, ebp
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.00417ee0
lea esi, [ebp + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], ebx
call fcn.0041b1e0
mov byte [edi + 0x30], al
cmp dword [edi + 0x28], ebx
jne 0x419ff3
mov eax, dword [edi + 8]
or eax, 4
or eax, 4
push ebx
push eax
mov ecx, edi
call fcn.00417d60
mov dword [edi + 4], ebx
mov dword [esp + 0x24], 2
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov dword [ecx + ebp], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.0041b050
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
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], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x55722c]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x41b050
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x506b7b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e0458
push 4
mov dword [esp + 0x24], 0
call fcn.004a12b8
mov edi, eax
add esp, 4
test edi, edi
je 0x41b0d2
call fcn.004e02c9
mov dword [edi], eax
call fcn.004e00f7
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004e0419
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41b0c7
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004e0441
jmp 0x41b0d4
xor edi, 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
mov dword [esi + 0x38], edi
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 eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x41c3b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x508808
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0xc]
call fcn.00402380
mov ecx, dword [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
call fcn.0041c220
lea ecx, [esp + 8]
mov esi, eax
call fcn.00402b90
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 8
Function at 0x426160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x507dc8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x551bd0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push edi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov ebp, dword [esp + 0x40]
mov edx, ecx
sub edx, eax
cmp edx, 1
jb 0x426217
mov edx, dword [esi + 4]
cmp byte [eax + edx], 0xc
jne 0x426217
inc eax
mov dword [esi + 0x10], eax
cmp eax, ecx
jne 0x4261bc
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
lea edi, [esp + 0xc]
mov ecx, esi
call fcn.00426380
test al, al
je 0x426217
mov eax, dword [esp + 0xc]
test al, 1
je 0x426262
shr eax, 1
mov edi, eax
je 0x42624c
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp ecx, edi
jb 0x426217
mov edx, dword [esi + 4]
push edi
add edx, eax
push edx
lea ecx, [esp + 0x18]
call fcn.0041cba0
mov ecx, edi
mov eax, esi
mov dword [esp + 0x38], 0
call fcn.0041e760
test al, al
jne 0x42621b
lea ecx, [esp + 0x10]
call fcn.00402b90
xor al, al
jmp 0x426277
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.0041bb90
cmp dword [ebx + 8], 0x11
jne 0x426234
mov dword [ebx + 8], 0x14
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebp + 0x4c]
call fcn.00423700
lea ecx, [esp + 0x10]
call fcn.00402b90
jmp 0x426275
mov ecx, ebx
call fcn.0041bb20
cmp dword [ebx + 8], 0x11
jne 0x426275
mov dword [ebx + 8], 0x14
jmp 0x426275
shr eax, 1
push eax
lea ecx, [ebp + 0x4c]
call fcn.00426770
push eax
mov ecx, ebx
call fcn.0041bb90
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004bfe65
add esp, 0x30
ret 4

Function at 0x4262a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x507d90
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x551bd0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x551bd0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 1
call fcn.0041e780
mov eax, dword [esi + 4]
add eax, dword [esi + 0xc]
push edi
mov byte [eax], 0xc
inc dword [esi + 0xc]
lea ecx, [esp + 0x14]
call fcn.0041bfc0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0
call fcn.00402940
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
call fcn.00402b90
mov eax, dword [esp + 0x40]
add eax, eax
or eax, 1
mov ecx, esi
call fcn.004263f0
test al, al
jne 0x426337
lea ecx, [esp + 0x2c]
call fcn.00402b90
xor al, al
jmp 0x42635e
sub esp, 0x1c
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00402940
mov ecx, esi
call fcn.0041e690
lea ecx, [esp + 0x2c]
mov bl, al
call fcn.00402b90
mov al, bl
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004bfe65
add esp, 0x4c
ret