joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427f57
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x468600]
jne 0x427f61
repz ret
jmp fcn.0042dfa1

Function at 0x438975
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042d905
and dword [ebp - 4], 0
cmp dword [0x47a4cc], 0
mov ebx, eax
jne 0x438a26
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x438ad7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x438ad7
push eax
call fcn.0042d893
mov dword [esp], 0x457820
push edi
mov dword [0x47a4cc], eax
call esi
push eax
call fcn.0042d893
mov dword [esp], 0x45780c
push edi
mov dword [0x47a4d0], eax
call esi
push eax
call fcn.0042d893
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47a4d4], eax
call esi
push eax
call fcn.0042d893
pop ecx
mov dword [0x47a4dc], eax
test eax, eax
je 0x438a26
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042d893
pop ecx
mov dword [0x47a4d8], eax
mov eax, dword [0x47a4d8]
cmp eax, ebx
je 0x438a7e
cmp dword [0x47a4dc], ebx
je 0x438a7e
push eax
call fcn.0042d90e
push dword [0x47a4dc]
mov esi, eax
call fcn.0042d90e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x438a7e
test edi, edi
je 0x438a7e
call esi
test eax, eax
je 0x438a75
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x438a75
test byte [ebp - 0xc], 1
jne 0x438a7e
or dword [ebp + 0x10], 0x200000
jmp 0x438ab7
mov eax, dword [0x47a4d0]
cmp eax, ebx
je 0x438ab7
push eax
call fcn.0042d90e
pop ecx
test eax, eax
je 0x438ab7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x438ab7
mov eax, dword [0x47a4d4]
cmp eax, ebx
je 0x438ab7
push eax
call fcn.0042d90e
pop ecx
test eax, eax
je 0x438ab7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47a4cc]
call fcn.0042d90e
pop ecx
test eax, eax
je 0x438ad7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x438ad9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x442570
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], 0
mov ecx, dword [ebp - 8]
mov byte [ecx + 6], 0
cmp dword [ebp + 8], 0
je 0x44259f
mov edx, dword [ebp + 8]
push edx
call fcn.00430f60
add esp, 4
test eax, eax
jne 0x4425a3
xor eax, eax
jmp 0x442612
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 6
push ecx
call fcn.00443c20
add esp, 8
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 8]
call fcn.004428a0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4425f0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x110
call fcn.0044c090
test eax, eax
jne 0x4425f0
mov dword [ebp - 4], 0
push 7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 4], 0
je 0x44260f
mov ecx, dword [ebp - 8]
call fcn.00442640
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x4428a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x468600]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x414], ecx
mov eax, dword [ebp - 0x414]
add eax, 6
push eax
call fcn.00430f60
add esp, 4
test eax, eax
jne 0x4428d6
xor eax, eax
jmp 0x4429dc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov ecx, dword [ebp - 0x414]
add ecx, 6
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4429b0
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
mov edx, dword [ebp - 0x414]
add edx, 6
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x442931
xor eax, eax
jmp 0x4429dc
push 0
call fcn.004429f0
add esp, 4
push eax
call fcn.00448dbc
add esp, 4
mov dword [ebp - 0x410], 0
jmp 0x44295f
mov eax, dword [ebp - 0x410]
add eax, 1
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0x400
jge 0x44297f
call fcn.00448dce
mov ecx, dword [ebp - 0x410]
mov byte [ebp + ecx - 0x408], al
jmp 0x442950
push 0
lea edx, [ebp - 0x40c]
push edx
push 0x400
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4429b0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4429dc
push 0
push 0
push 0x300
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00427f57
mov esp, ebp
pop ebp
ret
Function at 0x4449e0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x30]
and ecx, 0xc
cmp cl, 0xc
jne 0x444af9
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x444a06
cmp dword [eax + 0x44], 0
jne 0x444af9
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test ecx, ecx
jne 0x444a1e
push str.hid.dll
call edi
mov edx, dword [esi + 4]
mov dword [edx + 0x48], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x44], 0
jne 0x444a34
push str.WinUsb.dll
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test ecx, ecx
je 0x444aa6
cmp dword [eax + 0xc], 0
jne 0x444a58
push str.HidD_GetManufacturerString
push ecx
call edi
mov edx, dword [esi + 4]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 0
jne 0x444a72
mov eax, dword [eax + 0x48]
push str.HidD_GetHidGuid
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x10], 0
jne 0x444a8c
mov edx, dword [eax + 0x48]
push str.HidD_GetProductString
push edx
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x18], 0
jne 0x444aa6
mov edx, dword [eax + 0x48]
push str.HidD_GetSerialNumberString
push edx
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x444af8
cmp dword [eax + 0x1c], 0
jne 0x444ac4
push str.WinUsb_ControlTransfer
push ecx
call edi
mov edx, dword [esi + 4]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x20], 0
jne 0x444ade
mov eax, dword [eax + 0x44]
push str.WinUsb_Initialize
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 4]
cmp dword [eax + 0x24], 0
jne 0x444af8
mov edx, dword [eax + 0x44]
push str.WinUsb_Free
push edx
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x24], eax
pop edi
pop esi
ret
Function at 0x445180
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x468600]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp + 8]
cmp esi, eax
jne 0x4451b4
cmp edi, eax
je 0x44529d
jmp 0x4451ba
mov dword [esi], 0xffffffff
push ebx
push eax
push 0x80
push 3
push eax
push 3
push 0xc0000000
push ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44529c
test esi, esi
je 0x445232
push 0
lea eax, [ebp - 0x210]
push eax
push 0xc
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0
push 0x2d1080
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44522c
cmp dword [ebp - 0x210], 0
je 0x44522c
mov edx, dword [ebp - 0x21c]
mov dword [esi], edx
jmp 0x445232
mov dword [esi], 0xffffffff
test edi, edi
je 0x445295
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax + 4]
test byte [ecx + 0x30], 1
je 0x445295
xor eax, eax
push 0x200
push eax
lea edx, [ebp - 0x20c]
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
push edx
mov byte [ebp - 0xc], 0x12
mov byte [ebp - 8], 0x24
call fcn.00429d20
push 0
push 0xa
push 0x24
lea eax, [ebp - 0x20c]
push eax
push 0x10
lea ecx, [ebp - 0xc]
push ecx
push ebx
call fcn.00447dd0
add esp, 0x28
test al, al
je 0x445295
mov ecx, 0xa
lea esi, [ebp - 0x204]
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00427f57
mov esp, ebp
pop ebp
ret 0xc
Function at 0x448280
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x468600]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x44829c
cmp dword [ebp + 8], 0xffffffff
jne 0x4482a3
xor eax, eax
jmp 0x4483c4
cmp dword [ebp + 0xc], 0
jne 0x4482b0
xor eax, eax
jmp 0x4483c4
cmp dword [ebp + 0x14], 0
jne 0x4482c3
cmp dword [ebp + 0x18], 0
je 0x4482c3
xor eax, eax
jmp 0x4483c4
cmp dword [ebp + 0x20], 0
jne 0x4482d0
mov dword [ebp + 0x20], 1
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x4482e9
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x20]
jge 0x4483c2
push 0x50
push 0
lea edx, [ebp - 0x60]
push edx
call fcn.00429d20
add esp, 0xc
mov eax, 0x2c
mov word [ebp - 0x60], ax
mov byte [ebp - 0x5d], 0
mov byte [ebp - 0x5c], 0
mov byte [ebp - 0x5b], 0
mov byte [ebp - 0x59], 0x18
mov byte [ebp - 0x58], 0
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x54], ecx
movzx edx, byte [ebp + 0x1c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov cl, byte [ebp + 0x10]
mov byte [ebp - 0x5a], cl
movzx edx, byte [ebp - 0x5a]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.0042e0b0
add esp, 0xc
mov dword [ebp - 0x48], 0x30
push 0
lea edx, [ebp - 4]
push edx
push 0x50
lea eax, [ebp - 0x60]
push eax
push 0x50
lea ecx, [ebp - 0x60]
push ecx
push 0x4d014
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x448391
lea eax, [ebp - 0x30]
push eax
call fcn.00447e90
add esp, 4
test eax, eax
je 0x4483b6
cmp dword [ebp - 0x64], 0
je 0x4483a0
mov dword [ebp - 0x68], 0x459238
jmp 0x4483a7
mov dword [ebp - 0x68], str.w1_retry_1_n
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4482e0
mov eax, 1
jmp 0x4483c4
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00427f57
mov esp, ebp
pop ebp
ret
Function at 0x4483e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x468600]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x4483fc
cmp dword [ebp + 8], 0xffffffff
jne 0x448403
xor eax, eax
jmp 0x448524
cmp dword [ebp + 0xc], 0
jne 0x448410
xor eax, eax
jmp 0x448524
cmp dword [ebp + 0x14], 0
jne 0x448423
cmp dword [ebp + 0x18], 0
je 0x448423
xor eax, eax
jmp 0x448524
cmp dword [ebp + 0x20], 0
jne 0x448430
mov dword [ebp + 0x20], 1
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x448449
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x20]
jge 0x448522
push 0x50
push 0
lea edx, [ebp - 0x60]
push edx
call fcn.00429d20
add esp, 0xc
mov eax, 0x2c
mov word [ebp - 0x60], ax
mov byte [ebp - 0x5d], 0
mov byte [ebp - 0x5c], 0
mov byte [ebp - 0x5b], 0
mov byte [ebp - 0x59], 0x18
mov byte [ebp - 0x58], 1
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x54], ecx
movzx edx, byte [ebp + 0x1c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov cl, byte [ebp + 0x10]
mov byte [ebp - 0x5a], cl
movzx edx, byte [ebp - 0x5a]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.0042e0b0
add esp, 0xc
mov dword [ebp - 0x48], 0x30
push 0
lea edx, [ebp - 4]
push edx
push 0x50
lea eax, [ebp - 0x60]
push eax
push 0x50
lea ecx, [ebp - 0x60]
push ecx
push 0x4d014
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4484f1
lea eax, [ebp - 0x30]
push eax
call fcn.00447e90
add esp, 4
test eax, eax
je 0x448516
cmp dword [ebp - 0x64], 0
je 0x448500
mov dword [ebp - 0x68], str.r1_retry_0_n
jmp 0x448507
mov dword [ebp - 0x68], str.r1_retry_1_n
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x448440
mov eax, 1
jmp 0x448524
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00427f57
mov esp, ebp
pop ebp
ret
Function at 0x448960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
add eax, 0x1ff
shr eax, 9
push esi
movzx ecx, ax
push edi
lea edi, [ebx + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
mov dword [ebx], 0
mov dword [ebx + 4], 0xf080220f
mov dword [edi], 0xf1adabb1
mov dword [ebx + 0xc], 0xf2d1c3b3
mov dword [ebx + 0x10], 0xb1baabbc
mov dword [ebx + 0x14], 0xb0b2bcb0
mov dword [ebx + 0x18], 0xb1abadb0
mov dword [ebx + 0x1c], 0xb3c3d1cf
call fcn.00448dce
mov esi, eax
and esi, 0xff
call fcn.00448dce
shl eax, 8
or eax, esi
mov word [ebx + 0x20], ax
cmp ax, 4
jae 0x4489e5
add eax, 4
mov word [ebx + 0x20], ax
mov esi, dword [ebp - 8]
xor ecx, ecx
mov word [ebx + 0x26], si
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x1fc], 0xfe004753
mov eax, edi
lea edx, [ecx + 0x20]
mov edi, dword [eax - 8]
xor edi, dword [eax - 4]
add eax, 0x10
xor edi, dword [eax - 0xc]
xor edi, dword [eax - 0x10]
xor ecx, edi
sub edx, 1
jne 0x448a03
mov dword [ebx + 0x1f8], ecx
cmp byte [ebx + 0x22], dl
jne 0x448a63
cmp dx, si
je 0x448a63
inc esi
movzx eax, si
movzx esi, ax
shl esi, 9
push esi
mov dword [ebp - 4], eax
call fcn.0040b46c
push esi
mov edi, eax
push 0
push edi
mov dword [ebp + 0xc], edi
call fcn.00429d20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
lea edx, [edi + 0x200]
push edx
call fcn.0042e0b0
add esp, 0x1c
jmp 0x448a83
push 0x200
call fcn.0040b46c
push 0x200
push 0
push eax
mov dword [ebp + 0xc], eax
call fcn.00429d20
mov edi, dword [ebp + 0xc]
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, 0x80
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebx + 0x34]
movzx ecx, ax
shl ecx, 9
push ecx
push esi
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call dword [0x47a644]
add esp, 0x14
test eax, eax
jne 0x448ac2
push esi
call fcn.0040b49b
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x22], 0
je 0x448b7d
mov edi, dword [ebp - 8]
xor ecx, ecx
cmp cx, di
je 0x448b7d
movzx esi, di
lea edx, [esi + 2]
shl edx, 9
push edx
call fcn.0040b46c
mov ecx, dword [ebp + 8]
inc esi
shl esi, 9
push esi
push eax
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x34]
inc edi
push edi
push eax
push ecx
call dword [0x47a640]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x448b5f
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1f0]
add eax, 0x200
not edx
cmp edx, dword [ebx + 0x1f0]
jne 0x448b5d
mov ecx, dword [eax - 0xc]
not ecx
cmp ecx, dword [ebx + 0x1f4]
jne 0x448b5d
mov edx, dword [eax - 8]
not edx
cmp edx, dword [ebx + 0x1f8]
jne 0x448b5d
mov ecx, dword [eax - 4]
not ecx
cmp ecx, dword [ebx + 0x1fc]
jne 0x448b5d
mov edx, dword [ebp + 0x14]
push edx
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.0042e0b0
add esp, 0xc
jmp 0x448b5f
xor esi, esi
mov ecx, dword [ebp - 8]
push ecx
call fcn.0040b49b
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040b49b
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0040b49b
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c850
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x10], 0
je 0x44c86c
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x24], 0xffffffff
jne 0x44c873
xor eax, eax
jmp 0x44c987
movzx edx, word [ebp + 0xc]
test edx, edx
jne 0x44c882
xor eax, eax
jmp 0x44c987
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x20]
shl ecx, 9
xor edx, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 4]
imul edx, dword [ecx]
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x18]
mov esi, dword [ecx + 4]
push esi
mov ecx, dword [ecx]
push ecx
push eax
push edx
call fcn.0042c720
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
adc ecx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44c8e7
xor eax, eax
jmp 0x44c987
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 4]
imul edx, dword [ecx]
mov dword [ebp - 0x14], edx
movzx eax, word [ebp + 0xc]
cmp eax, dword [ebp - 0x14]
jae 0x44c908
movzx ecx, word [ebp + 0xc]
mov dword [ebp - 0x28], ecx
jmp 0x44c90e
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040b46c
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44c95e
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040b49b
add esp, 4
xor eax, eax
jmp 0x44c987
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042e0b0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.0040b49b
add esp, 4
mov eax, dword [ebp - 0x14]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44c990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
je 0x44c9ac
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x24], 0xffffffff
jne 0x44c9b3
xor eax, eax
jmp 0x44ca7e
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 0x18]
sub ecx, dword [eax + 0x10]
sar ecx, 3
mov edx, dword [ebp - 0x10]
cmp ecx, dword [edx + 0x1c]
jb 0x44c9d1
xor eax, eax
jmp 0x44ca7e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
shl ecx, 9
xor edx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 4]
imul edx, dword [ecx]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x18]
mov esi, dword [ecx + 4]
push esi
mov ecx, dword [ecx]
push ecx
push eax
push edx
call fcn.0042c720
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
adc ecx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 4]
imul edx, dword [ecx]
mov dword [ebp - 0xc], edx
movzx eax, word [ebp + 0xc]
cmp eax, dword [ebp - 0xc]
jae 0x44ca4c
movzx ecx, word [ebp + 0xc]
mov dword [ebp - 0x14], ecx
jmp 0x44ca52
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44ca7b
xor eax, eax
jmp 0x44ca7e
mov eax, dword [ebp - 0xc]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44f510
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x10325476
push 0x21
push 0
mov eax, dword [ebp - 4]
add eax, 0x68
push eax
call fcn.00429d20
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x41d7e0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a050]
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.0041a539
and dword [ebp - 0x14], 0
cmp dword [0x42be70], 0
mov dword [ebp - 0x18], eax
jne 0x41d893
push 0x402258
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41d93b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40224c
push ebx
call edi
test eax, eax
je 0x41d93b
mov esi, dword [fcn.00402b64]
push eax
call esi
push 0x40223c
push ebx
mov dword [0x42be70], eax
call edi
push eax
call esi
push 0x402228
push ebx
mov dword [0x42be74], eax
call edi
push eax
call esi
push 0x40220c
push ebx
mov dword [0x42be78], eax
call edi
push eax
call esi
mov dword [0x42be80], eax
test eax, eax
je 0x41d893
push 0x4021f4
push ebx
call edi
push eax
call esi
mov dword [0x42be7c], eax
mov eax, dword [0x42be7c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00402b60]
cmp eax, ecx
je 0x41d8ec
cmp dword [0x42be80], ecx
je 0x41d8ec
push eax
call esi
push dword [0x42be80]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41d8ec
test ebx, ebx
je 0x41d8ec
call edi
test eax, eax
je 0x41d8e3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41d8e3
test byte [ebp - 8], 1
jne 0x41d8ec
or dword [ebp + 0x10], 0x200000
jmp 0x41d91f
mov eax, dword [0x42be74]
cmp eax, dword [ebp - 0x18]
je 0x41d91f
push eax
call esi
test eax, eax
je 0x41d91f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41d91f
mov eax, dword [0x42be78]
cmp eax, dword [ebp - 0x18]
je 0x41d91f
push eax
call esi
test eax, eax
je 0x41d91f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42be70]
call esi
test eax, eax
je 0x41d93b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41d93d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004191d5
leave
ret

Function at 0x41e284
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x41e2bf
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41e2a6
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x41e2b7
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x41e2c1
inc edi
add eax, 0x28
cmp edi, esi
jb 0x41e29c
xor eax, eax
pop edi
pop esi
ret