joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002a70
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 8
push esi
call edi
mov ebp, eax
push 0xa
push esi
mov dword [esp + 0x28], ebp
call edi
push eax
push ebp
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
mov ebx, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
push 0
push 0
push esi
push eax
push ebp
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x14]
xor esi, esi
push edx
push esi
push 0x26200a
push esi
push eax
push ecx
mov dword [esp + 0x2c], esi
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
push edx
push esi
push ebx
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x24]
test eax, eax
mov dword [esp + 0x18], esi
je 0x10002b38
lea ecx, [esp + 0x18]
push ecx
push ebp
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov esi, dword [esp + 0x18]
fild dword [esp + 0x60]
push 0
push ecx
fidiv dword [esp + 0x24]
fstp dword [esp]
fild dword [esp + 0x64]
push ecx
fidiv dword [esp + 0x2c]
fstp dword [esp]
push esi
call sub.gdiplus.dll_GdipScaleWorldTransform
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x24]
push 0
neg eax
sbb eax, eax
push 0
and eax, edx
push eax
push esi
call sub.gdiplus.dll_GdipDrawImageI
mov edx, dword [0x100061d4]
mov ecx, dword [0x100061d8]
mov dword [esp + 0x60], eax
mov eax, 1
mov dword [esp + 0x38], edx
mov edx, dword [0x100061dc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x100061e0]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x64]
push eax
push str.image_jpeg
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], 4
mov dword [esp + 0x58], edx
call fcn.100029b0
mov eax, dword [esp + 0x60]
add esp, 8
lea ecx, [esp + 0x34]
lea edx, [esp + 0x24]
push ecx
push edx
push eax
push ebp
call sub.gdiplus.dll_GdipSaveImageToFile
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x64], eax
call ebx
push edi
call ebx
push esi
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x10]
push ecx
call sub.gdiplus.dll_GdipDisposeImage
push ebp
call sub.gdiplus.dll_GdipDisposeImage
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x10003440
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], bl
push str.Kernel32.dll
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov al, 0x65
mov byte [esp + 0x25], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x11], al
mov byte [esp + 0x16], al
mov byte [esp + 0x1c], al
lea eax, [esp + 0x24]
mov cl, 0x69
mov dl, 0x74
push eax
push esi
mov byte [esp + 0x2c], 0x52
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x64
mov byte [esp + 0x30], 0x46
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], 0x6c
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x18], 0x53
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], 0x46
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1d], 0x6c
mov byte [esp + 0x1f], 0x50
mov byte [esp + 0x20], 0x6f
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], 0x6e
mov byte [esp + 0x23], dl
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], bl
call edi
lea ecx, [esp + 0x10]
mov ebp, eax
push ecx
push esi
call edi
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xa4]
push ebx
push ebx
push edx
push esi
call eax
lea eax, [esp + 0x38]
push ebx
push eax
lea ecx, [esp + 0x44]
push 0x64
push ecx
push esi
call ebp
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x10003569
mov al, byte [esp + edx + 0x3c]
lea edi, [esp + 0x3c]
xor al, 5
or ecx, 0xffffffff
not al
xor al, dl
mov byte [esp + edx + 0x3c], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jl 0x10003548
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0xa8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [edx], ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
Function at 0x100035a0
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
xor ebx, ebx
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x65]
mov byte [esp + 0x64], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x11], eax
mov cl, 0x74
mov dword [esp + 0x15], eax
mov byte [esp + 0x48], cl
mov dword [esp + 0x19], eax
mov byte [esp + 0x26], cl
mov dword [esp + 0x1d], eax
mov byte [esp + 0x2a], cl
mov word [esp + 0x21], ax
mov byte [esp + 0x32], cl
lea ecx, [esp + 0x44]
mov byte [esp + 0x23], al
mov dl, 0x72
mov al, 0x65
push ecx
push esi
mov byte [esp + 0x18], 0x5c
mov byte [esp + 0x19], 0x73
mov byte [esp + 0x1a], 0x67
mov byte [esp + 0x1b], 0x78
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x6b
mov byte [esp + 0x1e], 0x6d
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x4c], 0x43
mov byte [esp + 0x4d], dl
mov byte [esp + 0x4e], al
mov byte [esp + 0x4f], 0x61
mov byte [esp + 0x51], al
mov byte [esp + 0x52], 0x46
mov byte [esp + 0x53], 0x69
mov byte [esp + 0x54], 0x6c
mov byte [esp + 0x55], al
mov byte [esp + 0x56], 0x41
mov byte [esp + 0x57], bl
mov byte [esp + 0x2c], 0x47
mov byte [esp + 0x2d], al
mov byte [esp + 0x2f], 0x53
mov byte [esp + 0x30], 0x79
mov byte [esp + 0x31], 0x73
mov byte [esp + 0x33], al
mov byte [esp + 0x34], 0x6d
mov byte [esp + 0x35], 0x44
mov byte [esp + 0x36], 0x69
mov byte [esp + 0x37], dl
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0x63
mov byte [esp + 0x3b], 0x6f
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3d], 0x79
mov byte [esp + 0x3e], 0x41
mov byte [esp + 0x3f], bl
call edi
mov ebp, eax
cmp ebp, ebx
jne 0x100036d1
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edx, [esp + 0x24]
push edx
push esi
call edi
mov esi, eax
cmp esi, ebx
jne 0x100036ed
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x64]
push 0x64
rep stosd dword es:[edi], eax
lea eax, [esp + 0x68]
push eax
call esi
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x64]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x80
mov ecx, edx
push 3
push ebx
and ecx, 3
push 1
lea eax, [esp + 0x78]
push connect
rep movsb byte es:[edi], byte [esi]
push eax
call ebp
mov esi, eax
cmp esi, ebx
jne 0x1000375b
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
Function at 0x10003770
Capabilities:
Parse pe header
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x1bc
mov eax, dword [esp + 0x1c0]
push ebx
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x28]
mov ebp, eax
push 0x40
push edx
push ebp
call esi
cmp word [esp + 0x20], 0x5a4d
je 0x100037c9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1bc
ret
mov eax, dword [esp + 0x5c]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push eax
push ebp
call edi
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0xdc]
push 0xf8
push edx
push ebp
call esi
cmp dword [esp + 0xd4], 0x4550
je 0x1000380c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1bc
ret
mov eax, dword [esp + 0xfc]
push eax
push 0x10007478
mov dword [esp + 0x24], eax
call sub.MSVCRT.dll_printf
mov eax, dword [esp + 0xe2]
mov ecx, dword [esp + 0x64]
and eax, 0xffff
xor edx, edx
add esp, 8
mov word [esp + 0x15], dx
lea eax, [eax + eax*4]
mov byte [esp + 0x12], 0xb8
push edx
push edx
lea ebx, [ecx + eax*8 + 0xf8]
mov al, 0x90
push ebx
push ebp
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
mov byte [esp + 0x23], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x27], dl
call edi
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x1c]
push 3
push ecx
push ebp
call esi
mov ecx, 3
lea edi, [esp + 0x14]
lea esi, [esp + 0x10]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1000389d
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x1bc
ret
mov ecx, 0x1c
mov esi, 0x10007404
lea edi, [esp + 0x60]
push str.LoadLibraryA
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Kernel32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x100038d9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1bc
ret
push str.GetModuleHandleA
push str.Kernel32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100038fb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1bc
ret
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
push 0
push ebx
push ebp
mov dword [esp + 0x73], esi
mov dword [esp + 0xdb], eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x68]
push 0x72
push edx
push ebp
call esi
xor eax, eax
mov dword [esp + 0xfc], ebx
push eax
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], eax
push eax
mov eax, dword [esp + 0x64]
push eax
push ebp
call edi
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0xdc]
push 0xf8
push edx
push ebp
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1bc
ret
Function at 0x10003980
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x12c
push esi
push 0
push 2
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0xc], esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10003a01
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
lea ecx, [esp + 0x14]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
lea edx, [esp + 0x38]
push str.game.exe
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100039fa
mov eax, dword [esp + 0x1c]
push eax
push 0
push 1
call ebx
mov esi, eax
push 0
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
test edi, edi
jne 0x100039bc
pop edi
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
add esp, 0x12c
ret
Function at 0x10004260
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x100042b2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
lea edx, [esp + 0x30]
push str.360tray.exe
push edx
mov esi, eax
call ebx
test eax, eax
je 0x100042c6
test esi, esi
jne 0x10004291
call fcn.10003ed0
call fcn.10003980
pop edi
pop esi
pop ebx
add esp, 0x128
ret
call fcn.10003980
call fcn.10003a60
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 0x128
ret

Function at 0x100042f0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x69927bf6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x126d4364
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x437570
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5aeaf0]
xor edx, edx
cmp eax, edx
jne 0x437596
xor eax, eax
mov byte [eax + 0x5ae9f0], al
inc eax
cmp eax, 0x100
jl 0x43757e
mov dword [0x5aeaf0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5ae9f0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x437627
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4375fa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4375c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4376a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4376f3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4376da
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439e90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x50dd98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
mov edx, dword [edi]
add edx, 0x18
mov eax, edx
mov dword [edi], edx
push eax
call fcn.0041e720
mov ebx, dword [edi]
add ebx, eax
mov eax, ebx
mov dword [edi], ebx
push eax
call fcn.0041e720
mov ecx, dword [edi]
add ecx, eax
mov eax, ecx
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
lea esi, [eax + 0xc]
mov eax, dword [0x5aeb38]
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [edi], esi
call fcn.0041e720
mov edx, dword [edi]
mov ebp, dword [esp + 0x58]
add eax, 4
add esp, 0xc
add edx, eax
mov eax, edx
mov dword [edi], edx
test ebp, ebp
mov dword [esp + 0x18], eax
jne 0x439f2a
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x439f24
add eax, 4
mov dword [esp + 0x18], eax
mov dword [eax], 0
mov ebx, dword [edi]
add ebx, 0x14
mov dword [edi], ebx
mov ebx, dword [esp + 0x48]
mov edx, dword [ebx]
dec edx
mov dword [ebx], edx
mov ecx, dword [0x5aeb38]
inc ecx
mov dword [0x5aeb38], ecx
mov ecx, dword [0x59d040]
mov dword [esp + 0x44], ecx
test ebp, ebp
mov dword [esp + 0x38], 0
jne 0x439ff3
mov eax, dword [esp + 0x40]
test eax, eax
je 0x439ff3
test byte [esp + 0x14], 1
je 0x439ff3
cmp dword [ebx], 0
jle 0x439fcd
mov esi, dword [edi]
add esi, 0x18
push esi
call fcn.0041e720
add esi, eax
push esi
call fcn.0041e720
mov edx, dword [esp + 0x24]
add esi, eax
add esp, 8
cmp dword [esi + 4], edx
jle 0x439fcd
add esi, 0xc
push esi
call fcn.0041e720
lea eax, [esi + eax + 4]
add esp, 4
mov dword [eax], 0
add eax, 0x14
mov dword [edi], eax
mov edx, dword [ebx]
dec edx
mov dword [ebx], edx
mov ecx, dword [0x5aeb38]
inc ecx
mov dword [0x5aeb38], ecx
mov eax, dword [ebx]
test eax, eax
jg 0x439f79
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], 0xffffffff
call fcn.00501646
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
test ebp, ebp
mov dword [esp + 0x10], 0x10
jne 0x43a00e
test byte [esp + 0x14], 2
je 0x43a00e
mov dword [esp + 0x10], 0x11
call 0x749982
Function at 0x43e700
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x43e898
cmp ebp, ebx
jle 0x43e898
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x43e75e
dec eax
or eax, 0xfffffff8
inc eax
je 0x43e765
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x43e774
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x43e77b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00501387
add esp, 4
cmp eax, ebx
je 0x43e79c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00501387
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x43e88e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x43e875
mov al, byte [edx]
cmp al, 0xc0
jbe 0x43e861
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x43e856
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x43e864
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x43e864
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x43e800
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x43e7f1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x44cc00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50efa8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x44cc39
inc eax
mov dword [esi + 0x10], eax
jmp 0x44cd4c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x44cc4d
mov eax, 0xffffffc7
jmp 0x44cd4e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x44cc5e
cmp dword [esi + 8], eax
jne 0x44cc4d
cmp dword [esi + 8], eax
jne 0x44cc77
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x44cc77
mov eax, 0xffffffc7
jmp 0x44cd4e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x44cc8b
push eax
mov ecx, ebx
call fcn.0044c430
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0041dd40
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x44ccbc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0041dd60
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0044bba0
test eax, eax
mov dword [esp + 0x38], eax
je 0x44ccef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x565c38
call fcn.0041df40
mov eax, dword [esp + 0x38]
jmp 0x44cd4e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0044ca60
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x44cd33
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0044ca80
mov esi, eax
test esi, esi
jne 0x44cd63
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0044ca60
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x44cd05
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x565c38
call fcn.0041df40
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x565c38
call fcn.0041df40
mov eax, esi
jmp 0x44cd4e