joyce8/EMBER2024-capa huggingface dataset:
Function at 0x584cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x666650
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x704e7c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
push 0xa
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
call fcn.00493ab0
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x584d4c
call fcn.006111cc
mov ebx, dword [edi]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 0x10]
jbe 0x584d63
call fcn.006111cc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push esi
push ebx
push edi
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0044fe80
xor ebx, ebx
mov eax, ebp
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x584d90
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x48]
call fcn.00416f50
mov dword [esp + 0x68], ebx
xor edi, edi
lea ebx, [ebx]
mov ebp, dword [esp + 0x18]
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x584dc0
sub eax, edx
push eax
push edi
push ebp
lea ecx, [esp + 0x4c]
call fcn.00495260
mov esi, eax
cmp esi, ebx
jl 0x584eb9
cmp esi, dword [esp + 0x54]
jbe 0x584dea
call fcn.006111cc
mov eax, dword [esp + 0x44]
mov edi, 0x10
cmp dword [esp + 0x58], edi
jae 0x584dfd
lea eax, [esp + 0x44]
cmp byte [eax + esi], 0x22
jne 0x584e22
push 1
inc esi
push esi
push 0x6b1570
lea ecx, [esp + 0x4c]
call fcn.00449710
cmp eax, ebx
jl 0x584ed1
lea edi, [eax + 1]
jmp 0x584e3e
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x584e27
sub eax, edx
push eax
push esi
push ebp
lea ecx, [esp + 0x4c]
call fcn.00449710
mov edi, eax
sub eax, esi
push eax
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
call fcn.00493a60
mov ecx, dword [esp + 0x14]
push eax
mov byte [esp + 0x6c], 1
call fcn.0044f650
mov esi, 0x10
mov byte [esp + 0x68], bl
cmp dword [esp + 0x3c], esi
jb 0x584e7b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00610458
add esp, 4
cmp edi, dword [esp + 0x54]
jb 0x584db0
cmp dword [esp + 0x58], esi
jb 0x584e98
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00610458
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.006108ae
add esp, 0x58
ret
cmp dword [esp + 0x58], 0x10
jb 0x584ecd
mov edx, dword [esp + 0x44]
push edx
call fcn.00610458
add esp, 4
xor al, al
jmp 0x584e9a
cmp dword [esp + 0x58], edi
jb 0x584ecd
mov eax, dword [esp + 0x44]
push eax
call fcn.00610458
add esp, 4
xor al, al
jmp 0x584e9a
Function at 0x585970
Capabilities:
Get system information on windows
Print debug messages
Read file via mapping

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x24
push esi
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x130], ecx
test eax, eax
jne 0x58598e
mov eax, dword [esi + 0x114]
mov edx, eax
add edx, ecx
mov dword [esi + 0x134], eax
cmp edx, dword [esi + 0x114]
jbe 0x5859a9
xor eax, eax
pop esi
add esp, 0x24
ret 0xc
push ebx
push ebp
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esi + 0x130]
mov edi, dword [esp + 0x2c]
mov eax, ecx
xor edx, edx
div edi
push 0
imul eax, edi
mov ebx, eax
mov eax, dword [esi + 0x134]
mov edi, ecx
add ecx, eax
push ecx
mov ecx, dword [esi + 0x110]
push 0
push 2
push 0
push ecx
lea ebp, [eax + edx]
sub edi, ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 0x12c], eax
test eax, eax
jne 0x585a12
push str.CMappedFile::Map__m_hFM_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x24
ret 0xc
push ebp
push ebx
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x585a49
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CMappedFile::Map__m_lpMapData__lu
call fcn.00584480
add esp, 8
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x24
ret 0xc
mov edx, dword [esp + 0x38]
add eax, edi
mov dword [esi + 0x13c], eax
mov dword [edx], eax
mov eax, dword [esi + 0x13c]
mov ecx, dword [esi + 0x134]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x128], 0
call fcn.00585870
mov eax, dword [esi + 0x134]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x24
ret 0xc
Function at 0x586560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x666650
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x704e7c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ebp, ecx
push 0xa
mov ecx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
call fcn.00493ab0
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x5865ba
call fcn.006111cc
mov ebx, dword [edi]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 0x10]
jbe 0x5865d1
call fcn.006111cc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push esi
push ebx
push edi
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0044fe80
xor esi, esi
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], esi
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x70]
push eax
mov ecx, ebp
mov dword [esp + 0x6c], esi
call fcn.005863d0
mov edi, eax
xor ebp, ebp
jmp 0x586610
mov ebx, dword [esp + 0x18]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x586620
sub eax, edx
push eax
push ebp
push ebx
mov ecx, edi
call fcn.00495260
mov esi, eax
test esi, esi
jl 0x58672d
cmp esi, dword [edi + 0x14]
jbe 0x586647
call fcn.006111cc
mov ebp, 0x10
cmp dword [edi + 0x18], ebp
jb 0x586656
mov eax, dword [edi + 4]
jmp 0x586659
lea eax, [edi + 4]
cmp byte [eax + esi], 0x22
jne 0x58667c
push 1
inc esi
push esi
push 0x6b1570
mov ecx, edi
call fcn.00449710
test eax, eax
jl 0x586746
lea ebp, [eax + 1]
jmp 0x586696
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x586681
sub eax, edx
push eax
push esi
push ebx
mov ecx, edi
call fcn.00449710
mov ebp, eax
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.00493a60
mov ecx, dword [esp + 0x14]
push eax
mov byte [esp + 0x6c], 1
call fcn.0044f650
mov esi, 0x10
mov byte [esp + 0x68], 0
cmp dword [esp + 0x3c], esi
jb 0x5866d2
mov edx, dword [esp + 0x28]
push edx
call fcn.00610458
add esp, 4
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5866d7
sub eax, edx
push eax
push ebp
push ebx
mov ecx, edi
call fcn.00495260
test eax, eax
jl 0x5866f7
cmp ebp, dword [edi + 0x14]
jb 0x586610
cmp dword [esp + 0x58], esi
jb 0x58670a
mov edx, dword [esp + 0x44]
push edx
call fcn.00610458
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.006108ae
add esp, 0x58
ret 0xc
cmp dword [esp + 0x58], 0x10
jb 0x586741
mov eax, dword [esp + 0x44]
push eax
call fcn.00610458
add esp, 4
or eax, 0xffffffff
jmp 0x58670c
cmp dword [esp + 0x58], ebp
jb 0x586759
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00610458
add esp, 4
mov eax, 0xfffffffe
jmp 0x58670c
Function at 0x586760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x666650
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x704e7c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ebp, ecx
push 0xa
mov ecx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
call fcn.00493ab0
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x5867ba
call fcn.006111cc
mov ebx, dword [edi]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 0x10]
jbe 0x5867d1
call fcn.006111cc
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push esi
push ebx
push edi
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0044fe80
xor esi, esi
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], esi
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x70]
push eax
mov ecx, ebp
mov dword [esp + 0x6c], esi
call fcn.005863d0
mov edi, eax
xor ebp, ebp
jmp 0x586810
mov ebx, dword [esp + 0x18]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x586820
sub eax, edx
push eax
push ebp
push ebx
mov ecx, edi
call fcn.00495260
mov esi, eax
test esi, esi
jl 0x58692d
cmp esi, dword [edi + 0x14]
jbe 0x586847
call fcn.006111cc
mov ebp, 0x10
cmp dword [edi + 0x18], ebp
jb 0x586856
mov eax, dword [edi + 4]
jmp 0x586859
lea eax, [edi + 4]
cmp byte [eax + esi], 0x22
jne 0x58687c
push 1
inc esi
push esi
push 0x6b1570
mov ecx, edi
call fcn.00449710
test eax, eax
jl 0x586945
lea ebp, [eax + 1]
jmp 0x586896
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x586881
sub eax, edx
push eax
push esi
push ebx
mov ecx, edi
call fcn.00449710
mov ebp, eax
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.00493a60
mov ecx, dword [esp + 0x14]
push eax
mov byte [esp + 0x6c], 1
call fcn.0044f650
mov esi, 0x10
mov byte [esp + 0x68], 0
cmp dword [esp + 0x3c], esi
jb 0x5868d2
mov edx, dword [esp + 0x28]
push edx
call fcn.00610458
add esp, 4
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5868d7
sub eax, edx
push eax
push ebp
push ebx
mov ecx, edi
call fcn.00495260
test eax, eax
jl 0x5868f7
cmp ebp, dword [edi + 0x14]
jb 0x586810
cmp dword [esp + 0x58], esi
jb 0x58690a
mov edx, dword [esp + 0x44]
push edx
call fcn.00610458
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.006108ae
add esp, 0x58
ret 0xc
cmp dword [esp + 0x58], 0x10
jb 0x586941
mov eax, dword [esp + 0x44]
push eax
call fcn.00610458
add esp, 4
xor al, al
jmp 0x58690c
cmp dword [esp + 0x58], ebp
jb 0x586941
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00610458
add esp, 4
xor al, al
jmp 0x58690c
Function at 0x5892d0
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor eax, eax
mov esi, 0x20
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
add ebx, edx
mov ebp, eax
and ebp, 3
mov ebp, dword [edi + ebp*4]
add ebp, eax
xor ebx, ebp
add ecx, ebx
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
sub eax, 0x61c88647
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword [edi + ebp*4]
add ebx, ecx
add ebp, eax
xor ebx, ebp
dec esi
add edx, ebx
test esi, esi
ja 0x5892e7
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
ret

Function at 0x589340
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, 0xc6ef3720
mov esi, 0x20
lea ebx, [ebx]
mov ebx, edx
shr ebx, 5
mov ebp, edx
shl ebp, 4
xor ebx, ebp
mov ebp, eax
shr ebp, 0xb
and ebp, 3
mov ebp, dword [edi + ebp*4]
add ebp, eax
add ebx, edx
xor ebx, ebp
sub ecx, ebx
mov ebx, ecx
shr ebx, 5
mov ebp, ecx
shl ebp, 4
xor ebx, ebp
add eax, 0x61c88647
mov ebp, eax
and ebp, 3
mov ebp, dword [edi + ebp*4]
add ebx, ecx
add ebp, eax
xor ebx, ebp
dec esi
sub edx, ebx
test esi, esi
ja 0x589360
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov dword [eax + 4], ecx
pop ebx
ret
Function at 0x589490
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
or eax, 0xffffffff
push esi
cmp edx, 0x10
jb 0x589613
movsx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 2]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 3]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 4]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 5]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 6]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 7]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 8]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 9]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 0xa]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 0xb]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 0xc]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 0xd]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 0xe]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
movsx esi, byte [ecx + 0xf]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
add ecx, 0x10
sub edx, 0x10
cmp edx, 0x10
jae 0x5894a5
test edx, edx
je 0x58963b
jmp 0x589620
movsx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6ec9b0]
inc ecx
sub edx, 1
jne 0x589620
not eax
pop esi
ret
Function at 0x589940
Capabilities:
Get file size
Get system information on windows
Read file via mapping

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
push edi
xor ebp, ebp
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [esp + 0x2c]
push ebp
push esi
push ebp
push 2
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x5899ba
xor eax, eax
xor edx, edx
div edi
imul eax, edi
add edx, esi
push edx
push eax
push ebp
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
push esi
push edi
call fcn.00589490
add esp, 8
mov esi, eax
test edi, edi
je 0x5899a9
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x24
ret

Function at 0x589a20
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x589a49
xor eax, eax
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x589e20
Capabilities:
Get file size

Disassembly:
push ebp
push esi
push edi
mov esi, ecx
call fcn.00589e00
mov ebp, dword [esp + 0x10]
push 0x104
lea eax, [esi + 8]
push ebp
push eax
call fcn.00613220
mov edi, dword [esp + 0x20]
add esp, 0xc
mov eax, 1
cmp edi, 2
jne 0x589e58
mov ecx, 0xc0000000
lea eax, [edi + 1]
jmp 0x589e5d
mov ecx, connect
xor edx, edx
cmp edi, 1
setne dl
push 0
push 0x80
add edx, 3
push edx
push 0
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x110], eax
cmp eax, 0xffffffff
je 0x589ea3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 4], edi
pop edi
mov dword [esi + 0x114], eax
pop esi
mov eax, 1
pop ebp
ret 8
pop edi
mov dword [esi + 0x110], 0
pop esi
xor eax, eax
pop ebp
ret 8
Function at 0x58c350
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x666dd3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.0058ba40
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0041fe50
lea ecx, [edi + 4]
mov dword [esi], 0x68c79c
mov dword [esi + 4], 0x68c75c
mov dword [esi + 0x18], 0x68c728
mov dword [esi + 0x28], 0x68c6f8
mov dword [esi + 8], edi
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 0
mov byte [esp + 0x40], 1
call edx
push eax
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
call fcn.00401ef0
push 1
push eax
lea ecx, [esp + 0x18]
push 0x6b099c
push ecx
mov byte [esp + 0x4c], 2
call fcn.004145e0
add esp, 0x10
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x48], 3
call fcn.004176e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 2
call fcn.00589f70
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, edi
xor al, al
push edx
mov byte [esp + 0x40], 1
rep stosb byte es:[edi], al
call fcn.00419910
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 0xc

Function at 0x58c870
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x666ba3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.0058add0
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0041fe50
lea ecx, [edi + 4]
mov dword [esi], 0x68c98c
mov dword [esi + 4], 0x68c94c
mov dword [esi + 0x18], 0x68c918
mov dword [esi + 0x28], 0x68c8e8
mov dword [esi + 8], edi
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 0
mov byte [esp + 0x40], 1
call edx
push eax
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
call fcn.00401ef0
push 1
push eax
lea ecx, [esp + 0x18]
push 0x6b099c
push ecx
mov byte [esp + 0x4c], 2
call fcn.004145e0
add esp, 0x10
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x48], 3
call fcn.004176e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 2
call fcn.00589f70
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, edi
xor al, al
push edx
mov byte [esp + 0x40], 1
rep stosb byte es:[edi], al
call fcn.00419910
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 0xc
Function at 0x58ce60
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x666c83
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebp
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 0x40]
lea ebp, [edi + 4]
push 1
mov ecx, ebp
call fcn.004176a0
lea eax, [edi + 0x18]
mov dword [eax + 0x188], 0x60
mov byte [eax + 0x181], 1
mov dword [eax + 0x18c], eax
mov dword [edi], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::CAST256::Base_.0
mov dword [ebp], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::CAST256::Base_.1.0
mov ecx, esi
mov dword [esp + 0x40], 0
call fcn.0041fe50
lea ecx, [edi + 4]
mov dword [esi], 0x68cb7c
mov dword [esi + 4], 0x68cb3c
mov dword [esi + 0x18], 0x68cb08
mov dword [esi + 0x28], 0x68cad8
mov dword [esi + 8], edi
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 0
mov byte [esp + 0x44], 1
call edx
push eax
mov eax, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x2c]
call fcn.00401ef0
push 1
push eax
lea ecx, [esp + 0x1c]
push 0x6b099c
push ecx
mov byte [esp + 0x50], 2
call fcn.004145e0
add esp, 0x10
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x4c], 3
call fcn.004176e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 2
call fcn.00589f70
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, edi
xor al, al
push edx
mov byte [esp + 0x44], 1
rep stosb byte es:[edi], al
call fcn.00419910
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 0xc

Function at 0x58d460
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x666d63
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.0058a490
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0041fe50
lea ecx, [edi + 4]
mov dword [esi], 0x68cd6c
mov dword [esi + 4], 0x68cd2c
mov dword [esi + 0x18], 0x68ccf8
mov dword [esi + 0x28], 0x68ccc8
mov dword [esi + 8], edi
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 0
mov byte [esp + 0x40], 1
call edx
push eax
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x28]
call fcn.00401ef0
push 1
push eax
lea ecx, [esp + 0x18]
push 0x6b099c
push ecx
mov byte [esp + 0x4c], 2
call fcn.004145e0
add esp, 0x10
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x48], 3
call fcn.004176e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 2
call fcn.00589f70
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, edi
xor al, al
push edx
mov byte [esp + 0x40], 1
rep stosb byte es:[edi], al
call fcn.00419910
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x34
ret 0xc