joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40372e
Capabilities:
Get common file path
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00409f40
mov eax, dword [0x2b190a0]
mov ecx, dword [0x2b17ff0]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x403826
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x2b190a0], 0x959
jne 0x403814
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
push 0x402e78
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push 0x402ef8
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0x402f88
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402fd8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push 0x402e6c
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x403028
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.00403551
add edi, 8
dec ebx
jne 0x40375a
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403b76
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
push ebx
call dword [sym.imp.USER32.dll_CharUpperW]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
cmp esi, 0x2710
jge 0x403ba9
lea eax, [ebp - 0x42c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
inc esi
cmp esi, 0x5d744c
jl 0x403b86
xor esi, esi
mov edi, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, edi
jle 0x403bcc
cmp dword [ebp - 4], 0x785074d5
jne 0x403bd5
inc esi
cmp esi, 0x1c1b
jl 0x403bb9
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x403bfb
inc esi
cmp esi, 0x4f6a4
jl 0x403bd7
cmp dword [0x2b190a0], 0x400
jne 0x403c1d
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push ebx
push ebx
call fcn.00403d5d
push ebx
call fcn.00403e5d
add esp, 0xc
mov eax, dword [0x4a506c]
mov dword [0x2b190a0], eax
mov eax, dword [0x4a5040]
mov dword [0x2b190a4], eax
call fcn.004038f8
xor esi, esi
push 0x40332c
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp esi, edi
jle 0x403c50
cmp dword [ebp - 4], 0x785074d5
jne 0x403c59
inc esi
cmp esi, 0x11915
jl 0x403c38
mov esi, 0x3078f
cmp dword [0x2b190a0], 0x51f
jne 0x403c74
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
dec esi
jne 0x403c5e
mov eax, dword [0x2b17ff0]
mov dword [0x2b18634], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x40687f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a4404]
jne 0x406889
repz ret
jmp fcn.00408910
Function at 0x408197
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d5e
and dword [ebp - 4], 0
cmp dword [0x4a5970], 0
mov ebx, eax
jne 0x408248
push 0x40210c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4082f9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402100
push edi
call esi
test eax, eax
je 0x4082f9
push eax
call fcn.00404cec
mov dword [esp], 0x4020f0
push edi
mov dword [0x4a5970], eax
call esi
push eax
call fcn.00404cec
mov dword [esp], 0x4020dc
push edi
mov dword [0x4a5974], eax
call esi
push eax
call fcn.00404cec
mov dword [esp], 0x4020c0
push edi
mov dword [0x4a5978], eax
call esi
push eax
call fcn.00404cec
pop ecx
mov dword [0x4a5980], eax
test eax, eax
je 0x408248
push 0x4020a8
push edi
call esi
push eax
call fcn.00404cec
pop ecx
mov dword [0x4a597c], eax
mov eax, dword [0x4a597c]
cmp eax, ebx
je 0x4082a0
cmp dword [0x4a5980], ebx
je 0x4082a0
push eax
call fcn.00404d67
push dword [0x4a5980]
mov esi, eax
call fcn.00404d67
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4082a0
test edi, edi
je 0x4082a0
call esi
test eax, eax
je 0x408297
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408297
test byte [ebp - 0xc], 1
jne 0x4082a0
or dword [ebp + 0x10], 0x200000
jmp 0x4082d9
mov eax, dword [0x4a5974]
cmp eax, ebx
je 0x4082d9
push eax
call fcn.00404d67
pop ecx
test eax, eax
je 0x4082d9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4082d9
mov eax, dword [0x4a5978]
cmp eax, ebx
je 0x4082d9
push eax
call fcn.00404d67
pop ecx
test eax, eax
je 0x4082d9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a5970]
call fcn.00404d67
pop ecx
test eax, eax
je 0x4082f9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4082fb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x414dcf
Capabilities:
Encode data using xor

Disassembly:
xor dword [ebx], edx
push edi
mov edi, dword [esp]
add esp, 4
sub eax, esi
add ebx, 4
add edi, esi
sub edi, 0x56425e89
mov edi, edi
cmp ebx, ecx
jne fcn.00414dcf
add esi, 0xcce4e088
add eax, 1
ret
Function at 0x42ef80
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push 0xca62c1d6
push 0x8f1bbcdc
push 0x6ed9eba1
push 0x5a827999
push edx
call fcn.0042f330
ret 0x18

Function at 0x42f210
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 0xfffffff
imul eax, eax, 8
jo 0x42f230
test ecx, 0x10000000
je 0x42f22d
or eax, 0x80000000
ret 4
call dword [fcn.0040124c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x42f240
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 0x3fffffff
imul eax, eax, 2
jo 0x42f26a
test ecx, 0x40000000
je 0x42f25d
or eax, 0x80000000
test ecx, 0x80000000
je 0x42f267
or al, 1
ret 4
call dword [fcn.0040124c]

Function at 0x42f270
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, esi
mov eax, esi
and ecx, 0x3ffffff
imul ecx, ecx, 0x20
jo 0x42f2ae
and eax, 0xf8000000
cdq
and edx, 0x7ffffff
add eax, edx
sar eax, 0x1b
and eax, 0x1f
or ecx, eax
test esi, 0x4000000
pop esi
je 0x42f2a9
or ecx, 0x80000000
mov eax, ecx
ret 4
call dword [fcn.0040124c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x42f2c0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, eax
xor edx, ecx
jge 0x42f2d5
add eax, ecx
jo 0x42f2e6
ret 8
xor eax, 0x80000000
add eax, ecx
jo 0x42f2e6
xor eax, 0x80000000
ret 8
call dword [fcn.0040124c]
nop
nop
nop
nop

Function at 0x42f2f0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov ecx, ebx
mov eax, ebx
and ecx, 1
imul ecx, ecx, 0x40000000
jo 0x42f327
and al, 0xfc
cdq
and edx, 3
add eax, edx
sar eax, 2
and eax, 0x3fffffff
or ecx, eax
test bl, 2
pop ebx
je 0x42f322
or ecx, 0x80000000
mov eax, ecx
ret 4
call dword [fcn.0040124c]
nop
nop
nop
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
or esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
push edx
pop edi
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
push esi
pop eax
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
push eax
pop esi
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret

Function at 0x1b97030
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1b9703a
pushal
call 0x1b97040
pop ebp
sub ebp, 0x10
sub ebp, 0x1797030
jmp 0x1b97056
mov eax, 0x1797030
add eax, ebp
add eax, 0x4c
mov ecx, 0x581
mov edx, 0x572d2f0c
xor byte [eax], dl
inc eax
dec ecx
jne 0x1b9706d
jmp 0x1b97080
xchg ecx, eax
xchg dword [ebp + 0xc0c0c30], eax
invalid
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x38e7239b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x323e0597
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x349d6817
nop
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x7e4e201e
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x406520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406579
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406579
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40656a
cmp esi, edx
jae 0x406579
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x406558
cmp esi, edx
jae 0x406579
cmp word [esi], 0
je 0x406579
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40a0c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbab6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x516240]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x40a16c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x40a16c
call fcn.004092b0
mov edi, eax
jmp 0x40a28b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40a18f
call fcn.004092b0
jmp 0x40a27e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x40a1ad
call fcn.004092b0
jmp 0x40a27e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x40a1ce
mov edi, 0x8007000e
jmp 0x40a280
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x40a2c4
jb 0x40a1ec
cmp eax, 0xffffffff
ja 0x40a2c4
cmp eax, 0x400
jbe 0x40a201
push eax
lea ecx, [ebp - 0x418]
call fcn.004091d0
jmp 0x40a227
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x40a227
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x40a23e
mov edi, 0x8007000e
jmp 0x40a280
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40a25e
call fcn.004092b0
jmp 0x40a27e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00409f20
mov edi, eax
test esi, esi
je 0x40a28b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40a2a4
lea ecx, [ebp - 0x418]
call fcn.004095d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044f2ba
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00404b20
int3
Function at 0x40c980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbd47
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x516240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x4e97b0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x50], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push 0
push 0
lea esi, [edi + 4]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], 1
call fcn.0040c1a0
mov eax, dword [edi]
push 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0044ee7a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40ca2a
push 1
mov byte [ebp - 4], 2
call fcn.00425286
add esp, 4
mov dword [ebx + 4], eax
jmp 0x40ca2c
xor ebx, ebx
lea eax, [esi + 4]
mov dword [esi + 0x34], ebx
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413d50
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov byte [esi + 0x68], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x413d91
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00415a10
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x414020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x516240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x4140c1
cmp byte [esi + 0x3d], 0
je 0x4140c1
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x414077
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x414089
sub eax, 1
je 0x41408d
sub eax, 2
je 0x4140c1
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f2ba
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4140aa
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004b192e
add esp, 0x10
cmp edi, eax
jne 0x414077
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f2ba
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0044f2ba
mov esp, ebp
pop ebp
ret
Function at 0x41cda0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd42f
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x516240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
push 0x180
push 0x40
push 0x8101
push ebx
push edi
mov dword [ebp - 0x2c], 0
call fcn.004b5187
add esp, 0x14
mov dword [ebp - 0x30], eax
test eax, eax
je 0x41cfb1
mov dword [ebp - 0xcc], 0x4e97b0
mov dword [ebp - 0x7c], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push 0
push 0
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x2c], 1
call fcn.0040c1a0
mov eax, dword [ebp - 0xcc]
push 8
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xd0], eax
mov dword [ebp - 0xc8], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0044ee7a
mov esi, eax
add esp, 4
test esi, esi
je 0x41ce8b
push 1
mov byte [ebp - 4], 2
call fcn.00425286
add esp, 4
mov dword [esi + 4], eax
jmp 0x41ce8d
xor esi, esi
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xc8], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 4
push 0x4eceb4
push dword [ebp - 0x30]
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 3
push str._error.__
push ebx
push 0x4eced0
push eax
call fcn.00402660
add esp, 8
push eax
call fcn.00402660
add esp, 8
push eax
call fcn.00402660
add esp, 8
mov ecx, eax
call fcn.00412510
push eax
call fcn.00402660
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xcc]
push eax
call fcn.0041d0a0
cmp dword [eax + 0x14], 8
jb 0x41cf97
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x28]
call fcn.00403c40
lea ecx, [ebp - 0xcc]
call fcn.00404340
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x41cfc7
push 2
push 0
push eax
call fcn.004b57e7
add esp, 0xc
jmp 0x41cfca
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f2ba
mov esp, ebp
pop ebp
ret 4
Function at 0x41d310
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x516240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 8], 0
je 0x41d337
call fcn.0041cff0
mov byte [esi + 8], 0
cmp dword [esi + 4], 0x40000000
jle 0x41d373
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x41d358
push eax
call fcn.004b533a
add esp, 4
mov dword [esi + 0x24], 0xffffffff
cmp dword [esi + 0x20], 8
lea eax, [esi + 0xc]
jb 0x41d363
mov eax, dword [eax]
push eax
call fcn.004b4357
add esp, 4
mov ecx, esi
call fcn.0041cff0
push 0xfde9
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0041d160
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x41d390
mov eax, dword [eax]
mov ecx, dword [esi + 0x24]
cmp ecx, 0xffffffff
je 0x41d3a7
push edx
push eax
push ecx
call fcn.004b5e22
add esp, 0xc
mov ebx, eax
jmp 0x41d3aa
or ebx, 0xffffffff
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x41d3da
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41d3d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d416
push edx
push ecx
call fcn.0044eeaa
add esp, 8
test ebx, ebx
jle 0x41d3f4
add dword [esi + 4], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f2ba
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x14], 8
jb 0x41d3fc
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f2ba
mov esp, ebp
pop ebp
ret 4
call fcn.0048ff06
int3