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

Disassembly:
test byte [0x4c25fc], 1
jne 0x42f15b
or dword [0x4c25fc], 1
mov dword [0x4c1dc8], 0x80a8aa9d
mov dword [0x4c1dcc], 0x84a1aabf
mov dword [0x4c1dd0], 0xb78ab6aa
mov dword [0x4c1dd4], 0xa9efe6e7
mov dword [0x4c1dd8], 0xaaa3a6ae
mov dword [0x4c1ddc], 0xcfeff5ab
xor eax, eax
mov cl, byte [eax + 0x4c1dc8]
xor cl, 0xcf
mov byte [eax + 0x4c2540], cl
inc eax
cmp eax, 0x18
jb 0x42f15d
mov eax, 0x4c2540
ret

Function at 0x42f178
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4c25f8], 1
jne 0x42f1ca
or dword [0x4c25f8], 1
mov dword [0x4c1de0], 0xaa8b879c
mov dword [0x4c1de4], 0xaabbaaa3
mov dword [0x4c1de8], 0xe7b6aa84
mov dword [0x4c1dec], 0xaea9efe6
mov dword [0x4c1df0], 0xabaaa3a6
mov word [0x4c1df4], 0xeff5
mov byte [0x4c1df6], 0xcf
xor eax, eax
mov cl, byte [eax + 0x4c1de0]
xor cl, 0xcf
mov byte [eax + 0x4c2558], cl
inc eax
cmp eax, 0x17
jb 0x42f1cc
mov eax, 0x4c2558
ret

Function at 0x42f319
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4c25f4], 1
jne 0x42f365
or dword [0x4c25f4], 1
mov dword [0x4c1df8], 0x80a8aa9d
mov dword [0x4c1dfc], 0x84a1aabf
mov dword [0x4c1e00], 0xb78ab6aa
mov dword [0x4c1e04], 0xa9efe6e7
mov dword [0x4c1e08], 0xaaa3a6ae
mov dword [0x4c1e0c], 0xcfeff5ab
xor eax, eax
mov cl, byte [eax + 0x4c1df8]
xor cl, 0xcf
mov byte [eax + 0x4c2570], cl
inc eax
cmp eax, 0x18
jb 0x42f367
mov eax, 0x4c2570
ret

Function at 0x42f382
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4c25f0], 1
jne 0x42f3d5
or dword [0x4c25f0], 1
mov dword [0x4c1e10], 0xaa8b879c
mov dword [0x4c1e14], 0xaabbaaa3
mov dword [0x4c1e18], 0xbaa3ae99
mov dword [0x4c1e1c], 0xefe6e7aa
mov dword [0x4c1e20], 0xa3a6aea9
mov dword [0x4c1e24], 0xeff5abaa
mov byte [0x4c1e28], 0xcf
xor eax, eax
mov cl, byte [eax + 0x4c1e10]
xor cl, 0xcf
mov byte [eax + 0x4c2588], cl
inc eax
cmp eax, 0x19
jb 0x42f3d7
mov eax, 0x4c2588
ret

Function at 0x42f6ae
Capabilities:
Encode data using xor

Disassembly:
test byte [0x4c25ec], 1
jne 0x42f769
or dword [0x4c25ec], 1
mov dword [0x4c1e30], 0x8b8c8d8e
mov dword [0x4c1e34], 0x8788898a
mov dword [0x4c1e38], 0x83848586
mov dword [0x4c1e3c], 0x9f808182
mov dword [0x4c1e40], 0x9b9c9d9e
mov dword [0x4c1e44], 0x9798999a
mov dword [0x4c1e48], 0xadae9596
mov dword [0x4c1e4c], 0xa9aaabac
mov dword [0x4c1e50], 0xa5a6a7a8
mov dword [0x4c1e54], 0xa1a2a3a4
mov dword [0x4c1e58], 0xbdbebfa0
mov dword [0x4c1e5c], 0xb9babbbc
mov dword [0x4c1e60], 0xb5b6b7b8
mov dword [0x4c1e64], 0xfcfdfeff
mov dword [0x4c1e68], 0xf8f9fafb
mov dword [0x4c1e6c], 0xe0e4f6f7
mov byte [0x4c1e70], 0xcf
xor eax, eax
mov cl, byte [eax + 0x4c1e30]
xor cl, 0xcf
mov byte [eax + 0x4c25a8], cl
inc eax
cmp eax, 0x41
jb 0x42f76b
mov eax, 0x4c25a8
ret
Function at 0x42f816
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 0x42f840
mov dword [esi], eax
xor al, al
jmp 0x42f918
mov eax, ecx
xor edx, edx
push 3
pop ecx
div ecx
mov esi, dword [ebp + 0xc]
mov ecx, dword [0x4bc9b8]
xor edx, edx
imul eax, eax, 3
test eax, eax
je 0x42f8bc
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 0x42f86a
cmp edx, dword [ebp + 8]
jae 0x42f90b
movzx eax, byte [edi]
inc edx
cmp edx, dword [ebp + 8]
jae 0x42f8d0
movzx edi, byte [edi + 1]
jmp 0x42f8d2
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 0x42f8ff
and edi, 0xf
mov cl, byte [ecx + edi*4]
jmp 0x42f901
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 0x438bd0
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
mov eax, dword [eax + 0x1f0]
test cl, cl
je 0x438bf2
lea esp, [esp]
imul eax, eax, 0xf4243
movzx ecx, cl
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x438be0
ret
Function at 0x449570
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 0x449660
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 0x449679
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 0x4496d2
cmp eax, edx
jae 0x4496be
lea esp, [esp]
mov byte [eax + esi + 0x20], bl
add dword [esi + 0x1c], edi
mov eax, dword [esi + 0x1c]
cmp eax, edx
jb 0x4496b0
lea edx, [esi + 0x20]
push esi
call fcn.00449070
add esp, 4
mov dword [esi + 0x1c], ebx
mov ecx, 0x38
cmp dword [esi + 0x1c], ecx
jae 0x4496ef
jmp 0x4496e0
mov edx, dword [esi + 0x1c]
mov byte [esi + edx + 0x20], bl
add dword [esi + 0x1c], edi
cmp dword [esi + 0x1c], ecx
jb 0x4496e0
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.00449070
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 0x449e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x23c], 0
jne 0x449f54
mov eax, dword [esi + 0x240]
cmp eax, 0x10
jge 0x449f54
test eax, eax
js 0x449f54
mov eax, dword [esi + 0x234]
push eax
call fcn.0044de00
add esp, 4
test eax, eax
jne 0x449f59
mov ecx, dword [esi + 0x240]
mov eax, dword [ebp + 0x10]
lea edx, [ecx + eax]
cmp edx, 0xc
jbe 0x449e5a
or dword [esi + 0x238], 1
push ebx
push edi
xor edi, edi
test ecx, ecx
jne 0x449eb5
mov ecx, eax
and ecx, 0xfffffff0
mov dword [ebp + 8], ecx
jbe 0x449eae
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 0x449e74
push ebx
push esi
call fcn.0044dd70
add esp, 8
add dword [esi + 0x248], 0x80
adc dword [esi + 0x24c], 0
add edi, 0x10
cmp edi, dword [ebp + 8]
jb 0x449e72
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
add ebx, edi
jmp 0x449eb8
mov ebx, dword [ebp + 0xc]
cmp edi, eax
jae 0x449f4d
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 0x449f43
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 0x449f00
push edi
push esi
call fcn.0044dd70
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 0x449ed0
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret
mov eax, 0x10
pop esi
pop ebp
ret
Function at 0x44d290
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 0x44d390
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 0x44d3a9
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 0x44d402
cmp eax, edx
jae 0x44d3ee
lea esp, [esp]
mov byte [eax + esi + 0x2c], bl
add dword [esi + 0x28], edi
mov eax, dword [esi + 0x28]
cmp eax, edx
jb 0x44d3e0
lea eax, [esi + 0x2c]
push esi
call fcn.0044b7e0
add esp, 4
mov dword [esi + 0x28], ebx
mov ecx, 0x38
cmp dword [esi + 0x28], ecx
jae 0x44d41f
jmp 0x44d410
mov edx, dword [esi + 0x28]
mov byte [esi + edx + 0x2c], bl
add dword [esi + 0x28], edi
cmp dword [esi + 0x28], ecx
jb 0x44d410
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.0044b7e0
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 0x44dbc0
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 0x44dc64
push esi
mov eax, dword [ebp + 0x10]
dec dword [ebp + 0xc]
test eax, eax
je 0x44dbf1
call eax
dec dword [ebp - 8]
call fcn.00468a0b
mov esi, eax
call fcn.00468a0b
cmp esi, eax
jne 0x44dc10
xor edi, 1
call fcn.00468a0b
cmp esi, eax
je 0x44dc04
call fcn.00468a0b
mov esi, eax
call fcn.00468a0b
cmp esi, eax
jne 0x44dc2c
xor ebx, 1
call fcn.00468a0b
cmp esi, eax
je 0x44dc20
cmp edi, ebx
je 0x44dbf4
mov eax, dword [ebp - 4]
lea ecx, [eax + eax]
or ecx, edi
cmp dword [ebp - 8], 0
mov dword [ebp - 4], ecx
jne 0x44dbf1
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 0x44dbe5
mov eax, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44dd70
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.00467010
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 0x44ddc0
mov ebx, dword [ecx]
xor dword [ebp + eax - 0x10], ebx
add eax, 4
add ecx, 4
cmp eax, 0x10
jl 0x44ddc0
add edx, 0x100
inc esi
cmp edx, 0x1000
jl 0x44dda4
push 0x10
lea edx, [ebp - 0x10]
push edx
push edi
call fcn.00467010
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457547
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 0x45757e
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 0x45755e
pop edi
pop esi
pop ebp
ret

Function at 0x45b6e4
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.0044f389
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0044f228
push dword [ebp + 0xc]
push esi
push 1
push eax
call fcn.00466b3d
add esp, 0x20
jmp 0x45b746
cmp esi, 0x3fffffff
ja 0x45b72a
add esi, esi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0044f228
push dword [ebp + 0xc]
push esi
push 1
push eax
call fcn.00466b3d
add esp, 0x18
add dword [ebp - 0x208], eax
cmp eax, esi
jae 0x45b720
lea eax, [ebp - 0x210]
push eax
call fcn.0044f2f1
pop ecx
pop esi
leave
ret

Function at 0x45b760
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.0044f389
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push eax
call fcn.0044f228
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 1
push eax
call fcn.00466b3d
mov esi, eax
add dword [ebp - 0x208], esi
lea eax, [ebp - 0x210]
push eax
call fcn.0044f2f1
xor eax, eax
add esp, 0x24
cmp eax, esi
sbb eax, eax
neg eax
pop esi
leave
ret

Function at 0x45ba51
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.00450337
pop ecx
mov esi, eax
sub esi, ebx
push 1
pop edi
je 0x45bae2
push ebx
push dword [ebp + 8]
dec esi
call fcn.004504c6
pop ecx
pop ecx
cmp eax, 3
jne 0x45baab
test edi, edi
je 0x45bad7
push 0
push ebx
push dword [ebp + 8]
call fcn.004506af
fstp qword [esp + 4]
mov dword [esp], str._.14g
push dword [ebp + 0xc]
call fcn.0046417d
add esp, 0x10
test eax, eax
jle 0x45bad7
xor edi, edi
inc edi
jmp 0x45bad9
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
call fcn.0044feab
add esp, 0xc
test edi, edi
je 0x45bad7
push dword [ebp + 0xc]
xor edi, edi
push dword [ebp - 4]
inc edi
push edi
push eax
call fcn.0046576e
add esp, 0x10
cmp eax, dword [ebp - 4]
je 0x45bad9
xor edi, edi
inc ebx
test esi, esi
jne 0x45ba6c
test edi, edi
je 0x45bae7
xor eax, eax
inc eax
jmp 0x45baf6
push 0
push 0
push dword [ebp + 8]
call fcn.0044f052
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4015e0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
push edi
push ebp
sub esp, 0x1c
mov ebp, eax
mov esi, edx
mov byte [esp + 0x18], bl
push eax
call dword [sym.imp.USER32.DLL_GetMenu]
mov edi, eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x1c]
call fcn.00406dc0
mov ebx, eax
mov eax, esp
push eax
push ebp
call dword [sym.imp.USER32.DLL_GetClientRect]
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 4]
mov dword [esp + 0x14], eax
cmp byte [esp + 0x18], 0
jne 0x401678
mov eax, dword [esi + 0x1c]
call fcn.00406ba0
movzx eax, ax
mov dword [esi + 4], eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 4]
add edx, eax
movzx eax, word [esp + 0x14]
cmp eax, edx
jge 0x40168f
push 0
push ebx
call dword [sym.imp.USER32.DLL_ShowWindow]
push 8
push 0x66
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.DLL_CheckMenuItem]
mov eax, dword [esp + 8]
movzx edx, word [esp + 0x14]
sub eax, dword [esp]
mov ebx, esi
movzx eax, ax
call fcn.004037a0
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ecx
ret
push 0
push ebx
mov dword [esi + 4], 0
call dword [sym.imp.USER32.DLL_ShowWindow]
push 0
push 0x66
push edi
jmp 0x401654
push 5
jmp 0x401644

Function at 0x403700
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ecx
push esi
push edi
push ebp
mov esi, eax
mov ebx, edx
call dword [sym.imp.KERNEL32.DLL_GetVersion]
cmp al, 4
jb 0x403772
push 0
mov ecx, dword [0x41a0b8]
push ecx
push 0
push esi
push 0
push 0
mov esi, dword [ebx + 0x18]
push esi
push 0
push 0x40300101
push 0x4036e0
push 0x4036e9
push 0x200
call dword [sym.imp.USER32.DLL_CreateWindowExA]
mov dword [ebx], eax
push 1
mov edi, dword [ebx]
push edi
call dword [sym.imp.USER32.DLL_ShowWindow]
mov ebp, dword [ebx]
push ebp
call dword [sym.imp.USER32.DLL_UpdateWindow]
push 0
call fcn.00407370
push eax
push 0x30
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
pop ebp
pop edi
pop esi
pop ecx
pop ebx
ret
push 0
mov eax, dword [0x41a0b8]
push eax
push 0
push esi
push 0
push 0
mov edx, dword [ebx + 0x18]
push edx
push 0
push 0x40b00101
push 0x4036e0
push 0x4036e9
push 0
jmp 0x40373d

Function at 0x4038e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
push eax
mov esi, 0x78
call dword [sym.imp.USER32.DLL_GetMenu]
xor ebx, ebx
mov edi, eax
cmp byte [ebx + 0x41a020], 0
jne 0x403937
push 0
mov eax, dword [ebx + 0x41a004]
push eax
call dword [sym.imp.USER32.DLL_ShowWindow]
push 0
push esi
push edi
call dword [sym.imp.USER32.DLL_CheckMenuItem]
mov eax, esi
movzx edx, byte [ebx + 0x41a020]
call fcn.00406030
add ebx, 0x20
inc esi
cmp ebx, 0x80
jne 0x4038f5
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
push 1
mov edx, dword [ebx + 0x41a004]
push edx
call dword [sym.imp.USER32.DLL_ShowWindow]
push 8
jmp 0x40390f
Function at 0x404890
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push ebp
sub esp, 0x4c
mov esi, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ecx
cmp dword [eax + 0x34], 0
jne 0x4048bf
movzx eax, cx
shl eax, 2
call fcn.00406080
mov dword [esi + 0x34], eax
mov word [esi + 0x2c], cx
mov dword [esi + 0x30], ebx
xor edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
call fcn.00407370
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
cmp word [esp + 0x44], 0
jbe 0x404a06
movzx ebx, word [esp + 0x48]
mov eax, dword [esi + 0x34]
shl ebx, 2
mov ebp, dword [ebx + eax]
push ebp
call dword [sym.imp.USER32.DLL_IsWindow]
test eax, eax
je 0x40490e
mov eax, dword [esi + 0x34]
mov edx, dword [ebx + eax]
push edx
call dword [sym.imp.USER32.DLL_DestroyWindow]
movzx edi, word [esp + 0x48]
imul eax, edi, 0xc
mov ebx, dword [esp + 0x38]
add ebx, eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebx]
mov dword [esp + 0x30], ebx
call fcn.00406e10
mov ebp, eax
mov eax, dword [0x41a0b8]
mov ebx, dword [ebx + 4]
push eax
mov edx, ebp
mov eax, dword [esp + 0x38]
call fcn.00406280
mov ebx, dword [esi + 0x34]
mov edx, 0x30
mov dword [ebx + edi*4], eax
mov eax, ebp
mov ebx, dword [esp + 0x30]
call fcn.00406ea0
mov eax, esp
movzx ebx, word [ebx + 8]
call fcn.00407cd0
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 8]
mov byte [esp + eax], 0
mov eax, dword [esi + 0x34]
mov edx, dword [eax + edi*4]
push edx
call dword [sym.imp.USER32.DLL_GetDC]
mov ecx, dword [esp + 0x3c]
push ecx
push eax
mov ebx, eax
call dword [sym.imp.GDI32.DLL_SelectObject]
mov ebp, eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 8]
push eax
lea eax, [esp + 8]
push eax
push ebx
call dword [sym.imp.GDI32.DLL_GetTextExtentPointA]
push ebp
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
mov eax, dword [esi + 0x34]
push ebx
mov ebx, dword [eax + edi*4]
push ebx
call dword [sym.imp.USER32.DLL_ReleaseDC]
push 1
mov ebp, dword [esp + 0x30]
push ebp
mov eax, dword [esp + 0x30]
push eax
push 0
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x34]
push edx
mov ecx, dword [eax + edi*4]
push ecx
call dword [sym.imp.USER32.DLL_MoveWindow]
mov eax, dword [esi + 0x34]
push 5
mov ebx, dword [eax + edi*4]
push ebx
call dword [sym.imp.USER32.DLL_ShowWindow]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
inc ebx
add dword [esp + 0x40], eax
mov dword [esp + 0x48], ebx
cmp bx, word [esp + 0x44]
jb 0x4048e8
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esi + 0x24], eax
add esp, 0x4c
pop ebp
pop edi
pop esi
ret