joyce8/EMBER2024-capa huggingface dataset:
Function at 0x576e44
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.00576504
push 0x41
mov ecx, esi
call fcn.00576504
push 0x59
mov ecx, esi
call fcn.00576504
push 0x26
mov ecx, esi
call fcn.00576504
push 0x53
mov ecx, esi
call fcn.00576504
push 0x59
mov ecx, esi
call fcn.00576504
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
xor edi, edi
xor ebp, ebp
mov bl, byte [ecx]
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x1c]
cmp edi, 4
mov cl, byte [edx + ebp]
mov byte [esp + 0x14], cl
jne 0x576ed4
test cl, cl
jbe 0x576ed0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
and edx, 0xff
and ecx, 0xff
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
mov edi, dword [edi*4 + 0x490de8]
xor eax, edi
dec ecx
jne 0x576eba
xor edi, edi
jmp 0x576f03
cmp bl, cl
jne 0x576edb
inc edi
jmp 0x576ee6
mov bl, cl
mov edi, 1
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and edx, 0xff
xor ecx, edx
shl eax, 8
mov ecx, dword [ecx*4 + 0x490de8]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0x576e92
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.00576544
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.00576644
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x577114
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x8ce0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 8
mov byte [esp + 0x1c], bl
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x8cd4], ebx
mov eax, dword [edx + 0x170]
mov edx, dword [esi]
push edi
push eax
push ecx
push edx
mov ecx, esi
call fcn.00576f44
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x19c], bl
je 0x577190
mov eax, dword [esi + 0x8cd8]
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + 0x178]
shl edx, 9
mov ecx, dword [edx + eax + 0x8cf0]
call fcn.005959d4
mov eax, dword [esi + 0x8cd4]
xor edx, edx
cmp eax, ebx
jbe 0x5771cd
lea edi, [esi + 0x7cd4]
mov eax, dword [esi + 0x8ce0]
add edi, 4
add eax, 0x174
mov ecx, dword [eax]
mov ebp, ecx
add ecx, ecx
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [edi - 4]
xor ebp, ecx
inc edx
mov dword [eax], ebp
mov eax, dword [esi + 0x8cd4]
cmp edx, eax
jb 0x5771a2
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esi + 8]
lea ecx, [eax*8 + 8]
mov eax, dword [esp + 0x20]
sub ecx, eax
push ecx
mov ecx, dword [esi + 0x8ce0]
push edx
call fcn.005772a4
mov eax, dword [esi + 0x8ce0]
cmp byte [eax + 0x19c], bl
je 0x57728b
mov edi, dword [esi + 0x8cd8]
mov ecx, dword [eax + 0x198]
inc edi
cmp edi, ecx
jne 0x577218
xor edi, edi
cmp dword [eax + 0x1b0], ebx
je 0x577268
lea ebx, [eax + 0x140]
mov ecx, ebx
call fcn.0053cdfc
mov ebp, dword [ebx + 0x28]
mov ecx, 0xf
sub ecx, ebp
xor ebx, ebx
shr ecx, 3
add eax, ecx
adc edx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x8ce0]
mov eax, dword [edx + 0x1b0]
lea edx, [esp + 0x10]
push edx
lea edx, [esi + 0x8cf8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x8ce0]
lea ecx, [edi + edi*8]
shl ecx, 3
mov edx, dword [eax + 0x178]
sub ecx, edi
shl ecx, 9
lea ecx, [edx + ecx + 0x8cf0]
call fcn.00595a24
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x581b14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [esi + 4]
mov ebx, dword [esi]
mov eax, ecx
push edi
imul eax, dword [esp + 0x18]
div ebp
xor edx, edx
lea edi, [eax + ebx - 1]
mov eax, ecx
imul eax, dword [esp + 0x14]
div ebp
mov ecx, dword [esi + 8]
mov ebp, 0x10000
sub ecx, eax
add ebx, eax
mov dword [esi + 8], ecx
mov dword [esi], ebx
mov eax, dword [esi]
mov ecx, eax
xor ecx, edi
test ch, 0x80
je 0x581b77
test ah, 0x40
je 0x581be4
test edi, 0x4000
jne 0x581be4
and eax, 0x3fff
or edi, 0x4000
mov dword [esi], eax
mov edx, dword [esi]
and edi, 0x7fff
and edx, 0x7fff
shl edx, 1
mov dword [esi], edx
mov eax, dword [esi + 0x10]
shl edi, 1
or edi, 1
cmp eax, ebp
jb 0x581bc5
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
cmp eax, edx
jb 0x581bad
call fcn.0053bf84
mov byte [esp + 0x18], al
jmp 0x581bb6
mov dl, byte [eax]
inc eax
mov byte [esp + 0x18], dl
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
and eax, 0xff
or ah, 1
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x10]
mov eax, ecx
add ecx, ecx
mov dword [esi + 0x10], ecx
mov edx, dword [esi + 8]
shr eax, 7
and eax, 1
shl edx, 1
or edx, eax
mov dword [esi + 8], edx
jmp 0x581b4e
sub edi, dword [esi]
inc edi
mov dword [esi + 4], edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x584bd4
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x18], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x1c], eax
ret
Function at 0x585e44
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
sub esp, 0xa8
and eax, 0xff
mov dl, al
push ebx
mov dh, dl
push esi
mov eax, edx
mov esi, ecx
shl eax, 0x10
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
mov ax, dx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
xor ecx, ecx
sub esi, eax
mov bl, byte [esp + ecx + 0xc]
lea eax, [esp + ecx + 0xc]
mov dl, byte [esi + eax]
xor bl, dl
inc ecx
cmp ecx, 0x14
mov byte [eax], bl
jb 0x585e75
lea ecx, [esp + 0x4c]
call fcn.00584bd4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x4c]
push 0x40
push eax
mov dword [esp + 0x74], 0
call fcn.005853e4
mov ecx, dword [esp + 0xb8]
push ecx
lea ecx, [esp + 0x50]
call fcn.00585484
pop edi
pop esi
pop ebx
add esp, 0xa8
ret 4

Function at 0x587d84
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x2c], 0x20
mov dword [ecx + 0x54], 1
mov dword [ecx + 0x48], 4
mov dword [ecx + 0x58], edx
lea esi, [ecx + 0x70]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x587dab
pop esi
ret

Function at 0x58dab4
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x58dac4
pop edi
pop ebx
ret

Function at 0x58daf4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, pe_nt_image_headers32
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x58db04
pop esi
pop ebp
pop ebx
ret 4
Function at 0x58dda4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [esp], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
push ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
xor edx, edx
push edi
cmp edx, dword [esp + 0x1c]
jae 0x58df15
mov eax, edx
or eax, 8
xor edi, edi
cmp eax, 1
je 0x58de2e
lea ebx, [ebx]
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 4]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x58de04
add edi, dword [esp + 8]
mov ecx, dword [esp + 0x20]
mov dword [ecx + edx*4], edi
inc edx
cmp edx, 8
jb 0x58dde8
cmp edx, 0x10
jae 0x58deaf
lea eax, [edx - 8]
mov dword [esp + 8], eax
jmp 0x58de54
cmp edx, dword [esp + 0x1c]
jae 0x58df15
or eax, 8
xor edi, edi
cmp eax, 1
je 0x58de95
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 0x104]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x58de68
add edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 8], eax
cmp edx, 0x10
jb 0x58de54
cmp edx, dword [esp + 0x1c]
jae 0x58df15
lea eax, [edx - 0x10]
mov dword [esp + 0x18], eax
jmp 0x58dec4
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x58defa
lea esp, [esp]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x58ded4
add edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 0x18], eax
cmp edx, dword [esp + 0x1c]
jb 0x58dec4
pop edi
pop ebp
add esp, 0xc
ret 0xc
Function at 0x58fa44
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x32550]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x58fa64
xor edx, edx
lea ecx, [edx + 1]
mov dword [esp + 0xc], 4
lea ecx, [ecx]
movzx ebx, word [edi + ecx*2 + 0x32bf4]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30ea0]
add ecx, ecx
shr esi, 1
or ecx, eax
dec dword [esp + 0xc]
jne 0x58fa74
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc esi
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
cmp esi, 0x10
jb 0x58fa64
pop esi
pop ebp
mov dword [edi + 0x32590], 0
pop ebx
add esp, 0xc
ret
Function at 0x58fad4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
mov eax, 4
push edi
mov dword [esp + 0x18], eax
movzx ebp, byte [edx + eax + 0x306a0]
mov ecx, ebp
mov esi, ebp
and esi, 1
shr ecx, 1
dec ecx
or esi, 2
shl esi, cl
mov edi, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], 0
sub edi, esi
mov ebx, 1
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x58fb65
jmp 0x58fb28
mov ebp, dword [esp + 0x1c]
mov ecx, ebx
sub ecx, ebp
mov eax, edi
and eax, 1
add ecx, esi
movzx ecx, word [edx + ecx*2 + 0x32b0e]
mov ebp, eax
neg ebp
sar ebp, 4
shr ecx, 4
and ebp, 0x7f
xor ecx, ebp
mov ecx, dword [edx + ecx*4 + 0x30ea0]
add dword [esp + 0x10], ecx
add ebx, ebx
shr edi, 1
or ebx, eax
dec dword [esp + 0x14]
jne 0x58fb24
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x20], ecx
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x80
jb 0x58fae7
lea eax, [edx + 0x32910]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
sub eax, edx
lea ebp, [edx + 0x31d58]
sub eax, 0x31d50
lea edi, [edx + 0x31950]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 4
lea ebx, [ebx]
xor ebx, ebx
cmp dword [edx + 0x32594], ebx
jbe 0x58fc0f
lea ebx, [ebx]
mov eax, ebx
or eax, 0x40
xor esi, esi
cmp eax, 1
je 0x58fc03
lea esp, [esp]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add esi, dword [edx + ebp*4 + 0x30ea0]
mov eax, ecx
cmp eax, 1
jne 0x58fbd4
mov ebp, dword [esp + 0x18]
mov dword [edi + ebx*4], esi
inc ebx
cmp ebx, dword [edx + 0x32594]
jb 0x58fbc4
mov eax, 0xe
cmp dword [edx + 0x32594], eax
jbe 0x58fc32
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 4
add dword [edi + eax*4], ecx
inc eax
cmp eax, dword [edx + 0x32594]
jb 0x58fc1c
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov ecx, dword [edi + 4]
mov dword [ebp - 4], ecx
mov eax, dword [edi + 8]
mov dword [ebp], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp + 4], ecx
mov eax, 4
lea ecx, [ebp + 8]
lea ecx, [ecx]
movzx esi, byte [edx + eax + 0x306a0]
mov esi, dword [edi + esi*4]
mov ebx, dword [esp + 0x14]
add esi, dword [ebx + ecx]
inc eax
mov dword [ecx], esi
add ecx, 4
cmp eax, 0x80
jb 0x58fc54
sub dword [esp + 0x10], 0xffffff80
sub dword [esp + 0x14], 0x200
add ebp, 0x200
add edi, 0x100
dec dword [esp + 0x1c]
mov dword [esp + 0x18], ebp
jne 0x58fbb4
pop edi
pop esi
pop ebp
mov dword [edx + 0x3bcf8], 0
pop ebx
add esp, 0x210
ret

Function at 0x5950f4
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret
Function at 0x5959e4
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.0059ac1c
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x595a0c
xor eax, eax
ret 4
call dword [fcn.0047a048]
test eax, eax
jne 0x595a1b
mov eax, 1
ret 4

Function at 0x595ef4
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
test edx, edx
je 0x595f2f
push esi
push edi
mov edi, dword [esp + 0x10]
mov edi, edi
movzx esi, byte [ecx]
xor esi, eax
shrd eax, edi, 8
and esi, 0xff
xor eax, dword [esi*8 + 0x495a20]
shr edi, 8
xor edi, dword [esi*8 + 0x495a24]
inc ecx
dec edx
jne 0x595f04
mov edx, edi
pop edi
pop esi
ret 8
mov edx, dword [esp + 8]
ret 8
Function at 0x5d66f4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], edx
push 0x1003cb00
push esi
mov dword [esp + 0x1c], esi
xor edi, edi
call fcn.005f5751
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x5d6772
mov ecx, esi
call fcn.005d6474
mov dword [esp + 0xc], eax
mov esi, edx
inc eax
push 1
push eax
call fcn.005f5620
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, dword [esp + 0xc]
test esi, esi
jne 0x5d674d
test eax, eax
je 0x5d675f
push ebx
push eax
push 1
push ecx
call fcn.005f5b3a
add esp, 0x10
mov edi, 1
push ebx
call fcn.005f5cc4
add esp, 4
push dword [esp + 0x14]
call dword [0x10037070]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5d7a74
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x44
push 1
mov dword [ebp - 4], edx
mov esi, ecx
call dword [0x10043438]
mov edi, eax
add esp, 8
mov dword [esi + 0x3b8], edi
mov ebx, 8
test edi, edi
je 0x5d7b48
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push ecx
mov dword [esi + 0x3a8], ecx
push ecx
mov dword [esi + 0x3b0], 0
lea ecx, [edi + 0xc]
mov dword [esi + 0x3b4], 0
mov dword [esi + 0x3ac], 0
mov dword [edi], 0
call fcn.005d78a4
add esp, 8
test eax, eax
je 0x5d7b48
mov eax, dword [esi + 0x3a4]
test eax, eax
je 0x5d7b01
push eax
call dword [0x1004343c]
add esp, 4
mov dword [esi + 0x3a4], 0
push dword [ebp - 4]
call dword [0x10043434]
add esp, 4
mov dword [esi + 0x3a4], eax
test eax, eax
je 0x5d7b48
push 0
push 0
lea eax, [edi + 0xc]
push eax
push 0x10002a30
push 0
push 0
call fcn.005f7737
add esp, 0x18
test eax, eax
je 0x5d7b39
cmp eax, 0xffffffff
jne 0x5d7b3b
xor eax, eax
mov dword [edi], eax
test eax, eax
jne 0x5d7b63
call fcn.005f5dc0
mov ebx, dword [eax]
lea ecx, [esi + 0x3a4]
call fcn.005d79d4
push ebx
call dword [0x10037080]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5dc574
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x5dc59f
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x5dc592
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 8]
push 1
push edi
call ecx
jmp 0x5dc5d1
cmp dword [esi + 8], 0
jne 0x5dc5c3
push 0x1003d878
push dword [eax + 8]
call fcn.005f709c
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x5dc5c3
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 8]
push 1
push edi
call fcn.005f5b3a
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x5dc5f3
mov eax, dword [esi + 8]
test eax, eax
je 0x5dc5ed
push eax
call fcn.005f5cc4
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x5ea104
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x10042408]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x5ea1fa
cmp dword [edi + 0x31c], 0
je 0x5ea1fa
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x81c], eax
lea ecx, [ebp - 0x81c]
lea eax, [ebp + 0x10]
mov dword [ebp - 0x814], 0x801
push eax
push dword [ebp + 0xc]
mov edx, 0x1000ff40
call fcn.005e4464
mov eax, dword [ebp - 0x814]
add esp, 8
test eax, eax
je 0x5ea18c
cmp eax, dword [ebp - 0x818]
mov eax, dword [ebp - 0x81c]
jne 0x5ea189
mov byte [eax - 1], 0
jmp 0x5ea18c
mov byte [eax], 0
lea esi, [ebp - 0x810]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5ea195
mov eax, dword [edi + 0x1a0]
sub esi, ecx
test eax, eax
je 0x5ea1ce
push dword [edi + 0x12c]
lea ecx, [ebp - 0x810]
push esi
push ecx
push 0
push edi
call eax
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f4f86
mov esp, ebp
pop ebp
ret
push dword [edi + 0x128]
push 1
push 2
push 0x1003d07c
call fcn.005f85f1
push dword [edi + 0x128]
lea eax, [ebp - 0x810]
push 1
push esi
push eax
call fcn.005f85f1
add esp, 0x20
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005f4f86
mov esp, ebp
pop ebp
ret

Function at 0x5ea214
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov edx, 0x1000ff40
mov dword [ebp - 8], 0
lea ebx, [edi + 0x59c]
mov dword [ebp - 4], 0x4000
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
call fcn.005e4464
mov eax, dword [ebp - 4]
add esp, 8
test eax, eax
je 0x5ea266
cmp eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jne 0x5ea263
mov byte [eax - 1], 0
jmp 0x5ea266
mov byte [eax], 0
mov eax, dword [edi + 0x130]
test eax, eax
je 0x5ea297
cmp dword [edi + 0x85c8], 0
jne 0x5ea297
push ebx
push 0x1003ec50
push pe_nt_image_headers32
push eax
call fcn.005e4e84
add esp, 0x10
mov dword [edi + 0x85c8], 1
cmp dword [edi + 0x31c], 0
je 0x5ea30d
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5ea2a5
sub esi, ecx
cmp esi, 0x3fff
jae 0x5ea2c6
mov byte [edi + esi + 0x59c], 0xa
inc esi
mov byte [edi + esi + 0x59c], al
mov eax, dword [edi + 0x1a0]
test eax, eax
je 0x5ea2e7
push dword [edi + 0x12c]
push esi
push ebx
push 0
push edi
call eax
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x128]
push 1
push 2
push 0x1003d07c
call fcn.005f85f1
push dword [edi + 0x128]
push 1
push esi
push ebx
call fcn.005f85f1
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ea754
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x5ea77a
push dword [esi + 0x12c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push esi
call eax
add esp, 0x14
pop esi
pop ebp
ret
cmp edx, 2
ja 0x5ea7ae
push dword [esi + 0x128]
lea eax, [edx*2 + 0x1003d07c]
push 1
add eax, edx
push 2
push eax
call fcn.005f85f1
push dword [esi + 0x128]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005f85f1
add esp, 0x20
xor eax, eax
pop esi
pop ebp
ret

Function at 0x5ea7b4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x10042408]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, edx
cmp dword [esi + 0x2d0], 0
je 0x5ea85b
test eax, eax
je 0x5ea85b
mov edx, dword [eax + 0x84]
test edx, edx
je 0x5ea85b
lea ecx, [edi - 1]
mov eax, 0x1003ecb8
cmp ecx, 3
ja 0x5ea85b
jmp dword [ecx*4 + 0x100159b8]
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x5ea887
push dword [esi + 0x12c]
push dword [ebp + 0xc]
push ebx
push edi
push esi
call eax
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005f4f86
mov esp, ebp
pop ebp
ret
cmp edi, 2
ja 0x5ea8b9
push dword [esi + 0x128]
lea eax, [edi*2 + 0x1003d07c]
push 1
add eax, edi
push 2
push eax
call fcn.005f85f1
push dword [esi + 0x128]
push 1
push dword [ebp + 0xc]
push ebx
call fcn.005f85f1
add esp, 0x20
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005f4f86
mov esp, ebp
pop ebp
ret
Function at 0x61d2f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100309e2
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1003e5bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0062f7d8
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x61d3b6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x10039e50
push eax
lea ecx, [ebp - 0x24]
call fcn.006307ab
mov byte [ebp - 4], 7
mov dword [ebp - 0x24], 0x10033e58
mov byte [ebp - 4], 6
lea eax, [ebp - 0x24]
push 0x1003d2ec
push eax
call fcn.0063394c
push edi
push esi
call fcn.0062e777
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0062fc5c
mov esp, ebp
pop ebp
ret 4