joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446c20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x446c31
mov dword [esi], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x446c95
push 0
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
add dword [ecx + 8], edx
adc dword [ecx + 0xc], 0
test esi, esi
je 0x446c6e
add dword [esi], edx
test eax, eax
jne 0x446c95
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x446c86
mov eax, 0x80004005
pop esi
pop ebp
ret 0x10
jle 0x446c97
movzx eax, ax
or eax, 0x80070000
pop esi
pop ebp
ret 0x10
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x446e20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x400000
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0xc], 0
nop dword [eax + eax]
cmp esi, 0x400000
mov dword [ebp + 0x10], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [ebp + 0x10]
push ecx
push eax
push edi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add edx, ecx
mov dword [ebp + 0xc], edx
test eax, eax
je 0x446e85
test ecx, ecx
je 0x446e81
add edi, ecx
sub esi, ecx
mov ecx, 0x400000
jne 0x446e40
mov al, 1
jmp 0x446e87
xor al, al
add dword [ebx + 0x10], edx
mov ecx, dword [ebp + 0x14]
adc dword [ebx + 0x14], 0
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x446e9a
mov dword [ecx], edx
test al, al
je 0x446ea4
xor eax, eax
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x446eb7
mov eax, 0x80004005
pop ebp
ret 0x10
jle 0x446ec1
movzx eax, ax
or eax, 0x80070000
pop ebp
ret 0x10

Function at 0x447270
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4472c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4472c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4472b3
mov eax, 0x80004005
pop edi
mov esp, ebp
pop ebp
ret 8
jle 0x4472d8
movzx eax, ax
or eax, 0x80070000
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, edi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x44d730
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 0x3a], 0
jne 0x44d7d1
cmp dword [edi + 0x98], 0
je 0x44d7d1
cmp byte [edi + 0x3e], 0
jne 0x44d7d1
cmp byte [edi + 0x31], 0
je 0x44d7d1
cmp byte [edi + 0xd0], 0
je 0x44d7d1
mov ecx, dword [edi + 0xcc]
mov eax, ecx
mov edx, dword [edi + 0x94]
push ebx
push esi
mov esi, ecx
lea ebx, [edi + 0x94]
and esi, 0x3fff
and eax, 0xf0000000
cmove esi, ecx
cmp byte [0x47b1a1], 0
jne 0x44d7b6
lea ecx, [ebp - 0xc]
call fcn.00433e70
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0041bebc
add esp, 4
test esi, esi
jmp 0x44d7c0
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x44d7cf
push ebx
push str.Cannot_set_file_attribute
mov ecx, edi
call fcn.0044f060
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x450840
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
push dword [esi + 8]
add ecx, 0x98
call fcn.00450930
test eax, eax
jne 0x45087b
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
pop esi
mov eax, dword [eax + 0x98]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
add eax, 4
mov dword [ebp + 8], eax
pop ebp
jmp method.CInFileStream.3.virtual_12
pop esi
pop ebp
ret 8
Function at 0x4592a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 8]
jne case.0x4592cf.154
mov eax, dword [edi + 8]
add eax, 0x9b
cmp eax, 0x99
ja case.0x4592cf.154
movzx eax, byte [eax + 0x4593d4]
jmp dword [eax*4 + 0x4593bc]
cmp byte [0x479796], 0
je case.0x4592cf.154
call fcn.00457a00
pop edi
xor al, al
pop esi
pop ebp
ret 8
cmp byte [0x479796], 0
jne case.0x4592cf.154
call fcn.00457a00
pop edi
xor al, al
pop esi
pop ebp
ret 8
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x40]
jne 0x459329
cmp byte [esi + 0x44], 0
sete al
mov byte [esi + 0x44], al
call fcn.00458040
pop edi
xor al, al
pop esi
pop ebp
ret 8
test eax, eax
mov dword [esi + 0x40], eax
sete al
mov byte [esi + 0x44], al
call fcn.00458040
pop edi
xor al, al
pop esi
pop ebp
ret 8
push ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [edi + 0xc]
shr eax, 0xf
mov edx, ecx
and al, 1
cmp edx, 8
je 0x45937e
cmp edx, 0x52
je 0x45936d
cmp ecx, 0x76
jne 0x45937a
mov ecx, esi
call fcn.00457bb0
jmp 0x459385
test al, al
je 0x45937a
mov ecx, esi
call fcn.00458040
jmp 0x459385
xor bl, bl
jmp 0x459387
mov ecx, esi
call fcn.00457f80
mov bl, 1
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret 8
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
xor al, al
pop esi
pop ebp
ret 8

Function at 0x459341
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 8]
jne case.0x4592cf.154
mov eax, dword [edi + 8]
add eax, 0x9b
cmp eax, 0x99
ja case.0x4592cf.154
movzx eax, byte [eax + 0x4593d4]
jmp dword [eax*4 + 0x4593bc]
cmp byte [0x479796], 0
je case.0x4592cf.154
call fcn.00457a00
pop edi
xor al, al
pop esi
pop ebp
ret 8
cmp byte [0x479796], 0
jne case.0x4592cf.154
call fcn.00457a00
pop edi
xor al, al
pop esi
pop ebp
ret 8
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x40]
jne 0x459329
cmp byte [esi + 0x44], 0
sete al
mov byte [esi + 0x44], al
call fcn.00458040
pop edi
xor al, al
pop esi
pop ebp
ret 8
test eax, eax
mov dword [esi + 0x40], eax
sete al
mov byte [esi + 0x44], al
call fcn.00458040
pop edi
xor al, al
pop esi
pop ebp
ret 8
push ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [edi + 0xc]
shr eax, 0xf
mov edx, ecx
and al, 1
cmp edx, 8
je 0x45937e
cmp edx, 0x52
je 0x45936d
cmp ecx, 0x76
jne 0x45937a
mov ecx, esi
call fcn.00457bb0
jmp 0x459385
test al, al
je 0x45937a
mov ecx, esi
call fcn.00458040
jmp 0x459385
xor bl, bl
jmp 0x459387
mov ecx, esi
call fcn.00457f80
mov bl, 1
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret 8
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
xor al, al
pop esi
pop ebp
ret 8
Function at 0x45cf30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x10]
push eax
push 0x64
push 0x66
call fcn.0045c830
lea eax, [edi + 0x38]
mov ecx, edi
push eax
push 0x65
push 0x67
call fcn.0045c830
mov ecx, edi
call fcn.00436ee0
cmp byte [edi + 9], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x45cf9e
push 0x1b8
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1b9
push dword [edi + 4]
call ebx
push 0
push eax
call esi
push 0xdb1
push dword [edi + 4]
call ebx
push 0
push eax
call esi
cmp byte [edi + 0xa], 0
je 0x45cfc9
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 7
push 0x401
push dword [edi + 4]
call esi
push 7
push dword [edi + 4]
call ebx
push 1
push eax
push 0x28
push dword [edi + 4]
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45dd30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x45dd62
cmp dword [edx + 8], 0xffffff65
jne 0x45dd62
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x45dda8
sub eax, 0x14
je 0x45dd6b
sub eax, 2
je 0x45dda8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x45dd62
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 2
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x45dd62
mov ecx, esi
call fcn.0045d7c0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x45ea70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4672f2
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x479008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
je 0x45eab7
mov edx, dword [ebx + 0xcc]
test edx, edx
je 0x45eab7
mov eax, dword [ecx]
push 0
push edx
push ecx
call dword [eax + 0x28]
push 1
mov ecx, ebx
call fcn.0045eee0
mov edx, 0x198
lea ecx, [ebp - 0x20]
call fcn.0043b580
mov dword [ebp - 4], 0
mov ecx, ebx
push dword [ebp - 0x20]
push 2
call fcn.00408170
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x20]
call fcn.0041bebc
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 4
push 1
push 1
push 0xf4
push 2
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1bc
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1be
push dword [ebx + 4]
call edi
push 0
push eax
call esi
mov eax, dword [ebx]
mov eax, dword [eax + 0x34]
cmp eax, fcn.00408240
jne 0x45ec7c
lea ecx, [ebp - 0x50]
call fcn.00408c00
lea esi, [ebx + 0x200]
mov dword [ebp - 4], 1
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
lea edi, [ebx + 0x1d0]
mov eax, dword [ebx + 0x1c8]
lea ecx, [ebp - 0x50]
push edi
mov dword [ebp - 0x10], eax
call fcn.00435880
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.00435880
add edi, 0x18
lea ecx, [ebp - 0x38]
push edi
call fcn.00435880
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00435880
push esi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x45ebe7
cmp dword [ebp - 0x4c], 0
mov byte [ebx + 0x21b], 1
jne 0x45ebd1
push str.7_Zip
lea ecx, [ebp - 0x50]
call fcn.004345d0
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [ebp - 0x10]
jmp 0x45ec1d
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x45ec21
mov byte [ebx + 0x21b], 1
cmp dword [ebp - 0x28], esi
je 0x45ec1d
cmp dword [ebp - 0x34], esi
jne 0x45ec0c
push str.7_Zip
lea ecx, [ebp - 0x38]
call fcn.004345d0
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
test esi, esi
je 0x45ec3a
cmp byte [ebx + 0x156], 0
jne 0x45ec3a
mov ecx, ebx
mov byte [ebx + 0x155], 1
call fcn.0045dff0
jmp 0x45ec45
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push dword [ebp - 0x2c]
call fcn.0041bebc
push dword [ebp - 0x38]
call fcn.0041bebc
push dword [ebp - 0x44]
call fcn.0041bebc
push dword [ebp - 0x50]
call fcn.0041bebc
add esp, 0x10
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call eax
jmp 0x45eb43
Function at 0x461d90
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x168
mov eax, dword [0x479008]
xor eax, esp
mov dword [esp + 0x164], eax
test cl, cl
mov edx, 0x4011
mov eax, 0x4110
cmovne eax, edx
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0x90
push 0x46d994
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0041beab
mov esp, ebp
pop ebp
ret

Function at 0x461df0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2d0
mov eax, dword [0x479008]
xor eax, esp
mov dword [esp + 0x2cc], eax
cmp byte [0x47b1a1], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
jne 0x461e55
mov edx, ecx
lea ecx, [esp + 0xc]
call fcn.00433e70
push 0x4010
push 0x160
lea ecx, [esp + 0x20]
or esi, 0x80
push ecx
push esi
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [esp + 0xc]
mov esi, eax
call fcn.0041bebc
add esp, 4
mov eax, esi
jmp 0x461e77
mov eax, dword [0x47b2e0]
test eax, eax
je 0x461e77
push 0x4010
push 0x2b4
lea edx, [esp + 0x20]
or esi, 0x80
push edx
push esi
push ecx
call eax
mov ecx, dword [esp + 0x1c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
xor ecx, esp
call fcn.0041beab
mov esp, ebp
pop ebp
ret 4
Function at 0x462d00
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467860
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x479008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [0x47b2b4], eax
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x462d64
cmp dword [ebp - 0x98], 2
mov byte [0x47b1a1], 1
je 0x462d6b
mov byte [0x47b1a1], 0
call fcn.0040da90
test al, al
jne 0x462d7b
xor eax, eax
jmp 0x462ea9
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x462db8
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x462db8
push 0xc00
call eax
test eax, eax
jne 0x462e43
push 0x106
lea eax, [ebp - 0x2e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
test edi, edi
je 0x462e43
cmp edi, 0x104
ja 0x462e43
cmp word [ebp + edi*2 - 0x2e6], 0x5c
je 0x462df1
mov eax, 0x5c
mov word [ebp + edi*2 - 0x2e4], ax
inc edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, str.userenv
nop dword [eax]
mov cl, byte [esi]
test cl, cl
je 0x462e43
lea eax, [ebp - 0x2e4]
lea eax, [eax + edi*2]
nop
inc esi
test cl, cl
jne 0x462e36
xor ecx, ecx
mov dword [eax], 0x64002e
push 8
mov dword [eax + 4], 0x6c006c
mov word [eax + 8], cx
lea eax, [ebp - 0x2e4]
push ecx
push eax
call ebx
jmp 0x462e00
movzx ecx, cl
mov word [eax], cx
add eax, 2
mov cl, byte [esi]
jmp 0x462e10
call fcn.004630b0
jmp 0x462ea9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041beab
mov esp, ebp
pop ebp
ret 0x10
Function at 0x462f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x479008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov dword [ebp - 0x84], 0x420041
xor edx, edx
mov dword [ebp - 0x80], 0x440043
mov dword [ebp - 0x7c], 0x460045
mov dword [ebp - 0x78], 0x480047
mov dword [ebp - 0x74], 0x4a0049
mov dword [ebp - 0x70], 0x4c004b
mov dword [ebp - 0x6c], 0x4e004d
mov dword [ebp - 0x68], 0x50004f
mov dword [ebp - 0x64], 0x520051
mov dword [ebp - 0x60], 0x540053
mov dword [ebp - 0x5c], 0x560055
mov dword [ebp - 0x58], 0x580057
mov dword [ebp - 0x54], 0x5a0059
mov dword [ebp - 0x50], 0x620061
mov dword [ebp - 0x4c], 0x640063
mov dword [ebp - 0x48], 0x660065
mov dword [ebp - 0x44], 0x680067
mov dword [ebp - 0x40], 0x6a0069
mov dword [ebp - 0x3c], 0x6c006b
mov dword [ebp - 0x38], 0x6e006d
mov dword [ebp - 0x34], 0x70006f
mov dword [ebp - 0x30], 0x720071
mov dword [ebp - 0x2c], 0x740073
mov dword [ebp - 0x28], 0x760075
mov dword [ebp - 0x24], 0x780077
mov dword [ebp - 0x20], 0x7a0079
mov dword [ebp - 0x1c], 0x310030
mov dword [ebp - 0x18], 0x330032
mov dword [ebp - 0x14], 0x350034
mov dword [ebp - 0x10], 0x370036
mov dword [ebp - 0xc], 0x390038
mov dword [ebp - 8], 0x2f002b
test esi, esi
jle 0x46309d
nop dword [eax]
movzx ecx, word [edi + edx*2]
xor eax, eax
cmp word [ebp + eax*2 - 0x84], cx
je 0x463098
inc eax
cmp eax, 0x40
jb 0x463076
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041beab
mov esp, ebp
pop ebp
ret
inc edx
cmp edx, esi
jl 0x463070
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0041beab
mov esp, ebp
pop ebp
ret
Function at 0x41dfde
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041dc80

Function at 0x41dfe9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041de0f

Function at 0x41e3e3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040c4f0
mov eax, dword [0x4653c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041b18c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41e425
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41e581
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0040b850
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x467b40]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041f182
mov ecx, dword [esi*4 + 0x467b40]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41e57a
cmp eax, dword [edi + ecx + 0x24]
jne 0x41e57a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e57a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041f182
add esp, 0x14
test edx, edx
jl 0x41e57a
jg 0x41e4f0
test eax, eax
jb 0x41e57a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41e57a
jl 0x41e50a
cmp dword [ebp - 0x1008], eax
ja 0x41e57a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41e528
test ebx, ebx
je 0x41e561
cmp ecx, edi
jae 0x41e561
mov al, byte [ecx]
cmp al, 0xd
jne 0x41e542
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41e54e
cmp byte [ecx + 1], 0xa
jne 0x41e54e
inc ecx
jmp 0x41e54e
movzx eax, al
movsx eax, byte [eax + 0x465698]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41e528
cmp edx, ebx
jne 0x41e528
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41e57f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040b778
leave
ret
Function at 0x41e620
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x467b40]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41e660
cmp byte [ebx], 0xa
jne 0x41e660
or byte [eax + edi + 0x28], 4
jmp 0x41e665
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41e763
mov al, byte [edx]
cmp al, 0x1a
je 0x41e745
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41e694
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41e6b9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41e6c3
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41e676
jmp 0x41e763
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e740
cmp dword [ebp - 0xc], 0
je 0x41e740
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x467b40]
test byte [eax + edi + 0x28], 0x48
je 0x41e71a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41e705
mov byte [esi], dl
jmp 0x41e716
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x467b40]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41e763
cmp byte [ebp - 1], 0xa
jne 0x41e729
cmp esi, ebx
jne 0x41e729
mov byte [esi], 0xa
jmp 0x41e762
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041f1a0
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41e763
mov byte [esi], 0xd
jmp 0x41e762
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x467b40]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41e75f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41e763
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret