joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409d40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x98
mov eax, dword [0x432d44]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, dword [esp + 0xa0]
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftDirectX
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409e07
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.Version
push ecx
mov dword [esp + 0x28], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x409dfc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push 0x42bfa4
push ecx
call fcn.0040fe81
mov edx, dword [esp + 0x14]
add esp, 0x10
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x18]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x409df0
jmp 0x409e07
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0040dd94
add esp, 0x98
ret

Function at 0x409e30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x98
mov eax, dword [0x432d44]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, dword [esp + 0xa0]
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409ef7
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.Version
push ecx
mov dword [esp + 0x28], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x409eec
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push 0x42bfa4
push ecx
call fcn.0040fe81
mov edx, dword [esp + 0x14]
add esp, 0x10
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x18]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x409ee0
jmp 0x409ef7
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0040dd94
add esp, 0x98
ret
Function at 0x40a960
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x432d44]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
mov edi, dword [esp + 0x218]
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call fcn.0040de00
push 0x103
lea ecx, [esp + 0x11d]
push 0
push ecx
mov byte [esp + 0x124], 0
call fcn.0040de00
mov ecx, dword [0x432090]
mov eax, dword [ecx]
add esp, 0x18
push 0
push 0
push 0x104
lea edx, [esp + 0x118]
push edx
mov edx, dword [eax + 0x34]
push 0xffffffffffffffff
call edx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x110]
push ecx
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirA]
push 1
push 0
push str.heroes_.mdmp
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
push edi
mov ecx, esi
call fcn.0040a780
push 1
push 0
push str.heroes_.jpg
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
push edi
mov ecx, esi
call fcn.0040a780
push 1
push 0
push str.heroes_.log
lea eax, [esp + 0x14]
push eax
mov ecx, eax
push ecx
push edi
mov ecx, esi
call fcn.0040a780
push 1
push 0
push str.srcds_.log
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
push edi
mov ecx, esi
call fcn.0040a780
push 1
push 0
push str.launcher_.log
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
push edi
mov ecx, esi
call fcn.0040a780
push 1
push 0
push str.unsupportedIME.txt
lea eax, [esp + 0x14]
push eax
mov ecx, eax
push ecx
push edi
mov ecx, esi
call fcn.0040a780
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
call fcn.0040dd94
add esp, 0x20c
ret 4
Function at 0x40ab30
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push ebx
push esi
lea eax, [esp + 8]
push edi
push eax
call fcn.0040fc2b
lea ecx, [esp + 0x10]
push ecx
call fcn.0041015b
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push edi
push 0
push esi
mov ebx, eax
call fcn.0040de00
add esp, 0x14
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jbe 0x40aba8
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ab71
sub eax, edx
je 0x40abab
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ab81
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x40abab
mov edi, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40ab94
mov dx, word [0x42c390]
mov word [edi], dx
jmp 0x40abab
mov byte [esi], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40abb0
sub eax, edx
mov edi, eax
call fcn.0040debf
cdq
mov ecx, 0x19
idiv ecx
add edx, 0x61
push edx
call fcn.0040debf
cdq
mov ecx, 0x19
idiv ecx
add edx, 0x61
push edx
call fcn.0040debf
cdq
mov ecx, 0x19
idiv ecx
add edx, 0x61
push edx
call fcn.0040debf
cdq
mov ecx, 0x19
idiv ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
add edi, esi
add edx, 0x61
push edx
mov edx, dword [ebx + 4]
push edx
mov edx, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x14]
push ecx
inc edx
push edx
add eax, 0x76c
push eax
push str.heroes_report__04d_02d_02d__02d_02d__c_c_c_c_.zip
push edi
call fcn.0040ea23
add esp, 0x2c
pop edi
mov eax, esi
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ac31
sub eax, edx
add esp, 8
ret
Function at 0x40ac90
Capabilities:
Connect to http server
Create http request
Send file using ftp

Disassembly:
sub esp, 0xc
push 0
push 0
push 0
push 1
push str.Microsoft_Internet_Explorer
mov dword [esp + 0x18], ecx
mov byte [esp + 0x17], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esp + 8], eax
test eax, eax
jne 0x40acbf
xor al, al
add esp, 0xc
ret 0x10
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x40accc
mov edx, 0x15
mov ecx, dword [esp + 0x18]
push esi
movsx esi, byte [ecx]
push 0
neg esi
push 0x8000000
sbb esi, esi
and esi, ecx
mov ecx, dword [esp + 0x20]
push 1
push esi
movsx esi, byte [ecx]
neg esi
sbb esi, esi
and esi, ecx
mov ecx, dword [esp + 0x24]
push esi
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
test esi, esi
jne 0x40ad0e
xor al, al
pop esi
add esp, 0xc
ret 0x10
mov ecx, dword [0x432090]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push ebx
push ebp
push edi
call eax
mov ebp, dword [sym.imp.WININET.dll_FtpCreateDirectoryA]
push eax
push esi
call ebp
mov ecx, dword [0x432090]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
mov ebx, dword [sym.imp.WININET.dll_FtpSetCurrentDirectoryA]
push eax
push esi
call ebx
call fcn.0040ac40
mov edi, eax
push edi
push esi
call ebp
push edi
push esi
call ebx
mov edx, dword [0x4361a8]
test edx, edx
je 0x40ad79
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ad60
sub eax, edi
je 0x40ad79
push edx
push esi
call ebp
mov ecx, dword [0x4361a8]
push ecx
push esi
call ebx
mov edi, dword [esp + 0x14]
add edi, 0x10
push 0x5c
push edi
call fcn.0040de80
add esp, 8
push 0
push 0x4000002
inc eax
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_FtpPutFileA]
mov bl, 1
cmp eax, 1
je 0x40ada7
mov bl, byte [esp + 0x13]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
test bl, bl
jne 0x40add0
push 0x7d0
mov dword [0x4561e8], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop ebp
mov al, bl
pop ebx
pop esi
add esp, 0xc
ret 0x10
Function at 0x40b8b0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [0x432d44]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x24]
push 0x428078
push eax
call fcn.0040f4f8
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b8f1
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0040dd94
add esp, 0x14
ret 8
or eax, 0xffffffff
mov dword [esp + 8], eax
mov word [esp + 0xc], ax
mov byte [esp + 0xe], al
push esi
push 7
lea eax, [esp + 0x18]
push 1
push eax
call fcn.0040f417
add esp, 0x10
xor ecx, ecx
test eax, eax
jle 0x40b931
lea esp, [esp]
mov dl, byte [esp + ecx + 0x10]
xor byte [esp + ecx + 8], dl
inc ecx
cmp ecx, eax
jl 0x40b920
test eax, eax
jg 0x40b901
push esi
call fcn.0040efce
add esp, 4
mov byte [edi], 0
xor esi, esi
nop
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b945
movzx ecx, byte [esp + esi + 8]
push ecx
sub eax, edx
add eax, edi
push str._02X
push eax
call fcn.0040ea23
inc esi
add esp, 0xc
cmp esi, 7
jl 0x40b940
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.0040dd94
add esp, 0x14
ret 8

Function at 0x40c020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4261d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x432d44]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00403c90
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0x18], 0
mov dword [esi], vtable.PrintPS.0
call fcn.00409c80
push str.ProcessName_ProcessID_FullPath_Version
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.00409900
push 0x100
lea eax, [esi + 0x30]
push 0
push eax
call fcn.0040de00
push 0x200
lea ecx, [esi + 0x130]
push 0
push ecx
call fcn.0040de00
push 0x80
lea edx, [esi + 0x330]
push 0
push edx
call fcn.0040de00
add esp, 0x24
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x40c3a0
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
sub esp, 0xf4
mov eax, dword [0x432d44]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
mov ebx, dword [esp + 0xfc]
push ebp
mov ebp, dword [esp + 0x108]
push esi
mov esi, dword [esp + 0x108]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
push str.HardwareDescriptionSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c4d0
mov ecx, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push str.MHz
push ecx
mov dword [esp + 0x28], 0x104
call edi
test eax, eax
jne 0x40c488
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x44]
push eax
push 0
push 0
push str.VendorIdentifier
push ecx
mov dword [esp + 0x28], 0x40
call edi
test eax, eax
jne 0x40c488
lea eax, [esp + 0x40]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40c455
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x84]
push eax
push 0
push 0
push str.ProcessorNameString
push ecx
mov dword [esp + 0x28], 0x80
call edi
test eax, eax
je 0x40c4a3
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0040dd94
add esp, 0xf4
ret
lea eax, [esp + 0x80]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40c4b0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
mov dword [ebp], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x40c48a
mov ecx, dword [esp + 0xfc]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.0040dd94
add esp, 0xf4
ret

Function at 0x40c4f0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push 0
lea eax, [esp + 4]
push 0x20
push eax
call fcn.0040de00
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x24]
mov dword [edx], eax
mov al, 1
add esp, 0x20
ret

Function at 0x40dd94
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432d44]
jne 0x40dd9e
repz ret
jmp fcn.0041323c
Function at 0x420e44
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.00412b83
and dword [ebp - 4], 0
cmp dword [0x456d9c], 0
mov ebx, eax
jne 0x420ef5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x420fa6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x420fa6
push eax
call fcn.00412b11
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x456d9c], eax
call esi
push eax
call fcn.00412b11
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x456da0], eax
call esi
push eax
call fcn.00412b11
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x456da4], eax
call esi
push eax
call fcn.00412b11
pop ecx
mov dword [0x456dac], eax
test eax, eax
je 0x420ef5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00412b11
pop ecx
mov dword [0x456da8], eax
mov eax, dword [0x456da8]
cmp eax, ebx
je 0x420f4d
cmp dword [0x456dac], ebx
je 0x420f4d
push eax
call fcn.00412b8c
push dword [0x456dac]
mov esi, eax
call fcn.00412b8c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x420f4d
test edi, edi
je 0x420f4d
call esi
test eax, eax
je 0x420f44
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x420f44
test byte [ebp - 0xc], 1
jne 0x420f4d
or dword [ebp + 0x10], 0x200000
jmp 0x420f86
mov eax, dword [0x456da0]
cmp eax, ebx
je 0x420f86
push eax
call fcn.00412b8c
pop ecx
test eax, eax
je 0x420f86
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x420f86
mov eax, dword [0x456da4]
cmp eax, ebx
je 0x420f86
push eax
call fcn.00412b8c
pop ecx
test eax, eax
je 0x420f86
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x456d9c]
call fcn.00412b8c
pop ecx
test eax, eax
je 0x420fa6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x420fa8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x74862346
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x7486235d
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
je 0x7486235f
xor eax, eax
ret

Function at 0x7486292d
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
push eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
pop eax
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov dword [ebp - 0xc], edi
mov esi, dword [edi]
cmp esi, edi
je 0x748629e8
xor eax, eax
mov ebx, eax
cmp dword [esi + 0x30], eax
je 0x748629b8
cmp dword [esi + 0x30], 0xffff
je 0x748629b8
lea eax, [ebp - 0x78]
push 0x64
push eax
call fcn.748622fc
mov eax, dword [esi + 0x30]
pop ecx
pop ecx
xor ecx, ecx
jmp 0x74862987
inc ebx
lea eax, [eax + 2]
cmp word [eax], cx
jne 0x74862983
test ebx, ebx
jle 0x748629ab
mov edi, ecx
mov eax, dword [esi + 0x30]
mov cx, word [eax + edi*2]
call fcn.7486232e
mov word [ebp + edi*2 - 0x78], ax
inc edi
cmp edi, ebx
jl 0x74862992
mov edi, dword [ebp - 0xc]
lea ecx, [ebp - 0x78]
call fcn.748623ea
cmp dword [ebp - 0x10], eax
je 0x748629c0
mov eax, dword [esi]
mov esi, eax
cmp eax, edi
jmp 0x74862957
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x748629e3
push dword [esi + 0x28]
call fcn.748628e6
lea eax, [eax*2 + 2]
push eax
push dword [esi + 0x28]
push edi
call fcn.748628a9
add esp, 0x10
mov eax, dword [esi + 0x18]
jmp 0x748629ea
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x74862acf
Capabilities:
Authenticate hmac

Disassembly:
push esi
mov esi, ecx
push esi
call fcn.748628e6
pop ecx
test eax, eax
je 0x74862af0
lea ecx, [esi + eax*2]
mov edx, ecx
dec eax
sub ecx, 2
cmp word [ecx], 0x5c
je 0x74862af5
test eax, eax
jne 0x74862ae0
or eax, 0xffffffff
pop esi
ret
mov ecx, edx
pop esi
jmp fcn.748623ea

Function at 0x74862c6c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, ecx
mov byte [ebp + 0xb], cl
shr eax, 0x18
mov byte [ebp + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp + 9], al
mov eax, ecx
push edi
mov edi, edx
shr eax, 8
xor ecx, ecx
mov byte [ebp + 0xa], al
mov edx, ecx
test edi, edi
je 0x74862cb3
mov al, byte [ebp + ecx + 8]
xor byte [edx + esi], al
lea eax, [ecx + 1]
sub ecx, 3
inc edx
neg ecx
sbb ecx, ecx
and ecx, eax
cmp edx, edi
jb 0x74862c9b
pop edi
pop esi
pop ebp
ret

Function at 0x74862cb7
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
movzx edi, word [ecx + 6]
xor esi, esi
test edi, edi
je 0x74862ce3
movzx eax, word [ecx + 0x14]
add ecx, 0x18
add ecx, eax
cmp edx, dword [ecx + 0xc]
jb 0x74862cdb
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 0xc]
cmp edx, eax
jbe 0x74862ce9
inc esi
add ecx, 0x28
cmp esi, edi
jb 0x74862ccc
or eax, 0xffffffff
pop edi
pop esi
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, edx
jmp 0x74862ce6
Function at 0x748645b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x748645e2
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jge 0x74864626
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0xc]
jb 0x74864624
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x10]
ja 0x74864624
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x14]
jmp 0x74864629
jmp 0x748645d0
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x748658c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
call fcn.74862346
mov dword [ebp - 4], eax
push 4
push 0x1000
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x50]
push edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
call ecx
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x6c], 0
jne 0x74865906
xor al, al
jmp 0x748659d0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x6c]
push eax
call fcn.748628a9
add esp, 0xc
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 6]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
jmp 0x74865959
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jae 0x748659a6
mov dword [ebp - 0xc], 0
jmp 0x74865973
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x10]
jae 0x748659a4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov eax, dword [ebp - 8]
add edx, dword [eax + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
mov dl, byte [edx + esi]
mov byte [eax + ecx], dl
jmp 0x7486596a
jmp 0x74865947
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x6c]
push edx
call fcn.748661a0
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x748659ce
xor al, al
jmp 0x748659d0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x74865f30
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 0x20000000
je 0x74865f50
mov dword [ebp - 0x14], 1
jmp 0x74865f57
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
and edx, 0x40000000
je 0x74865f71
mov dword [ebp - 0x18], 1
jmp 0x74865f78
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
and ecx, 0x80000000
je 0x74865f92
mov dword [ebp - 0x1c], 1
jmp 0x74865f99
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 8], 0
jne 0x74865fbd
cmp dword [ebp - 0xc], 0
jne 0x74865fbd
cmp dword [ebp - 0x10], 0
jne 0x74865fbd
mov dword [ebp - 4], 1
jmp 0x7486607e
cmp dword [ebp - 8], 0
jne 0x74865fdb
cmp dword [ebp - 0xc], 0
jne 0x74865fdb
cmp dword [ebp - 0x10], 0
je 0x74865fdb
mov dword [ebp - 4], 8
jmp 0x7486607e
cmp dword [ebp - 8], 0
jne 0x74865ff9
cmp dword [ebp - 0xc], 0
je 0x74865ff9
cmp dword [ebp - 0x10], 0
jne 0x74865ff9
mov dword [ebp - 4], 2
jmp 0x7486607e
cmp dword [ebp - 8], 0
jne 0x74866014
cmp dword [ebp - 0xc], 0
je 0x74866014
cmp dword [ebp - 0x10], 0
je 0x74866014
mov dword [ebp - 4], 4
jmp 0x7486607e
cmp dword [ebp - 8], 0
je 0x7486602f
cmp dword [ebp - 0xc], 0
jne 0x7486602f
cmp dword [ebp - 0x10], 0
jne 0x7486602f
mov dword [ebp - 4], 0x10
jmp 0x7486607e
cmp dword [ebp - 8], 0
je 0x7486604a
cmp dword [ebp - 0xc], 0
jne 0x7486604a
cmp dword [ebp - 0x10], 0
je 0x7486604a
mov dword [ebp - 4], 0x80
jmp 0x7486607e
cmp dword [ebp - 8], 0
je 0x74866065
cmp dword [ebp - 0xc], 0
je 0x74866065
cmp dword [ebp - 0x10], 0
jne 0x74866065
mov dword [ebp - 4], 0x20
jmp 0x7486607e
cmp dword [ebp - 8], 0
je 0x7486607e
cmp dword [ebp - 0xc], 0
je 0x7486607e
cmp dword [ebp - 0x10], 0
je 0x7486607e
mov dword [ebp - 4], 0x40
mov eax, dword [ebp + 8]
and eax, 0x4000000
je 0x74866094
mov ecx, dword [ebp - 4]
or ecx, 0x200
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret