joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4688d8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x468a83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x468a64
mov dl, 1
mov eax, dword [0x416cb4]
call fcn.00403298
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040dc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x468a53
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00456360
test al, al
je 0x468a46
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x468a94
lea eax, [ebp - 0x254]
call fcn.00409438
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x468a46
xor eax, eax
push ebp
push 0x468a3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x468acc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x468a28
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040434c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x468a28
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040434c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468a46
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x468949
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b6ec
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468a8a
lea eax, [ebp - 0x260]
call fcn.004040dc
ret

Function at 0x4693b8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x48abc8]
cmp byte [eax + 0xa5], 0
jne 0x469429
cmp dword [0x48abe0], 0
jne 0x4693ea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x469374
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48abe0], eax
cmp dword [0x48abdc], 0
jne 0x469405
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48abdc], eax
cmp dword [0x48abe4], 0
jne 0x469429
push esp
push 0
push 0
push 0x469318
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x48abe4], eax
pop edx
ret
Function at 0x469520
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x469537
add esp, 0xfffffff0
call fcn.0040362c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421db8
mov eax, dword [0x489bac]
cmp word [eax + 2], 0
jne 0x46955f
mov eax, dword [0x489bac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046aca0
mov eax, dword [0x489cf0]
cmp word [eax + 2], 0
jne 0x469579
mov eax, dword [0x489cf0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046ae98
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416650]
call fcn.00403298
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416650]
call fcn.00403298
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4242fc]
call fcn.0042b93c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x469700
mov eax, dword [0x489a28]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bd0c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46b438
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x489a28]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cdf0
test eax, eax
je 0x46966e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e18
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ce18
test eax, eax
je 0x469682
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040434c
mov eax, dword [0x4897e4]
cmp byte [eax], 0
jne 0x4696b6
mov eax, ebx
call fcn.00469828
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046b614
mov eax, ebx
call fcn.0046bfd8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4696f6
call fcn.00403684
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469aa8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48abc8]
cmp dword [eax + 0x30], 0
je 0x469b52
cmp dword [ebx + 0x94], 0
jne 0x469b4c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x469a38
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x469b4c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x469b12
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x469b4c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418fa8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x469b21
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46a6b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46a6e9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004041cc
jmp 0x46a6f6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404130
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46b7f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46b831
mov eax, esi
call fcn.00451928
test al, al
je 0x46b831
mov eax, dword [ebx + 0x84]
call fcn.00451624
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46b831
push 0
mov eax, dword [ebx + 0x84]
call fcn.00451624
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x479e60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x479e68
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47a05a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x47a070
mov eax, esi
call fcn.00477cec
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404130
lea ecx, [ebp - 0x10]
mov edx, 0x47a084
mov eax, esi
call fcn.00477cec
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404130
lea ecx, [ebp - 0x14]
mov edx, 0x47a09c
mov eax, esi
call fcn.00477cec
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404130
lea ecx, [ebp - 0x18]
mov edx, 0x47a0b8
mov eax, esi
call fcn.00477cec
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404130
lea ecx, [ebp - 0x1c]
mov edx, 0x47a0d4
mov eax, esi
call fcn.00477cec
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404130
lea ecx, [ebp - 0x24]
mov edx, 0x47a0ec
mov eax, esi
call fcn.00477cec
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004083a8
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408788
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47a104
mov eax, esi
call fcn.00477cec
mov eax, dword [ebp - 0x28]
call fcn.004716ac
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x47a114
mov eax, esi
call fcn.00477cec
mov eax, dword [ebp - 0x2c]
call fcn.004716ac
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x47a12c
mov eax, esi
call fcn.00477cec
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408788
inc eax
je 0x479ffd
lea ecx, [ebp - 0x34]
mov edx, 0x47a12c
mov eax, esi
call fcn.00477cec
mov eax, dword [ebp - 0x34]
call fcn.0040874c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409dc4
fstp qword [ebp - 0x3c]
wait
call fcn.0040a128
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x47a018
lea ecx, [ebp - 0x40]
mov edx, 0x47a12c
mov eax, esi
call fcn.00477cec
mov eax, dword [ebp - 0x40]
call fcn.004716ac
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x47a13c
mov eax, esi
call fcn.00477cec
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a061
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404100
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404100
ret
Function at 0x480d7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x480dd6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00480d6c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00470318
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046ff18
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480ddd
lea eax, [ebp - 4]
call fcn.004040dc
ret
Function at 0x4868d4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040458c
mov eax, dword [ebp - 0xc]
call fcn.0040458c
xor eax, eax
push ebp
push 0x486b00
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00402a24
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00408c78
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
call fcn.004043e8
mov eax, dword [ebp - 0x14]
call fcn.00408b18
test al, al
je 0x486960
push 1
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x416ed8]
call fcn.0041bcb4
mov dword [ebp - 0x10], eax
jmp 0x486977
push 0xffff
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x416ed8]
call fcn.0041bcb4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x486abc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0048328c
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov byte [eax + 0x110], 1
xor eax, eax
push ebp
push 0x486aa8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, 0x486b18
call fcn.004046e0
mov ecx, eax
lea eax, [ebp - 8]
mov edx, 1
call fcn.0040463c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00481a90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486ab2
mov eax, dword [ebp - 0x10]
call fcn.004032c8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x324], 0
je 0x486aa7
mov eax, dword [ebp - 0x14]
call fcn.00408b18
test al, al
je 0x486aa7
xor eax, eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], 3
lea eax, [ebp - 0x44]
mov ecx, 0x486b24
mov edx, dword [ebp - 0x14]
call fcn.004043e8
mov eax, dword [ebp - 0x44]
call fcn.0040459c
mov dword [ebp - 0x2e], eax
mov eax, 0x486b28
mov dword [ebp - 0x2a], eax
mov word [ebp - 0x26], 0x410
lea eax, [ebp - 0x36]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
jne 0x486aa7
lea ecx, [ebp - 0x18]
mov edx, 0x486b34
mov eax, dword [ebp - 0xc]
call fcn.00408be4
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.00402a24
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408c78
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
call fcn.004043e8
mov eax, dword [ebp - 0x18]
call fcn.00408b18
test al, al
je 0x486aa7
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.00408b40
ret
Function at 0x4017ac
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
lea esi, [ebp - 0x108]
push esi
call sub.KERNEL32.DLL_GetCommandLineA
pop esi
mov dword [esi], eax
lea esi, [ebp - 0x134]
push esi
mov eax, dword [ebp - 0x108]
push eax
call fcn.0040108a
pop esi
mov dword [esi], eax
mov eax, dword [ebp - 0x108]
push eax
lea esi, [ebp - 0x104]
push esi
mov eax, dword [ebp - 0x134]
push eax
mov eax, 1
pop ecx
add eax, ecx
push eax
call fcn.004010a8
lea esi, [ebp - 0x130]
mov eax, 1
mov dword [esi], eax
lea esi, [ebp - 0x128]
push esi
mov eax, dword [ebp - 0x130]
mov ecx, 1
sub eax, ecx
pop esi
lea esi, [esi + eax*4]
push esi
lea esi, [ebp - 0x104]
mov eax, esi
pop esi
mov dword [esi], eax
lea esi, [ebp - 0x12c]
push esi
push 1
mov eax, dword [ebp - 0x134]
pop ecx
pop esi
mov dword [esi], ecx
sub eax, ecx
inc eax
push eax
cmp dword [esp], 0
jg 0x401853
jmp 0x401949
lea esi, [ebp - 0x104]
mov eax, dword [ebp - 0x12c]
dec eax
lea esi, [esi + eax]
movzx eax, byte [esi]
cmp eax, 0x20
jle 0x401872
jmp 0x401889
lea esi, [ebp - 0x104]
mov eax, dword [ebp - 0x12c]
dec eax
lea esi, [esi + eax]
mov eax, 0
mov byte [esi], al
mov eax, dword [ebp - 0x12c]
cmp eax, 1
mov eax, 1
jg 0x40189d
xor eax, eax
test eax, eax
jne 0x4018a6
jmp 0x4018c7
lea esi, [ebp - 0x104]
mov eax, dword [ebp - 0x12c]
dec eax
lea esi, [esi + eax]
movzx eax, byte [esi]
cmp eax, 0x20
mov eax, 1
jg 0x4018c7
xor eax, eax
test eax, eax
jne 0x4018d0
jmp 0x4018fa
lea esi, [ebp - 0x104]
push esi
mov eax, dword [ebp - 0x12c]
mov ecx, 1
sub eax, ecx
pop esi
dec eax
lea esi, [esi + eax]
movzx eax, byte [esi]
cmp eax, 0
mov eax, 1
je 0x4018fa
xor eax, eax
test eax, eax
jne 0x401903
jmp 0x401939
lea esi, [ebp - 0x130]
inc dword [esi]
lea esi, [ebp - 0x128]
push esi
mov eax, dword [ebp - 0x130]
mov ecx, 1
sub eax, ecx
pop esi
lea esi, [esi + eax*4]
push esi
lea esi, [ebp - 0x104]
mov eax, dword [ebp - 0x12c]
dec eax
lea esi, [esi + eax]
mov eax, esi
pop esi
mov dword [esi], eax
lea esi, [ebp - 0x12c]
inc dword [esi]
dec dword [esp]
jmp 0x401848
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x130]
mov ecx, eax
pop eax
cmp eax, ecx
jl 0x401968
jmp 0x40198b
mov eax, dword [ebp + 8]
push eax
lea esi, [ebp - 0x128]
mov eax, dword [ebp + 0xc]
lea esi, [esi + eax*4]
mov eax, dword [esi]
push eax
call fcn.00401094
jmp 0x40199c
mov eax, dword [ebp + 8]
push eax
push 0x4051f5
call fcn.00401094
lea esi, [ebp - 4]
mov eax, dword [ebp - 0x130]
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x59ecd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb3000]
push edi
jmp 0x59ecea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x59ecf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59ece0
mov eax, 1
add ebx, ebx
jne 0x59ed03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59ed14
jne 0x59ed33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59ed33
dec eax
add ebx, ebx
jne 0x59ed20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x59ecf8
add ebx, ebx
jne 0x59ed2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59ed85
xor ecx, ecx
sub eax, 3
jb 0x59ed4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59edba
sar eax, 1
mov ebp, eax
jmp 0x59ed56
add ebx, ebx
jne 0x59ed56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59ed24
inc ecx
add ebx, ebx
jne 0x59ed64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59ed24
add ebx, ebx
jne 0x59ed71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59ed66
jne 0x59ed82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59ed66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x59eda4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59ed96
jmp 0x59ece6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x59eda4
add edi, ecx
jmp 0x59ece6
pop esi
mov edi, esi
mov ecx, 0x4ee4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x59edc2
cmp byte [edi], 0x13
jne 0x59edc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x59edc7
lea edi, [esi + 0x19a000]
mov eax, dword [edi]
or eax, eax
je 0x59ee36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d8b50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d8c14]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x59edf4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d8c1c]
or eax, eax
je 0x59ee30
mov dword [ebx], eax
add ebx, 4
jmp 0x59ee11
call dword [esi + 0x1d8c18]
mov ebp, dword [esi + 0x1d8c20]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x59ee6a
sub esp, 0xffffff80
jmp 0x4ad0e6
Function at 0x41c3a7
Capabilities:
Read file on windows

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

Function at 0x41c3b2
Capabilities:
Read file on windows

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

Function at 0x41c7ac
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040b950
mov eax, dword [0x435100]
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.0041a30f
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41c7ee
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41c94a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00427050
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 + 0x453468]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041d97c
mov ecx, dword [esi*4 + 0x453468]
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 0x41c943
cmp eax, dword [edi + ecx + 0x24]
jne 0x41c943
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 0x41c943
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041d97c
add esp, 0x14
test edx, edx
jl 0x41c943
jg 0x41c8b9
test eax, eax
jb 0x41c943
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41c943
jl 0x41c8d3
cmp dword [ebp - 0x1008], eax
ja 0x41c943
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41c8f1
test ebx, ebx
je 0x41c92a
cmp ecx, edi
jae 0x41c92a
mov al, byte [ecx]
cmp al, 0xd
jne 0x41c90b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41c917
cmp byte [ecx + 1], 0xa
jne 0x41c917
inc ecx
jmp 0x41c917
movzx eax, al
movsx eax, byte [eax + 0x4353d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41c8f1
cmp edx, ebx
jne 0x41c8f1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41c948
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040aa09
leave
ret
Function at 0x41ce1a
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 + 0x453468]
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 0x41ce5a
cmp byte [ebx], 0xa
jne 0x41ce5a
or byte [eax + edi + 0x28], 4
jmp 0x41ce5f
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41cf5d
mov al, byte [edx]
cmp al, 0x1a
je 0x41cf3f
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41ce8e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41ceb3
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41cebd
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 0x41ce70
jmp 0x41cf5d
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 0x41cf3a
cmp dword [ebp - 0xc], 0
je 0x41cf3a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x453468]
test byte [eax + edi + 0x28], 0x48
je 0x41cf14
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41ceff
mov byte [esi], dl
jmp 0x41cf10
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x453468]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41cf5d
cmp byte [ebp - 1], 0xa
jne 0x41cf23
cmp esi, ebx
jne 0x41cf23
mov byte [esi], 0xa
jmp 0x41cf5c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041d99a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41cf5d
mov byte [esi], 0xd
jmp 0x41cf5c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x453468]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41cf59
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41cf5d
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret