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

Disassembly:
test byte [0xc585ec], 1
jne 0xbdf119
or dword [0xc585ec], 1
mov dword [0xc57db8], 0x1c343601
mov dword [0xc57dbc], 0x183d3623
mov dword [0xc57dc0], 0x2b162a36
mov dword [0xc57dc4], 0x35737a7b
mov dword [0xc57dc8], 0x363f3a32
mov dword [0xc57dcc], 0x53736937
xor eax, eax
mov cl, byte [eax + 0xc57db8]
xor cl, 0x53
mov byte [eax + 0xc58530], cl
inc eax
cmp eax, 0x18
jb 0xbdf11b
mov eax, 0xc58530
ret

Function at 0xbdf136
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test byte [0xc585e8], 1
jne 0xbdf18a
or dword [0xc585e8], 1
mov dword [0xc57dd0], 0x36171b00
mov dword [0xc57dd4], 0x3627363f
mov dword [0xc57dd8], 0x7b2a3618
mov dword [0xc57ddc], 0x3235737a
mov dword [0xc57de0], 0x37363f3a
mov word [0xc57de4], 0x7369
mov byte [0xc57de6], 0x53
mov cl, byte [eax + 0xc57dd0]
xor cl, 0x53
mov byte [eax + 0xc58548], cl
inc eax
cmp eax, 0x17
jb 0xbdf18a
mov eax, 0xc58548
ret

Function at 0xbdf2d7
Capabilities:
Encode data using xor

Disassembly:
test byte [0xc585e4], 1
jne 0xbdf323
or dword [0xc585e4], 1
mov dword [0xc57de8], 0x1c343601
mov dword [0xc57dec], 0x183d3623
mov dword [0xc57df0], 0x2b162a36
mov dword [0xc57df4], 0x35737a7b
mov dword [0xc57df8], 0x363f3a32
mov dword [0xc57dfc], 0x53736937
xor eax, eax
mov cl, byte [eax + 0xc57de8]
xor cl, 0x53
mov byte [eax + 0xc58560], cl
inc eax
cmp eax, 0x18
jb 0xbdf325
mov eax, 0xc58560
ret

Function at 0xbdf340
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test byte [0xc585e0], 1
jne 0xbdf395
or dword [0xc585e0], 1
mov dword [0xc57e00], 0x36171b00
mov dword [0xc57e04], 0x3627363f
mov dword [0xc57e08], 0x263f3205
mov dword [0xc57e0c], 0x737a7b36
mov dword [0xc57e10], 0x3f3a3235
mov dword [0xc57e14], 0x73693736
mov byte [0xc57e18], 0x53
mov cl, byte [eax + 0xc57e00]
xor cl, 0x53
mov byte [eax + 0xc58578], cl
inc eax
cmp eax, 0x19
jb 0xbdf395
mov eax, 0xc58578
ret

Function at 0xbdf66c
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test byte [0xc585dc], 1
jne 0xbdf729
or dword [0xc585dc], 1
mov dword [0xc57e20], 0x17101112
mov dword [0xc57e24], 0x1b141516
mov dword [0xc57e28], 0x1f18191a
mov dword [0xc57e2c], 0x31c1d1e
mov dword [0xc57e30], 0x7000102
mov dword [0xc57e34], 0xb040506
mov dword [0xc57e38], 0x3132090a
mov dword [0xc57e3c], 0x35363730
mov dword [0xc57e40], 0x393a3b34
mov dword [0xc57e44], 0x3d3e3f38
mov dword [0xc57e48], 0x2122233c
mov dword [0xc57e4c], 0x25262720
mov dword [0xc57e50], 0x292a2b24
mov dword [0xc57e54], 0x60616263
mov dword [0xc57e58], 0x64656667
mov dword [0xc57e5c], 0x7c786a6b
mov byte [0xc57e60], 0x53
mov cl, byte [eax + 0xc57e20]
xor cl, 0x53
mov byte [eax + 0xc58598], cl
inc eax
cmp eax, 0x41
jb 0xbdf729
mov eax, 0xc58598
ret
Function at 0xbdf7d4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, eax
xor edx, edx
push 3
lea eax, [ecx + 2]
pop ebx
div ebx
mov esi, dword [ebp + 0x10]
shl eax, 2
inc eax
cmp dword [esi], eax
jae 0xbdf7fe
mov dword [esi], eax
xor al, al
jmp 0xbdf8d6
mov eax, ecx
xor edx, edx
push 3
pop ecx
div ecx
mov esi, dword [ebp + 0xc]
mov ecx, dword [0xc529b8]
xor edx, edx
imul eax, eax, 3
test eax, eax
je 0xbdf87a
dec eax
push 3
pop ebx
div ebx
inc eax
mov edx, eax
mov dword [ebp - 4], eax
imul edx, edx, 3
movzx eax, byte [edi]
shr eax, 2
mov al, byte [eax + ecx]
mov byte [esi], al
movzx eax, byte [edi + 1]
movzx ebx, byte [edi]
shr eax, 4
shl ebx, 4
add eax, ebx
and eax, 0x3f
mov al, byte [eax + ecx]
mov byte [esi + 1], al
movzx eax, byte [edi + 2]
movzx ebx, byte [edi + 1]
shr eax, 6
lea eax, [eax + ebx*4]
and eax, 0x3f
mov al, byte [eax + ecx]
mov byte [esi + 2], al
movzx eax, byte [edi + 2]
and eax, 0x3f
mov al, byte [eax + ecx]
mov byte [esi + 3], al
add esi, 4
add edi, 3
dec dword [ebp - 4]
jne 0xbdf828
cmp edx, dword [ebp + 8]
jae 0xbdf8c9
movzx eax, byte [edi]
inc edx
cmp edx, dword [ebp + 8]
jae 0xbdf88e
movzx edi, byte [edi + 1]
jmp 0xbdf890
xor edi, edi
mov ebx, eax
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + ecx]
mov byte [esi], bl
mov ebx, edi
shr ebx, 4
shl eax, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + ecx]
mov byte [esi + 1], al
cmp edx, dword [ebp + 8]
jae 0xbdf8bd
and edi, 0xf
mov cl, byte [ecx + edi*4]
jmp 0xbdf8bf
mov cl, 0x3d
mov byte [esi + 2], cl
mov byte [esi + 3], 0x3d
add esi, 4
mov eax, dword [ebp + 0x10]
mov byte [esi], 0
sub esi, dword [ebp + 0xc]
mov dword [eax], esi
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0xbe1620
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x1c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor eax, eax
pop ebp
ret

Function at 0xbe1710
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov edx, 0x40
cmp eax, edx
jb 0xbe1729
lea eax, [edx - 0x30]
pop esi
pop ebp
ret
lea ecx, [eax*8]
add dword [esi], ecx
push ebx
mov ebx, 0
adc dword [esi + 4], ebx
push edi
mov byte [eax + esi + 0x20], 0x80
mov edi, 1
add dword [esi + 0x1c], edi
mov eax, dword [esi + 0x1c]
mov ecx, 0x38
cmp eax, ecx
jbe 0xbe1782
cmp eax, edx
jae 0xbe176e
lea esp, [esp]
mov byte [eax + esi + 0x20], bl
add dword [esi + 0x1c], edi
mov eax, dword [esi + 0x1c]
cmp eax, edx
jb 0xbe1760
lea edx, [esi + 0x20]
push esi
call fcn.00be1120
add esp, 4
mov dword [esi + 0x1c], ebx
mov ecx, 0x38
cmp dword [esi + 0x1c], ecx
jae 0xbe179f
jmp 0xbe1790
mov edx, dword [esi + 0x1c]
mov byte [esi + edx + 0x20], bl
add dword [esi + 0x1c], edi
cmp dword [esi + 0x1c], ecx
jb 0xbe1790
movzx eax, byte [esi + 7]
movzx ecx, byte [esi + 6]
movzx edx, byte [esi + 5]
mov byte [esi + 0x58], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x59], cl
movzx ecx, byte [esi + 3]
mov byte [esi + 0x5a], dl
movzx edx, byte [esi + 2]
mov byte [esi + 0x5b], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x5c], cl
movzx ecx, byte [esi]
mov byte [esi + 0x5d], dl
lea edx, [esi + 0x20]
push esi
mov byte [esi + 0x5e], al
mov byte [esi + 0x5f], cl
call fcn.00be1120
movzx edx, byte [esi + 0xb]
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
movzx ecx, byte [esi + 0xa]
mov byte [eax + 1], cl
movzx edx, byte [esi + 9]
mov byte [eax + 2], dl
movzx ecx, byte [esi + 8]
mov byte [eax + 3], cl
movzx edx, byte [esi + 0xf]
mov byte [eax + 4], dl
movzx ecx, byte [esi + 0xe]
mov byte [eax + 5], cl
movzx edx, byte [esi + 0xd]
mov byte [eax + 6], dl
movzx ecx, byte [esi + 0xc]
mov byte [eax + 7], cl
movzx edx, byte [esi + 0x13]
mov byte [eax + 8], dl
movzx ecx, byte [esi + 0x12]
mov byte [eax + 9], cl
movzx edx, byte [esi + 0x11]
mov byte [eax + 0xa], dl
movzx ecx, byte [esi + 0x10]
mov byte [eax + 0xb], cl
movzx edx, byte [esi + 0x17]
mov byte [eax + 0xc], dl
movzx ecx, byte [esi + 0x16]
mov byte [eax + 0xd], cl
movzx edx, byte [esi + 0x15]
mov byte [eax + 0xe], dl
movzx ecx, byte [esi + 0x14]
mov byte [eax + 0xf], cl
movzx edx, byte [esi + 0x1b]
mov byte [eax + 0x10], dl
movzx ecx, byte [esi + 0x1a]
mov byte [eax + 0x11], cl
movzx edx, byte [esi + 0x19]
add esp, 4
mov byte [eax + 0x12], dl
movzx ecx, byte [esi + 0x18]
pop edi
pop ebx
mov byte [eax + 0x13], cl
xor eax, eax
pop esi
pop ebp
ret
Function at 0xbe1eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x23c], 0
jne 0xbe2004
mov eax, dword [esi + 0x240]
cmp eax, 0x10
jge 0xbe2004
test eax, eax
js 0xbe2004
mov eax, dword [esi + 0x234]
push eax
call fcn.00be5ec0
add esp, 4
test eax, eax
jne 0xbe2009
mov ecx, dword [esi + 0x240]
mov eax, dword [ebp + 0x10]
lea edx, [ecx + eax]
cmp edx, 0xc
jbe 0xbe1f0a
or dword [esi + 0x238], 1
push ebx
push edi
xor edi, edi
test ecx, ecx
jne 0xbe1f65
mov ecx, eax
and ecx, 0xfffffff0
mov dword [ebp + 8], ecx
jbe 0xbe1f5e
lea ebx, [esi + 0x1f4]
xor eax, eax
mov edx, dword [ebp + 0xc]
lea ecx, [eax + edi]
mov ecx, dword [ecx + edx]
xor dword [ebx + eax], ecx
add eax, 4
cmp eax, 0x10
jb 0xbe1f24
push ebx
push esi
call fcn.00be5e30
add esp, 8
add dword [esi + 0x248], 0x80
adc dword [esi + 0x24c], 0
add edi, 0x10
cmp edi, dword [ebp + 8]
jb 0xbe1f22
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
add ebx, edi
jmp 0xbe1f68
mov ebx, dword [ebp + 0xc]
cmp edi, eax
jae 0xbe1ffd
sub eax, edi
mov dword [ebp + 8], eax
mov ecx, 1
lea ebx, [ebx]
mov al, byte [ebx]
mov edx, dword [esi + 0x240]
mov byte [esi + edx + 0x224], al
add dword [esi + 0x240], ecx
add ebx, ecx
cmp dword [esi + 0x240], 0x10
jne 0xbe1ff3
lea edi, [esi + 0x1f4]
mov eax, edi
mov ecx, 4
lea ecx, [ecx]
movzx edx, byte [eax + 0x30]
xor byte [eax], dl
movzx edx, byte [eax + 0x31]
xor byte [eax + 1], dl
movzx edx, byte [eax + 0x32]
xor byte [eax + 2], dl
movzx edx, byte [eax + 0x33]
xor byte [eax + 3], dl
add eax, 4
dec ecx
jne 0xbe1fb0
push edi
push esi
call fcn.00be5e30
xor eax, eax
add esp, 8
add dword [esi + 0x248], 0x80
mov dword [esi + 0x240], eax
adc dword [esi + 0x24c], eax
mov ecx, 1
sub dword [ebp + 8], ecx
jne 0xbe1f80
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret
mov eax, 0x10
pop esi
pop ebp
ret
Function at 0xbe5350
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
xor eax, eax
pop ebp
ret
Function at 0xbe5450
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x28]
mov edx, 0x40
cmp eax, edx
jb 0xbe5469
lea eax, [edx - 0x30]
pop esi
pop ebp
ret
lea ecx, [eax*8]
add dword [esi], ecx
push ebx
mov ebx, 0
adc dword [esi + 4], ebx
push edi
mov byte [eax + esi + 0x2c], 0x80
mov edi, 1
add dword [esi + 0x28], edi
mov eax, dword [esi + 0x28]
mov ecx, 0x38
cmp eax, ecx
jbe 0xbe54c2
cmp eax, edx
jae 0xbe54ae
lea esp, [esp]
mov byte [eax + esi + 0x2c], bl
add dword [esi + 0x28], edi
mov eax, dword [esi + 0x28]
cmp eax, edx
jb 0xbe54a0
lea eax, [esi + 0x2c]
push esi
call fcn.00be38a0
add esp, 4
mov dword [esi + 0x28], ebx
mov ecx, 0x38
cmp dword [esi + 0x28], ecx
jae 0xbe54df
jmp 0xbe54d0
mov edx, dword [esi + 0x28]
mov byte [esi + edx + 0x2c], bl
add dword [esi + 0x28], edi
cmp dword [esi + 0x28], ecx
jb 0xbe54d0
movzx eax, byte [esi + 7]
movzx ecx, byte [esi + 6]
movzx edx, byte [esi + 5]
mov byte [esi + 0x64], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x65], cl
movzx ecx, byte [esi + 3]
mov byte [esi + 0x67], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x66], dl
movzx edx, byte [esi + 2]
mov byte [esi + 0x68], cl
movzx ecx, byte [esi]
mov byte [esi + 0x6a], al
lea eax, [esi + 0x2c]
push esi
mov byte [esi + 0x69], dl
mov byte [esi + 0x6b], cl
call fcn.00be38a0
movzx edx, byte [esi + 0xb]
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
movzx ecx, byte [esi + 0xa]
mov byte [eax + 1], cl
movzx edx, byte [esi + 9]
mov byte [eax + 2], dl
movzx ecx, byte [esi + 8]
mov byte [eax + 3], cl
movzx edx, byte [esi + 0xf]
mov byte [eax + 4], dl
movzx ecx, byte [esi + 0xe]
mov byte [eax + 5], cl
movzx edx, byte [esi + 0xd]
mov byte [eax + 6], dl
movzx ecx, byte [esi + 0xc]
mov byte [eax + 7], cl
movzx edx, byte [esi + 0x13]
mov byte [eax + 8], dl
movzx ecx, byte [esi + 0x12]
mov byte [eax + 9], cl
movzx edx, byte [esi + 0x11]
mov byte [eax + 0xa], dl
movzx ecx, byte [esi + 0x10]
mov byte [eax + 0xb], cl
movzx edx, byte [esi + 0x17]
mov byte [eax + 0xc], dl
movzx ecx, byte [esi + 0x16]
mov byte [eax + 0xd], cl
movzx edx, byte [esi + 0x15]
mov byte [eax + 0xe], dl
movzx ecx, byte [esi + 0x14]
mov byte [eax + 0xf], cl
movzx edx, byte [esi + 0x1b]
mov byte [eax + 0x10], dl
movzx ecx, byte [esi + 0x1a]
mov byte [eax + 0x11], cl
movzx edx, byte [esi + 0x19]
mov byte [eax + 0x12], dl
movzx ecx, byte [esi + 0x18]
mov byte [eax + 0x13], cl
movzx edx, byte [esi + 0x1f]
mov byte [eax + 0x14], dl
movzx ecx, byte [esi + 0x1e]
mov byte [eax + 0x15], cl
movzx edx, byte [esi + 0x1d]
mov byte [eax + 0x16], dl
movzx ecx, byte [esi + 0x1c]
mov byte [eax + 0x17], cl
movzx edx, byte [esi + 0x23]
mov byte [eax + 0x18], dl
movzx ecx, byte [esi + 0x22]
mov byte [eax + 0x19], cl
movzx edx, byte [esi + 0x21]
mov byte [eax + 0x1a], dl
movzx ecx, byte [esi + 0x20]
mov byte [eax + 0x1b], cl
movzx edx, byte [esi + 0x27]
mov byte [eax + 0x1c], dl
movzx ecx, byte [esi + 0x26]
add esp, 4
mov byte [eax + 0x1d], cl
movzx edx, byte [esi + 0x25]
mov byte [eax + 0x1e], dl
movzx ecx, byte [esi + 0x24]
pop edi
pop ebx
mov byte [eax + 0x1f], cl
xor eax, eax
pop esi
pop ebp
ret
Function at 0xbe5c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 8
mov dword [ebp - 4], edi
cmp eax, edi
je 0xbe5d24
push esi
mov eax, dword [ebp + 0x10]
dec dword [ebp + 0xc]
test eax, eax
je 0xbe5cb1
call eax
dec dword [ebp - 8]
call fcn.00c00acb
mov esi, eax
call fcn.00c00acb
cmp esi, eax
jne 0xbe5cd0
xor edi, 1
call fcn.00c00acb
cmp esi, eax
je 0xbe5cc4
call fcn.00c00acb
mov esi, eax
call fcn.00c00acb
cmp esi, eax
jne 0xbe5cec
xor ebx, 1
call fcn.00c00acb
cmp esi, eax
je 0xbe5ce0
cmp edi, ebx
je 0xbe5cb4
mov eax, dword [ebp - 4]
lea ecx, [eax + eax]
or ecx, edi
cmp dword [ebp - 8], 0
mov dword [ebp - 4], ecx
jne 0xbe5cb1
mov eax, dword [ebp + 8]
mov dl, cl
mov byte [eax], dl
inc eax
cmp dword [ebp + 0xc], 0
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 8
jne 0xbe5ca5
mov eax, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xbe5e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
add eax, eax
lea edx, [ecx + eax*8 + 0x258]
push 0x10
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00bff0d0
add esp, 0xc
mov esi, 1
mov edx, 0x100
movzx ecx, byte [esi + edi]
mov ebx, dword [ebp + 8]
add ecx, edx
xor eax, eax
add ecx, ecx
lea ecx, [ebx + ecx*8 + 0x258]
jmp 0xbe5e80
mov ebx, dword [ecx]
xor dword [ebp + eax - 0x10], ebx
add eax, 4
add ecx, 4
cmp eax, 0x10
jl 0xbe5e80
add edx, 0x100
inc esi
cmp edx, 0x1000
jl 0xbe5e64
push 0x10
lea edx, [ebp - 0x10]
push edx
push edi
call fcn.00bff0d0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xbef605
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, edx
mov eax, edx
xor eax, dword [ebp + 0x10]
shr ecx, 5
inc ecx
cmp edx, ecx
jb 0xbef63c
push esi
push edi
mov esi, dword [ebp + 8]
movzx esi, byte [esi + edx - 1]
mov edi, eax
shl edi, 5
add esi, edi
mov edi, eax
shr edi, 2
add esi, edi
sub edx, ecx
xor eax, esi
cmp edx, ecx
jae 0xbef61c
pop edi
pop esi
pop ebp
ret

Function at 0xbf37a1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
mov esi, 0x200
call fcn.00be7447
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00be72e6
push dword [ebp + 0xc]
push esi
push 1
push eax
call fcn.00bfebfd
add esp, 0x20
jmp 0xbf3803
cmp esi, 0x3fffffff
ja 0xbf37e7
add esi, esi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00be72e6
push dword [ebp + 0xc]
push esi
push 1
push eax
call fcn.00bfebfd
add esp, 0x18
add dword [ebp - 0x208], eax
cmp eax, esi
jae 0xbf37dd
lea eax, [ebp - 0x210]
push eax
call fcn.00be73af
pop ecx
pop esi
leave
ret

Function at 0xbf381d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call fcn.00be7447
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push eax
call fcn.00be72e6
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 1
push eax
call fcn.00bfebfd
mov esi, eax
add dword [ebp - 0x208], esi
lea eax, [ebp - 0x210]
push eax
call fcn.00be73af
xor eax, eax
add esp, 0x24
cmp eax, esi
sbb eax, eax
neg eax
pop esi
leave
ret

Function at 0xbf3b0e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, eax
call fcn.00be83f5
pop ecx
mov esi, eax
sub esi, ebx
push 1
pop edi
je 0xbf3b9f
push ebx
push dword [ebp + 8]
dec esi
call fcn.00be8584
pop ecx
pop ecx
cmp eax, 3
jne 0xbf3b68
test edi, edi
je 0xbf3b94
push 0
push ebx
push dword [ebp + 8]
call fcn.00be876d
fstp qword [esp + 4]
mov dword [esp], str._.14g
push dword [ebp + 0xc]
call fcn.00bfc23d
add esp, 0x10
test eax, eax
jle 0xbf3b94
xor edi, edi
inc edi
jmp 0xbf3b96
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
call fcn.00be7f69
add esp, 0xc
test edi, edi
je 0xbf3b94
push dword [ebp + 0xc]
xor edi, edi
push dword [ebp - 4]
inc edi
push edi
push eax
call fcn.00bfd82e
add esp, 0x10
cmp eax, dword [ebp - 4]
je 0xbf3b96
xor edi, edi
inc ebx
test esi, esi
jne 0xbf3b29
test edi, edi
je 0xbf3ba4
xor eax, eax
inc eax
jmp 0xbf3bb3
push 0
push 0
push dword [ebp + 8]
call fcn.00be7110
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x406964
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x406956
pop edi
pop esi
pop ebp
ret 4

Function at 0x40bec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and eax, 0x4d
add byte [eax], al
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], ecx
or ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 4]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
movsx eax, word [eax + 8]
sub eax, ecx
je 0x40bf27
sub eax, 1
je 0x450474
sub eax, 0x32
jne 0x4503eb
push edi
mov ecx, esi
call fcn.0040dfd0
lea ecx, [esp + 0x18]
call fcn.0040cfa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.0040dd50
test ebx, ebx
js 0x40bf15
jmp 0x45048e
movsx eax, word [esi + 0xa]
jmp 0x450412
push eax
push 0x7f
mov ecx, dword [ebp - 0xc]
call fcn.004735e0
jmp 0x40bc14
sal byte [ebp + 0x10], 0x8b
inc esp
and al, 0x14
movsx eax, word [eax + 0xa]
push eax
push 0x89bba7
jmp 0x4504ee

Function at 0x40bf40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ebx + 4]
mov edi, ecx
Function at 0x40caf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
mov eax, dword [edi]
dec eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 1
mov dword [ebp - 8], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 1
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 1
cmp word [eax + 8], 0x33
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x60], 3
jne 0x450a96
mov esi, 2
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], esi
cmp dword [0x4d2380], ebx
je 0x40cf73
xor al, al
test al, al
jne 0x40cf7a
mov eax, dword [0x4d2384]
cmp byte [0x4d2389], bl
jne 0x450a9d
push eax
push ecx
mov dword [ebp + 0xc], eax
call fcn.0040bbe0
test al, al
je 0x40cf51
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x40cf51
mov ebx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
and ebx, 0xff00
mov dword [ebp + 0xc], edx
mov dword [ebp - 0xc], edx
test edx, edx
je 0x40cf1e
test ebx, 0x100
jne 0x450aa5
lea ecx, [ebp - 0x20]
call fcn.0040cfa0
push 1
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 1
xor edx, edx
jmp 0x40cbc8
mov al, 1
jmp 0x40cb84
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, 0x4d2370
call fcn.0041d336
mov ebx, dword [ebp - 0xc]
mov edx, eax
jmp 0x40cbc8
dec dword [ebx + 0x470ff06]
call 0xbb41fe58
sub ebx, 4
push 8
push dword [esi]
jmp fcn.0040ca52
mov bh, 0xf3
cld
mov edx, 0x6a04eb83
or bh, bh
jmp fcn.0040ca52

Function at 0x40ec40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword fs:[0x2c]
mov dword [esp + 0x18], ecx
push ebx
push esi
mov ecx, dword [eax]
mov eax, dword [0x4d2580]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x8c], ecx
cmp eax, dword [ecx + 4]
jg 0x40fe3a
mov ebx, dword [ebp + 0x10]
xor esi, esi
xor al, al
mov word [esp + 0x54], 1
push 0x4d2580
call fcn.00420242
add esp, 4
cmp dword [0x4d2580], 0xffffffff
jne 0x40ec76
push 0x44247b
call fcn.004200a3
add esp, 4
push 0x4d2580
call fcn.004201f8
add esp, 4
jmp 0x40ec76
Function at 0x4104f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 2
je 0x4105dd
cmp esi, 4
je 0x4105dd
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x45581e
mov eax, dword [ebx]
mov dword [ebp + 0x10], eax
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x45584a
mov esi, dword [eax + 0x10c]
cmp esi, dword [eax + 0x210]
add byte [edi], cl
test dword [edi], ecx
push ebx
add al, 0
xor ecx, ecx
test esi, esi
jle 0x410571
add eax, 0xc
jmp 0x410550
mov edx, dword [eax + 0x104]
test edx, edx
js 0x45584a
cmp edx, dword [eax]
jge 0x45584a
inc ecx
add eax, 4
cmp ecx, esi
jl 0x410550
mov eax, dword [ebp + 0x10]
xor edi, edi
test esi, esi
jle 0x4105b4
lea ecx, [eax + 0x110]
lea ecx, [ecx]
cmp dword [ecx - 0x104], 0x1388
jne 0x4105d0
mov eax, 0x68db8bad
imul ebx
sar edx, 0xb
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, dword [ecx]
add ecx, 4
imul eax, ebx
add edi, eax
sub esi, 1
jne 0x410580
test edi, edi
js 0x45584a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
cmp dword [eax + edi*4], 0
je 0x410622
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
mov eax, dword [eax + edi*4]
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, ebx
cdq
idiv dword [ecx - 0x104]
mov ebx, eax
jmp 0x41059d
mov ebx, dword [ebp + 8]
cmp esi, 1
je 0x41050e
mov ecx, dword [ebx]
mov eax, dword [ecx]
cmp eax, 1
jg 0x410663
xor dl, dl
test dl, dl
jne 0x410674
cmp esi, 2
jne 0x455813
cmp dword [ecx], 0x7fffffff
je 0x45580c
xor al, al
test al, al
jne 0x41050e
mov dword [ecx], 1
jmp 0x41050e
push 0x10
call fcn.0041fddb
push 0x10
mov esi, eax
call fcn.0041fddb
add esp, 8
mov ecx, eax
push 0x49cc08
call fcn.00409cb3
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ecx + edi*4], esi
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
mov eax, dword [eax + edi*4]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x7fffffff
je 0x41068e
xor dl, dl
test dl, dl
jne 0x4105f2
mov dl, 1
jmp 0x4105f4
dec eax
mov dword [ecx], eax
mov ecx, ebx
push ebx
call fcn.0041a732
mov eax, dword [ebx]
mov dword [eax], 1
mov ecx, dword [ebx]
jmp 0x4105f8
mov dl, 1
jmp 0x41066c
scasb al, byte es:[edi]
push ebx
inc ebp
add byte [ebx + 0x53], dh
inc ebp
add byte [ebx], dl
push esi
inc ebp
add bh, bl
push ebx
inc ebp
add bh, bl
push ebx
inc ebp
add byte [eax], ch
push esi
inc ebp
add bh, al
push ebx
inc ebp
add byte [edx + eax + 0x41], al
add byte [edx + eax + 0x41], al
add byte [esi + 0x44004553], al
add al, byte [ecx]
scasb al, byte es:[edi]
push ebx
inc ebp
add byte [ebx + 0x13004553], bl
push esi
inc ebp
add byte [ecx], al
push esi
inc ebp
add byte [ecx], al
push esi
inc ebp
add byte [eax], ch
push esi
inc ebp
add byte [eax - 0x520316ff], dh
sti
inc edi
add dword [ebx - 0x16800001], eax
invalid