joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5242c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
push esi
xor esi, esi
test ecx, ecx
je 0x5243c1
mov eax, dword [ebp + 8]
mov edx, 1
push ebx
mov ebx, dword [ebp + 0x10]
sub edx, eax
dec ecx
mov dword [ebp - 0x10], edx
push edi
lea edi, [eax + 1]
mov dword [ebp - 4], 1
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edx
shr ecx, 1
inc ecx
mov dword [ebp - 0xc], ecx
movzx eax, byte [edi - 1]
mov ecx, dword [ebp + 0xc]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + ebx], al
lea eax, [esi + 2]
mov dl, byte [edi - 1]
and dl, 3
shl dl, 4
cmp dword [ebp - 4], ecx
jae 0x524395
movzx ecx, byte [edi]
shr cl, 4
add cl, dl
movzx ecx, cl
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + ebx + 1], cl
lea ecx, [eax + ebx]
mov dh, byte [edi]
inc eax
mov dword [ebp - 8], ecx
and dh, 0xf
mov ecx, dword [ebp - 0x10]
add ecx, edi
shl dh, 2
cmp ecx, dword [ebp + 0xc]
jae 0x524380
mov dl, byte [edi + 1]
mov ebx, dword [ebp - 8]
mov cl, dl
shr cl, 6
add cl, dh
movzx ecx, cl
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx], cl
mov ebx, dword [ebp + 0x10]
movzx ecx, dl
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx], cl
jmp 0x5243ab
movzx ecx, dh
mov edx, dword [ebp - 8]
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], cl
mov cl, 0x3d
mov byte [eax + ebx], cl
jmp 0x5243ab
movzx ecx, dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + ebx + 1], cl
mov byte [eax + ebx], 0x3d
inc eax
mov byte [eax + ebx], 0x3d
add dword [ebp - 4], 3
lea esi, [eax + 1]
add edi, 3
sub dword [ebp - 0xc], 1
jne 0x524300
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x524a10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], eax
push ebx
push esi
push edi
test ecx, ecx
jne 0x524a4d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x524a44
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0x54], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xbc], 0x67452301
mov dword [ebp - 0xb8], 0xefcdab89
mov dword [ebp - 0xb4], 0x98badcfe
mov dword [ebp - 0xb0], 0x10325476
call fcn.00525380
cmp byte [ebp - 0x54], 0
jne 0x524bd3
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xc]
mov ebx, dword [ebp - 0xbc]
lea esi, [ebp - 0xac]
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 0x54], 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc0], eax
jmp 0x524b00
mov ecx, dword [esi]
lea esi, [esi + 4]
mov byte [edx], cl
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edx + 2], al
lea eax, [ebp - 4]
mov byte [edx + 3], cl
add edx, 4
cmp edx, eax
jb 0x524b00
mov edx, edi
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0xbc]
push eax
push 0x5d3990
call fcn.00525380
push 8
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00525380
lea edx, [ebp - 0x64]
lea esi, [ebp - 0xbc]
mov edi, edi
mov ecx, dword [esi]
lea esi, [esi + 4]
mov byte [edx], cl
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edx + 2], al
lea eax, [ebp - 0x54]
mov byte [edx + 3], cl
add edx, 4
cmp edx, eax
jb 0x524b70
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], eax
push 0x42
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea ebx, [ebp - 0x50]
xor edi, edi
xor esi, esi
lea ebx, [ebx]
movzx eax, byte [ebp + edi - 0x64]
push eax
push 0x5d3984
mov eax, 0x21
push 2
sub eax, esi
push eax
push ebx
call fcn.0051a890
add esi, 2
lea edi, [edi + 1]
add esp, 0x14
add ebx, 4
cmp esi, 0x20
jl 0x524bf0
mov ebx, dword [ebp - 0xd0]
lea ecx, [ebp - 0x50]
xor eax, eax
lea edx, [ecx + 2]
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x524c41
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.0042e2d0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00557e89
mov esp, ebp
pop ebp
ret
Function at 0x528d20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x63e4d0], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x38], ebx
je 0x528d87
mov ecx, 0x63e4d0
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x528d60
sub ecx, edx
push ecx
push 0x63e4d0
mov ecx, ebx
call fcn.004385d0
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
push 0
push 0x63e4d0
push 0x529a10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push 0xbb8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x528df2
mov ecx, 0x63e4d0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x528dd1
sub ecx, edx
push ecx
push 0x63e4d0
lea ecx, [ebp - 0x1c]
call fcn.004385d0
xor edx, edx
lea ecx, [ebp - 0x1c]
lea esi, [edx + 2]
jmp 0x528e11
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov edx, 4
mov dword [ebp - 0x20], 0xf
xor esi, esi
mov eax, dword [ecx]
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 8]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
test edx, edx
je 0x528e8c
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x528e8c
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x528e82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x528ed3
push edx
push ecx
call fcn.00558004
add esp, 8
pop edi
test esi, esi
pop esi
je 0x528ec2
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x528ec2
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x528eb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x528ed3
push edx
push ecx
call fcn.00558004
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00557e89
mov esp, ebp
pop ebp
ret
call fcn.00566a14
int3
Function at 0x5297f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
push esi
cmp eax, 0xffffffff
jne 0x529830
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x52985b
lea eax, [ebp - 4]
push eax
push 0x20219
push 0
push esi
jmp 0x52983f
lea ecx, [ebp - 4]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x52985b
jle 0x5298a6
movzx eax, ax
or eax, 0x80070000
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
add eax, eax
mov dword [ebp - 8], 0
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x5298a4
jle 0x52989d
movzx esi, si
or esi, 0x80070000
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x52b910
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, 0xaaaaaaab
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ecx*4 + 2]
mul ecx
mov ebx, dword [edi + 4]
mov ecx, ebx
mov esi, edx
mov edx, dword [edi]
shr esi, 1
sub ecx, edx
cmp esi, ecx
jae 0x52b940
lea eax, [edx + esi]
jmp 0x52b96a
jbe 0x52b96d
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x52b959
lea eax, [ebp + 0x13]
mov ecx, edi
push eax
push esi
call fcn.0051d0f0
jmp 0x52b96d
sub esi, ecx
push esi
push 0
push ebx
call fcn.0055c530
add esp, 0xc
lea eax, [esi + ebx]
mov dword [edi + 4], eax
mov edx, dword [edi]
mov esi, 8
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add ecx, edi
mov dword [ebp + 0x10], edx
mov dword [ebp + 0xc], ecx
mov bl, byte [edi]
cmp edi, ecx
jae 0x52ba01
mov al, bl
cmp esi, 6
jbe 0x52b999
and al, 0x3f
shr bl, 6
sub esi, 6
jmp 0x52b9cd
inc edi
cmp edi, ecx
jae 0x52b9a2
mov bl, byte [edi]
jmp 0x52b9a4
xor bl, bl
mov ecx, 6
sub ecx, esi
mov dword [ebp + 8], ecx
je 0x52b9c7
mov dl, byte [ecx*4 + 0x5d3e14]
mov ecx, esi
and dl, bl
shl dl, cl
mov cl, byte [ebp + 8]
or al, dl
mov edx, dword [ebp + 0x10]
shr bl, cl
mov ecx, dword [ebp + 0xc]
add esi, 2
cmp al, 0xa
jae 0x52b9d5
add al, 0x30
jmp 0x52b9f7
cmp al, 0x24
jae 0x52b9dd
add al, 0x37
jmp 0x52b9f7
cmp al, 0x3e
jae 0x52b9e5
add al, 0x3d
jmp 0x52b9f7
mov eax, 0x2d
mov ecx, 0x5f
cmove ecx, eax
mov al, cl
mov ecx, dword [ebp + 0xc]
mov byte [edx], al
inc edx
mov dword [ebp + 0x10], edx
cmp edi, ecx
jb 0x52b988
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x52c3c0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac4b0
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x63434c]
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 - 0x214], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x248]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x38]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x34]
push 2
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x218], 0
call fcn.00521ad0
push esi
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
push edi
push ebx
push dword [ebp + 0x28]
mov ebx, dword [ebp - 0x214]
mov ecx, ebx
push dword [ebp - 0x22c]
push dword [ebp + 0x20]
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
call fcn.0052bcf0
test eax, eax
je 0x52c588
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0055c530
add esp, 0xc
mov dword [ebp - 0x240], 0x100
lea eax, [ebp - 0x240]
push 0
push eax
lea eax, [ebp - 0x210]
push eax
push 5
push dword [ebp - 0x218]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x52c588
cmp dword [ebp - 0x21c], 0
je 0x52c584
mov ebx, dword [ebp + 0x30]
test ebx, ebx
je 0x52c57e
lea eax, [ebp - 0x210]
push eax
call fcn.0056e22d
mov edi, eax
add esp, 4
cmp edi, ebx
cmova edi, ebx
xor esi, esi
mov dword [ebp - 0x220], esi
lea eax, [ebp - 0x220]
push eax
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp - 0x21c]
add eax, esi
push eax
push dword [ebp - 0x218]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x220]
add esi, ecx
test eax, eax
je 0x52c568
test ecx, ecx
je 0x52c568
cmp esi, edi
jb 0x52c533
mov eax, dword [ebp - 0x244]
mov ebx, dword [ebp - 0x214]
test eax, eax
je 0x52c584
mov dword [eax], esi
xor esi, esi
jmp 0x52c58d
mov ebx, dword [ebp - 0x214]
xor esi, esi
jmp 0x52c58d
mov esi, 0x80004005
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0052bc30
lea ecx, [ebp - 0x248]
call fcn.00521b70
mov eax, esi
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.00557e89
mov esp, ebp
pop ebp
ret 0x34
Function at 0x52c640
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac5be
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0051d970
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
call fcn.0051d970
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0051d970
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.0051d970
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 3
call fcn.0051d970
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 4
call fcn.0051d970
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 5
call fcn.0051d970
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 6
call fcn.0051d970
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 7
call fcn.0051d970
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 8
call fcn.0051d970
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 9
call fcn.0051d970
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 0xa
call fcn.0051d970
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0xb
call fcn.0051d970
lea ecx, [esi + 0x138]
mov byte [ebp - 4], 0xc
call fcn.0051d970
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 0xd
call fcn.0051d970
lea ecx, [esi + 0x168]
mov byte [ebp - 4], 0xe
call fcn.0051d970
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 0xf
call fcn.0051d970
lea ecx, [esi + 0x198]
mov byte [ebp - 4], 0x10
call fcn.0051d970
mov dword [esi + 0x1b0], 0
mov eax, esi
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x533bd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad31d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x63434c]
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 esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov ebx, 0x7f
mov byte [ebp - 0x24], 0x3c
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x11
mov byte [ebp - 0x21], 0x7c
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1f], 0x49
mov byte [ebp - 0x1e], 0x5e
mov byte [ebp - 0x1d], 0xd
mov byte [ebp - 0x1c], 0x7c
mov byte [ebp - 0x1b], 0x68
mov byte [ebp - 0x1a], 0x54
mov byte [ebp - 0x19], 0xd
mov byte [ebp - 0x18], 0x14
mov byte [ebp - 0x17], 0x36
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x4a
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x13], 0
cmp byte [ebp - 0x13], 0
jne 0x533c80
mov byte [ebp - 0x13], 1
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x24]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 0x10
jb 0x533c60
lea ecx, [ebp - 0x24]
mov dword [esi], 0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x533ca0
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
mov ecx, esi
call fcn.004385d0
mov byte [ebp - 0x38], 0x49
mov byte [ebp - 0x37], 0x49
mov byte [ebp - 0x36], 0x21
mov byte [ebp - 0x35], 0x35
mov byte [ebp - 0x34], 0x21
mov byte [ebp - 0x33], 0x35
mov byte [ebp - 0x32], 0x11
mov byte [ebp - 0x31], 0x35
mov byte [ebp - 0x30], 0x68
mov byte [ebp - 0x2f], 0x7c
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x6f
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x2c
mov byte [ebp - 0x29], 0x11
mov byte [ebp - 0x28], 0
mov al, byte [ebp - 0x38]
mov byte [ebp - 0x27], 0
cmp byte [ebp - 0x27], 0
mov dword [ebp - 4], 0
jne 0x533d33
mov byte [ebp - 0x27], 1
xor ecx, ecx
mov al, byte [ebp + ecx - 0x38]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [ebp + ecx - 0x38], dl
inc ecx
cmp ecx, 0x10
jb 0x533d13
lea edx, [ebp - 0x38]
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
lea ecx, [edx + 1]
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x533d52
sub edx, ecx
lea eax, [ebp - 0x38]
push edx
push eax
lea ecx, [esi + 0x18]
call fcn.004385d0
mov eax, esi
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.00557e89
mov esp, ebp
pop ebp
ret
Function at 0x534780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x53483c
cmp byte [esi + 0x3d], 0
je 0x53483c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x53482a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x5347f2
sub eax, 1
je 0x5347f6
sub eax, 2
jne 0x53482a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x534813
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0056c308
add esp, 0x10
cmp edi, eax
jne 0x53482a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00557e89
mov esp, ebp
pop ebp
ret
Function at 0x535e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x535e90
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x535ecc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x535ecc
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x535fb4
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x535ef4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x535f27
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.00578fec
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x535f87
sub eax, 1
je 0x535f87
sub eax, 2
jne 0x535fb4
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.005335d0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x535fa4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0056c308
add esp, 0x10
cmp edi, eax
jne 0x535fb4
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x535eb7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00557e89
mov esp, ebp
pop ebp
ret 4