joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fd9e4
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x553a24
mov ecx, dword [esp]
lea edx, [esp + 0xc]
xor ebx, ebx
mov bl, byte [edi]
mov bl, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4fda03
mov esi, 1
mov edx, 0x553b2c
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
xor ebx, ebx
mov bl, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
xor ebx, ebx
mov bl, byte [esp + eax + 0x11]
add edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4fda7d
dec ebx
je 0x4fdaa1
dec ebx
je 0x4fdac5
dec ebx
je 0x4fdae8
jmp 0x4fdb01
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 8
and ebx, 0xff
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4fdb01
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 4
and ebx, 0xff
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4fdb01
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 2
and ebx, 0xff
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4fdb01
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4fda6a
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4fda1f
mov esi, 0x20
mov eax, 0x553a54
mov edx, dword [esp + 4]
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4fdb26
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4fdb60
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
xor eax, eax
mov al, dl
mov bl, byte [eax + 0x553adb]
test bl, bl
jbe 0x4fdb91
lea eax, [esi + 0x3e0]
call fcn.004fdb40
lea eax, [esi + 0x3fc]
call fcn.004fdb40
dec bl
jne 0x4fdb77
mov cl, 0x30
mov edi, 0x553aac
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x4fdbb3
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4fdbc2
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4fdb9b
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4fdbd0
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004fd978
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4fdbec
mov bl, 0x1c
mov esi, 0x553a74
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004fd978
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004fd978
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4fdc08
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004fdb60
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4fdc30
mov bl, 1
mov eax, 0x5539a4
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4fdc69
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4fdc76
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4fdc55
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4fdca0
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004fd9e4
jmp 0x4fdcc8
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004fd9e4
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4fdcd0
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4fdc88
mov bl, 0x40
mov esi, 0x5539e4
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x4fdd36
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4fdd45
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4fdd1e
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004fd9a0
inc ebx
inc esi
cmp bl, 0x41
jne 0x4fdd53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4fdf28
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
mov dl, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
mov dl, byte [esi + 2]
xor ecx, ecx
mov cl, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
mov al, byte [esi + 3]
xor ecx, ecx
mov cl, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
xor edx, edx
mov dl, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
mov al, byte [esi + 4]
shl eax, 3
and al, 0xff
xor edx, edx
mov dl, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
mov al, byte [esi + 5]
shl eax, 2
and al, 0xff
xor edx, edx
mov dl, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
mov al, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x4fdfd4
mov dl, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x4fdfcf
mov eax, ebp
mov edx, 8
call fcn.00404a94
push 1
mov eax, ebp
call fcn.00404960
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.004fdbd0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x50a124
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x53019c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, 4
mov ecx, esi
xor eax, eax
call fcn.00404af8
cmp byte [ebp - 1], 0
jne 0x5301fa
mov eax, esi
call fcn.00404960
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x530213
sub al, 2
jb 0x53021a
jmp 0x53021f
mov ebx, 2
jmp 0x53021f
mov ebx, 1
mov eax, esi
call fcn.00404960
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x530301
test edi, edi
jle 0x53027b
mov eax, esi
call fcn.00404960
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00404960
mov byte [eax + ebx - 1], 0
jmp 0x5302f5
test edi, edi
jge 0x5302c1
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00404960
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x5302f5
mov eax, esi
call fcn.00404960
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00404960
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x530237
mov al, byte [ebp - 1]
sub al, 1
jb 0x530311
sub al, 2
jb 0x53034a
jmp 0x530391
cmp edi, 2
jne 0x530317
dec ebx
mov eax, ebx
sub eax, 2
jl 0x530391
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00404960
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x553ee0]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x530327
jmp 0x530391
cmp edi, 2
jne 0x530350
dec ebx
test ebx, ebx
jle 0x53038c
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00404960
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x553ee4]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x53035c
jmp 0x53038c
inc ebx
mov eax, esi
call fcn.00404960
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x53037f
mov eax, esi
mov edx, ebx
call fcn.00404a94
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x530b60
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx]
add eax, 0x110
mov edx, 0x530bc4
call fcn.00404470
mov eax, dword [ebx]
mov edx, 0x530bd8
call fcn.00530104
mov eax, dword [ebx]
add eax, 0x114
mov edx, 0x530be4
call fcn.00404470
mov eax, dword [ebx]
add eax, 0x118
mov edx, 0x530c38
call fcn.00404470
mov eax, dword [ebx]
mov dword [eax + 0x3d4], 3
mov eax, dword [ebx]
mov byte [eax + 0x29b], 1
pop ebx
ret
Function at 0x409990
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47cbeb
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x49d7b0]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49d7b0]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.00406a30
push 0
push 0x1a
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x150], 0
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
call ebp
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.00406a60
mov eax, dword [str.MacromediaFlash_PlayerSharedObjects]
push eax
mov esi, eax
call fcn.004019f0
add esp, 4
mov ebx, eax
push esi
lea eax, [esp + 0x18]
call fcn.0040a0f0
lea ecx, [esp + 0x14]
call fcn.00401dd0
mov esi, eax
call fcn.00409ab0
push 0
push 0x1c
lea edx, [esp + 0x38]
push edx
push 0
call ebp
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00406a60
mov eax, dword [str.GoogleChromeUser_DataDefaultPepper_DataShockwave_FlashWritableRootSharedObjects]
push eax
mov esi, eax
call fcn.004019f0
add esp, 4
mov ebx, eax
push esi
lea eax, [esp + 0x18]
call fcn.0040a0f0
lea ecx, [esp + 0x14]
call fcn.00401dd0
mov esi, eax
call fcn.00409ab0
lea ecx, [esp + 0x14]
call fcn.00401db0
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.0043bced
add esp, 0x134
ret
Function at 0x409b80
Capabilities:
Create directory
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47cb63
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x49d7b0]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49d7b0]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1a4]
lea eax, [esp + 0x188]
push eax
mov esi, 0x48d4cc
lea edi, [esp + 0x1c]
mov dword [esp + 0x184], 0
call fcn.0040a180
add esp, 4
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00401dd0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, edi
mov esi, eax
call fcn.00401db0
cmp esi, 0xffffffff
jne 0x409c1a
lea ecx, [esp + 0x188]
call fcn.00401db0
xor al, al
jmp 0x409cd0
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov bl, 0x10
test byte [esp + 0x34], bl
je 0x409c44
lea eax, [esp + 0x60]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409c30
sub eax, edx
cmp eax, 8
je 0x409cfa
lea edx, [esp + 0x34]
push edx
push esi
call edi
test eax, eax
jne 0x409c22
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x190]
push eax
mov ecx, ebp
call fcn.00401f30
push 0x48d4d0
call fcn.004019f0
add esp, 4
mov ebx, eax
push 0x48d4d0
mov eax, ebp
call fcn.0040a0f0
lea esi, [esp + 0x18]
call fcn.00410780
push 0
push eax
or eax, 0xffffffff
mov esi, ebp
mov byte [esp + 0x188], 1
call fcn.004098e0
lea ecx, [esp + 0x18]
call fcn.00401db0
push 0
mov ecx, ebp
call fcn.00401dd0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
lea ecx, [esp + 0x188]
sete bl
call fcn.00401db0
mov al, bl
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0043bced
add esp, 0x170
ret 0x20
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x190]
push eax
mov ecx, ebp
call fcn.00401f30
push 0x48d4d0
call fcn.004019f0
add esp, 4
mov ebx, eax
push 0x48d4d0
mov eax, ebp
call fcn.0040a0f0
lea ecx, [esp + 0x60]
push ecx
call fcn.004019f0
add esp, 4
lea edx, [esp + 0x60]
mov ebx, eax
push edx
mov eax, ebp
call fcn.0040a0f0
lea ecx, [esp + 0x188]
call fcn.00401db0
mov al, 1
jmp 0x409cd0
Function at 0x40bd90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47d097
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49d7b0]
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], 0x48d5f0
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.0040cde0
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.0040d7b0
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 [0x4a26d8]
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 0x40ca30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47d047
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49d7b0]
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], 0x48d600
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0040cd50
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.0040d7b0
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 [0x4a26d8]
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 0x40d7b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47a0eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49d7b0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004593b2
push 4
mov dword [esp + 0x20], 0
call fcn.0041dd23
mov edi, eax
add esp, 4
test edi, edi
je 0x40d830
call fcn.004590d9
mov dword [edi], eax
call fcn.00458f0d
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00459215
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40d825
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00459236
jmp 0x40d832
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 + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x40eb00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47d178
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x49d7b0]
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.00402310
mov ecx, dword [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
call fcn.0040e9a0
lea ecx, [esp + 8]
mov esi, eax
call fcn.00401db0
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 8
Function at 0x40f2a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47cf82
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49d7b0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
push edi
mov eax, esi
call fcn.004102f0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00408300
test esi, esi
mov dword [esp + 0x18], ebx
jne 0x40f2eb
call fcn.0043c1ce
mov ebp, dword [esi + 4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.00408300
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
je 0x40f30f
cmp eax, esi
je 0x40f314
call fcn.0043c1ce
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x40f32e
add eax, 0x10
call fcn.00409880
test eax, eax
jge 0x40f3b6
xor eax, eax
mov ebp, vtable.Variant.0
mov ebx, 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x24]
push eax
push edi
lea ecx, [esp + 0x44]
push ecx
call fcn.0040fb30
mov byte [esp + 0x80], bl
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov eax, esi
call fcn.0040f5e0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x1c], edx
mov byte [esp + 0x84], 0
call fcn.0040f580
mov dword [esp + 0x80], 0xffffffff
lea esi, [esp + 0x24]
mov dword [esp + 0x24], ebp
call fcn.0040e0e0
cmp dword [esp + 0x14], 0
jne 0x40f3c2
call fcn.0043c1ce
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 4]
jne 0x40f3d8
call fcn.0043c1ce
mov eax, dword [esp + 0x18]
add eax, 0x30
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x410860
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47c3a1
mov eax, dword fs:[0]
push eax
mov eax, dword [0x49d7b0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], vtable.AMF3Serializer.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x412680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47c880
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x49d7b0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x49d7b0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 1
call fcn.00416040
mov eax, dword [esi + 4]
add eax, dword [esi + 0xc]
push edi
mov byte [eax], 0xc
add dword [esi + 0xc], 1
lea ecx, [esp + 0x14]
call fcn.0040e740
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0
call fcn.00401d70
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
call fcn.00401db0
mov eax, dword [esp + 0x40]
add eax, eax
or eax, 1
mov ecx, esi
call fcn.004127d0
test al, al
jne 0x412718
lea ecx, [esp + 0x2c]
call fcn.00401db0
xor al, al
jmp 0x41273f
sub esp, 0x1c
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00401d70
mov ecx, esi
call fcn.00415f50
lea ecx, [esp + 0x2c]
mov bl, al
call fcn.00401db0
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.0043bced
add esp, 0x4c
ret