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

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
push edi
mov edi, dword [edx + 0x1050]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x42c8b5
push ebx
mov edx, dword [edx + 0x1058]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x42c890
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0x1c
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 8]
mov ecx, eax
and ecx, 0xffff00e3
mov ebx, ebp
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00e3
shr edx, 2
lea ecx, [ecx + ebx + 0x42]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xe3
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0x1c
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x42]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x42c7de
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1050]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1050]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x42c7ba
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x42c959
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1050]
push edi
mov edi, dword [edx + 0x105c]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x42ca9d
push ebx
push esi
mov esi, 0xff1c
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1058]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x42ca77
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xe3
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 0x42]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x208]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x208]
shr eax, 2
and edx, 0xffff00e3
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x42c9c2
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1050]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1050]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x42c999
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x42cbc6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1050]
push edi
mov edi, dword [edx + 0x105c]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x42cd0a
push ebx
push esi
mov esi, 0xff00
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1058]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x42cce4
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xff
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 2]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x200]
shr eax, 2
and edx, 0xffff00ff
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x42cc2f
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1050]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1050]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x42cc06
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x42cd12
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
push edi
mov edi, dword [edx + 0x1050]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x42ce48
push ebx
mov edx, dword [edx + 0x1058]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x42ce23
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0xf
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 2]
mov ecx, eax
and ecx, 0xffff00f0
mov ebx, ebp
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00f0
shr edx, 2
lea ecx, [ecx + ebx + 0x20]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xf0
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0xf
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x42cd71
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1050]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1050]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x42cd4d
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret

Function at 0x43646a
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x436497
push esi
call fcn.00446739
cmp byte [esi + 0x40], 0
pop ecx
je 0x436490
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x436506
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x4364fb
mov eax, dword [esi + 8]
test eax, eax
je 0x4364b8
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x18c]
push esi
call dword [eax]
test eax, eax
pop ecx
je 0x4364f7
cmp eax, 2
je 0x4364fb
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4364ad
cmp eax, 3
je 0x4364dc
cmp eax, 1
jne 0x4364ad
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x4364ad
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4364ad
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x436524
cmp eax, 0xcc
je 0x436524
mov eax, dword [esi]
mov dword [eax + 0x14], 0x12
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.0043633d
pop esi
ret
Function at 0x448043
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x448051
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x448125
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4638f8]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4638f8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4638f8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4638f8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4638f8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4638f8]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4638f8]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4638f8]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x44806e
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x448145
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x4638f8]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x44812b
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420004]
jne 0x40100a
repz ret
jmp fcn.0040130e

Function at 0x4054c3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004034d1
and dword [ebp - 0x14], 0
cmp dword [0x42295c], 0
mov dword [ebp - 0x18], eax
jne 0x405576
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40561e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40561e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42295c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x422960], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x422964], eax
call edi
push eax
call esi
mov dword [0x42296c], eax
test eax, eax
je 0x405576
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x422968], eax
mov eax, dword [0x422968]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4055cf
cmp dword [0x42296c], ecx
je 0x4055cf
push eax
call esi
push dword [0x42296c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4055cf
test ebx, ebx
je 0x4055cf
call edi
test eax, eax
je 0x4055c6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4055c6
test byte [ebp - 8], 1
jne 0x4055cf
or dword [ebp + 0x10], 0x200000
jmp 0x405602
mov eax, dword [0x422960]
cmp eax, dword [ebp - 0x18]
je 0x405602
push eax
call esi
test eax, eax
je 0x405602
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405602
mov eax, dword [0x422964]
cmp eax, dword [ebp - 0x18]
je 0x405602
push eax
call esi
test eax, eax
je 0x405602
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42295c]
call esi
test eax, eax
je 0x40561e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405620
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x41bec0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
mov edx, dword [0x1ef4de4]
mov eax, dword [0x1ef4b08]
xor ecx, ecx
mov word [0x1ef4e00], cx
lea ecx, [ebp - 8]
push ecx
push 0x40
push edx
push eax
mov dword [0x1ef4dec], 0x6e0072
mov dword [0x1ef4df0], 0x6c0065
mov dword [0x1ef4df4], 0x320033
mov dword [0x1ef4df8], 0x64002e
mov dword [0x1ef4dfc], 0x6c006c
mov dword [0x1ef4de8], 0x65006b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x41c0f0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x420dd0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1ef4b08]
push edi
mov edi, dword [0x1ef4de4]
push eax
call fcn.0041c010
add esp, 4
cmp dword [0x1ef4de4], 0x2f
jne 0x41c14d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0041c060
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c3d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
xor edi, edi
cmp dword [0x1ef4de4], 0x8cf
jne 0x41c406
push 0
push 0
call ebx
cmp edi, 0x845013
jne 0x41c41d
mov eax, dword [0x421bf0]
add eax, 0xa231
mov dword [0x1ef4de4], eax
cmp dword [0x1ef4de4], 0x141
jne 0x41c44b
push str.viwesorihefukenapedumate_ronofo_virejesirahipuj_cafaloteceselu_dizupucucakixucafukiz
lea ecx, [ebp - 0x804]
push ecx
call esi
mov dword [0x422e80], 0xec58acac
mov dword [0x422e84], 0xffffffff
inc edi
cmp edi, 0xbbe2a98
jl 0x41c3f4
call fcn.0041c160
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40288e
pop dword [ebp - 0x10]
mov eax, 0x94aaf37a
add eax, 0x6b953514
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x62a6eaf6
sub dword [ebp - 0x20], 0x1454a5ab
mov dword [ebp - 0x1c], 0x82f2ee8c
add dword [ebp - 0x1c], 0xaf405db9
mov dword [ebp - 0x18], 0x3067e004
add dword [ebp - 0x18], 0x1be4642a
mov dword [ebp - 0x14], 0x5e1a2427
add dword [ebp - 0x14], 0xa1e5dbd9
lea eax, [ebp - 0x20]
push eax
mov eax, 0xa223319e
sub eax, 0xa1e2b112
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x5bb5d24d
sub dword [ebp - 0x20], 0xe74368f7
mov dword [ebp - 0x1c], 0xaad8f12c
add dword [ebp - 0x1c], 0x96937049
mov dword [ebp - 0x18], 0x6acb8272
sub dword [ebp - 0x18], 0x75c1606
mov dword [ebp - 0x14], 0xcf4546a4
add dword [ebp - 0x14], 0x30bab95c
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x337de
push 0
call eax
mov ecx, 0x3b95
mov esi, eax
mov edi, 0x46a26f25
add edi, 0xb99ea0db
add edi, dword [ebp - 0x10]
mov ebx, 0xa1a7a45a
sub ebx, 0x56dac355
sub dword [ebp - 8], 0xb00e7f4f
mov edx, dword [edi]
sub dword [ebp - 8], 0x2bca4e09
xor edx, ebx
xor dword [ebp - 0xc], esi
mov dword [esi], edx
xor dword [ebp - 8], 0x7f08eb3b
add esi, 4
add edi, 4
loop 0x4029a5
add eax, 0xe127
xor ebx, ebx
add ebx, eax
add eax, 0xa98904f9
add eax, 0x5676fb0c
mov ecx, 0xc45afc41
add ecx, 0x3be503bf
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401860
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4018c6
mov eax, dword [ebp + 0xc]
push 0
shl eax, 9
push eax
push ecx
call fcn.0042b9eb
add esp, 0xc
test eax, eax
jne 0x401922
push esi
push dword [edi + 4]
mov esi, dword [ebp + 0x10]
shl esi, 9
push esi
push 1
push ebx
call fcn.0042bbfe
add esp, 0x10
cmp esi, eax
sete al
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265f4
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 8], 0xffffffff
je 0x401922
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00401700
mov al, byte [ebp - 0x14]
push dword [ebp + 0x10]
mov cl, byte [ebp - 0x13]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0x12]
mov byte [ebp - 0xc], al
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x10]
push ebx
push eax
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xd], cl
push ecx
mov ecx, edi
mov byte [ebp - 0x10], 0x40
mov byte [ebp - 0xb], 2
mov word [ebp - 9], 0xff0a
call fcn.00401740
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265f4
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.004265f4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x404350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x200
lea eax, [ebp - 0x208]
mov esi, edx
push 0
push eax
mov edi, ecx
xor bl, bl
call fcn.00427c90
cmp byte [esi], bl
mov ecx, 0x1000
mov eax, 0xe00
mov dword [esi + 0x14], 0
push 0
cmovne eax, ecx
push eax
push edi
call fcn.0042b9eb
add esp, 0x18
test eax, eax
jne 0x40443e
push edi
push 0x200
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.0042bbfe
add esp, 0x10
cmp eax, 0x200
jne 0x40443e
lea ecx, [ebp - 0x208]
call fcn.00404020
movzx eax, word [ebp - 0xa]
movzx edi, byte [ebp - 0x10]
mov word [esi + 8], ax
movzx eax, byte [ebp - 0xc]
mov word [esi + 0xa], ax
movzx eax, word [ebp - 0xe]
lea ecx, [edi*2 + 4]
mov dword [ebp - 0x20c], 0x15c1
mov dx, word [ebp - 0x20c]
mov word [esi + 0xc], ax
mov dword [esi + 4], edi
test ecx, ecx
je 0x40441b
lea eax, [ebp - 0xa]
add dx, word [eax]
lea eax, [eax - 2]
sub ecx, 1
jne 0x404410
lea eax, [edi*4]
lea ecx, [ebp - 0x12]
sub ecx, eax
cmp word [ecx], dx
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265f4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
mov dword [esi + 0x14], 0xffffffff
xor ecx, ebp
pop esi
pop ebx
call fcn.004265f4
mov esp, ebp
pop ebp
ret
Function at 0x404460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x200
lea eax, [ebp - 0x408]
mov byte [ebp - 0x409], 0
mov ebx, ecx
mov edi, edx
push 0
push eax
mov dword [ebp - 0x410], ebx
call fcn.00427c90
push 0x200
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.00427c90
cmp byte [edi], 0
mov ecx, 0x400
mov eax, 0x200
mov dword [edi + 0x14], 0
push 0
cmovne eax, ecx
push eax
push ebx
call fcn.0042b9eb
add esp, 0x24
test eax, eax
jne 0x40464e
push ebx
push 0x200
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.0042bbfe
add esp, 0x10
cmp eax, 0x200
jne 0x40464e
lea ecx, [ebp - 0x208]
call fcn.00404020
movzx edx, word [ebp - 0x206]
movzx eax, byte [ebp - 0x203]
movzx esi, byte [ebp - 0x204]
inc ax
mov dword [ebp - 0x414], edx
mov word [edi + 0xc], si
mov word [edi + 0xa], ax
test edx, edx
je 0x40463a
movzx ecx, ax
imul ecx, esi
cmp edx, ecx
jne 0x40463a
push 2
push 0
push ebx
call fcn.0042b9eb
push ebx
call fcn.0043199d
push 0
push 0
push ebx
mov esi, eax
call fcn.0042b9eb
xor ecx, ecx
add esp, 0x1c
cmp byte [edi], cl
mov eax, esi
cdq
setne cl
and edx, 0x1ff
add eax, edx
sar eax, 9
sub eax, ecx
cdq
idiv dword [ebp - 0x414]
movzx eax, ax
mov word [edi + 8], ax
test edx, edx
je 0x40458d
inc eax
mov word [edi + 8], ax
xor esi, esi
mov byte [edi + 1], 1
lea eax, [ebp - 0x200]
lea ebx, [esi + 2]
nop dword [eax]
movzx ecx, word [eax + esi*4]
movzx eax, word [ebp + esi*4 - 0x202]
shl ecx, 0x10
or ecx, eax
je 0x404637
xor eax, eax
cmp byte [edi], al
push 0
setne al
add eax, ecx
shl eax, 9
push eax
push dword [ebp - 0x410]
call fcn.0042b9eb
add esp, 0xc
test eax, eax
jne 0x404633
push dword [ebp - 0x410]
lea eax, [ebp - 0x408]
push 0x200
push 1
push eax
call fcn.0042bbfe
add esp, 0x10
cmp eax, 0x200
jne 0x404633
lea ecx, [ebp - 0x408]
call fcn.00404020
cmp word [ebp - 0x408], bx
jne 0x404633
inc esi
lea eax, [ebp - 0x200]
inc ebx
cmp esi, 0x40
jl 0x4045a0
mov al, byte [edi + 1]
mov dword [edi + 4], esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265f4
mov esp, ebp
pop ebp
ret
mov byte [edi + 1], 0
mov dword [edi + 4], esi
mov al, byte [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265f4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x409]
xor ecx, ebp
mov dword [edi + 0x14], 0xffffffff
pop edi
pop esi
pop ebx
call fcn.004265f4
mov esp, ebp
pop ebp
ret