joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fa860
Capabilities:
Generate random numbers via winapi

Disassembly:
mov eax, 4
call fcn.0044a8a0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 1
push esi
xor edi, edi
call fcn.004d51b0
mov ebx, eax
push ebx
push esi
call fcn.004d5090
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x4fa8e9
push 0xf0000040
push 1
push edi
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4fa8c3
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.004d5100
push esi
call fcn.004d5250
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4fa8e9
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 1
push esi
call fcn.004d51b0
mov ebx, eax
push ebx
push esi
call fcn.004d5090
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x4fa958
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4fa93e
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.004d5100
push esi
call fcn.004d5250
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x4fa8e1
push esi
call fcn.004d5250
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x521030
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x521057
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x521046
pop edi
movzx eax, dl
pop esi
ret
Function at 0x51d6d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc0000]
mov dword [edi + 0xcf740], 0x593056e5
push edi
jmp 0x51d6fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51d701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d6f0
mov eax, 1
add ebx, ebx
jne 0x51d713
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51d724
jne 0x51d743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d743
dec eax
add ebx, ebx
jne 0x51d730
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51d708
add ebx, ebx
jne 0x51d73f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51d795
xor ecx, ecx
sub eax, 3
jb 0x51d75b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51d7ca
sar eax, 1
mov ebp, eax
jmp 0x51d766
add ebx, ebx
jne 0x51d766
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d734
inc ecx
add ebx, ebx
jne 0x51d774
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d734
add ebx, ebx
jne 0x51d781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x51d776
jne 0x51d792
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x51d776
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51d7b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51d7a6
jmp 0x51d6f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51d7b4
add edi, ecx
jmp 0x51d6f6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51d7d2
cmp byte [edi], 0x11
jne 0x51d7d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x51d7d7
lea edi, [esi + 0x116000]
mov eax, dword [edi]
or eax, eax
je 0x51d84f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x155cb4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x155e30]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51d804
mov ecx, edi
jns 0x51d833
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x155e34]
or eax, eax
je 0x51d849
mov dword [ebx], eax
add ebx, 4
jmp 0x51d821
call dword [esi + 0x155e44]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x51d880
cmp al, 0xef
ja 0x51d873
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x51d855
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x51d862
mov ebp, dword [esi + 0x155e38]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x51d8b4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x401e34
Capabilities:
Terminate process

Disassembly:
mov eax, 0x1f4
mov ebx, 0x2bc
mul ebx
shl eax, 2
push eax
call sub.MSVCR100.dll_malloc
add esp, 4
mov dword [0x40300c], eax
push 0x401092
push dword [0x40300c]
push 0x2bc
push 0x1f4
push str.Minion_Rush
call sub.canvas.dll_BeginDrawing
add esp, 0x14
push 0
call 0x401e7a
jmp dword [sym.imp.MSVCR100.dll_exit]
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x10e2a008], 0x8088405
inc edx
mov dword [ebx + 0x10e2a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
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 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x10e0e54a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10e0e551
ret
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x10e0f8af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0x10e2c54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0x10e2c54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0x10e2b378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10e0f8b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x41b940
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f578b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x6af320]
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 dword [ebp - 0x1dc], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x1d8]
call fcn.005a6e20
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1d8]
push edi
push 0x63894c
push eax
mov dword [ebp - 4], 0
call fcn.005a75f0
add esp, 0xc
mov dword [ebp - 0x150], 0x40
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x144]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x41ba17
cmp ecx, 0x2200
ja 0x41ba17
test eax, eax
jne 0x41ba10
cmp ecx, 0x1c00
ja 0x41ba10
test eax, eax
jne 0x41ba09
cmp ecx, 0xe00
ja 0x41ba09
test eax, eax
jne 0x41ba02
cmp ecx, 0xa00
ja 0x41ba02
mov eax, 0x300
jmp 0x41ba1c
mov eax, 0x400
jmp 0x41ba1c
mov eax, 0x800
jmp 0x41ba1c
mov eax, 0xc00
jmp 0x41ba1c
mov eax, 0x1000
cmp edi, eax
jne 0x41ba92
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x80
push str.recommend_postfix
push 0x80
push eax
push 0
call dword [sym.imp.MSVCR120.dll_mbstowcs_s]
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
call fcn.005aaf90
add esp, 4
test eax, eax
jne 0x41ba86
lea eax, [ebp - 0x110]
push eax
push eax
call fcn.005aa0a0
lea eax, [ebp - 0x110]
push eax
call fcn.005aaf90
add esp, 0xc
push eax
lea ecx, [ebp - 0x1d8]
call fcn.005a7100
mov esi, dword [ebx]
lea ecx, [ebp - 0x1d8]
call fcn.00424550
push eax
mov ecx, ebx
call dword [esi + 0x3c]
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0xd8]
mov eax, dword [ebp - 0x1dc]
lea ecx, [ebx + 0x760]
mov edx, dword [ecx]
push 0
mov eax, dword [eax]
cmp dword [eax + 0x62c], edi
sete al
movzx eax, al
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 4], 0xffffffff
call fcn.005a6ee0
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.005f24e0
mov esp, ebp
pop ebp
ret 8

Function at 0x425f80
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
cmp esi, ebx
je 0x425fcb
jmp 0x425fa0
mov edi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, edi
jle 0x425fcb
add esi, 4
cmp esi, ebx
jne 0x425fa0
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
Function at 0x426b90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6bee
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6af320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00426e90
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00426e90
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x426ca4
test dl, 0x10
jne 0x426ca4
mov eax, 1
jmp 0x426ca6
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.00426d40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x42ced0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x42cf01
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x42cef0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4301a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
cmp eax, 2
je 0x430207
cmp eax, 1
je 0x430207
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x4302a1
cmp ecx, 0x2200
ja 0x4302a1
push eax
push ecx
call fcn.00590190
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x4302a1
cmp ecx, 0x2200
ja 0x4302a1
test eax, eax
jne 0x43028e
cmp ecx, 0x1c00
ja 0x43028e
test eax, eax
jne 0x43027b
cmp ecx, 0xe00
ja 0x43027b
test eax, eax
jne 0x430268
cmp ecx, 0xa00
ja 0x430268
mov eax, 0x300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
mov eax, 0x400
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
mov eax, 0x800
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
mov eax, 0xc00
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x1000
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
Function at 0x43a580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f8158
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6af320]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x6af320]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x1c], 0
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], 0
push 0x63cb94
je 0x43a604
lea ecx, [esp + 0x14]
call fcn.00413780
push eax
push str.channelLastOpenId
mov dword [esp + 0x40], 0
mov ecx, dword [edi + 0x1c]
push esi
call fcn.0042fa20
cmp dword [esp + 0x24], 8
jb 0x43a60b
push dword [esp + 0x10]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x43a60b
mov ecx, esi
call fcn.00413780
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret 4
Function at 0x443120
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8f03
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6af320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push ecx
call fcn.004458f0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov dword [ebp - 0x18], ecx
mov dword [ecx + 0x10], 0
push ecx
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004438f0
mov dword [ebp - 4], 2
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 3
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00445af0
mov ecx, esi
call fcn.00445a70
lea ecx, [esi + 0xc]
call fcn.00445b00
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.004433a0
add esp, 0x30
cmp ebx, eax
je 0x443203
push eax
mov ecx, ebx
call fcn.00445b50
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x44322f
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x44322f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x44322f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4