joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4601e2
Capabilities:
Enumerate files on windows

Disassembly:
push 0x530
mov eax, 0x481dfe
call fcn.00462feb
mov esi, ecx
mov dword [ebp - 0x53c], esi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x538]
call fcn.0045c6ec
and dword [ebp - 4], 0
lea ecx, [ebp - 0x538]
push 2
call fcn.0045c7e9
push 2
lea ecx, [ebp - 0x538]
call fcn.0045c7e9
push edi
lea ecx, [ebp - 0x2e0]
call fcn.00406c91
mov ebx, 0x48d2c4
mov byte [ebp - 4], 1
push ebx
call fcn.00403068
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2e0]
call fcn.00402c50
push 0x250
lea eax, [ebp - 0x530]
push 0
push eax
call fcn.004653c0
add esp, 0xc
lea ecx, [ebp - 0x530]
cmp dword [ebp - 0x2cc], 8
lea eax, [ebp - 0x2e0]
cmovae eax, dword [ebp - 0x2e0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
push edi
cmp ebx, 0xffffffff
jne 0x46029a
mov ecx, esi
call fcn.00460172
jmp 0x460406
lea ecx, [ebp - 0x538]
call fcn.0045c8e0
and dword [ebp - 0x2b8], 0
xor eax, eax
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
push 0xff
push eax
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 2
push eax
call fcn.004653c0
push 0x50
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.004653c0
mov al, byte [ebp - 0x530]
not al
movzx esi, al
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x51c]
shr esi, 4
push eax
and esi, 1
call fcn.00460956
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x504]
push eax
push edi
call fcn.00460857
push edi
call fcn.00403068
add esp, 0x30
lea ecx, [ebp - 0x2c8]
push eax
push edi
call fcn.00402c50
lea eax, [ebp - 0x504]
push eax
call fcn.00403068
pop ecx
push eax
lea eax, [ebp - 0x504]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.00402c50
push esi
lea ecx, [ebp - 0x538]
call fcn.0045c7e9
cmp dword [ebp - 0x2b4], 8
lea eax, [ebp - 0x2c8]
lea ecx, [ebp - 0x538]
cmovae eax, dword [ebp - 0x2c8]
push eax
call fcn.0045c8e0
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x538]
call fcn.0045c8e0
cmp esi, 1
jne 0x4603b9
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x538]
call fcn.0045c8e0
push dword [ebp - 0x510]
lea ecx, [ebp - 0x538]
call fcn.0045c7e9
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 1
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 1
call fcn.00402b64
lea eax, [ebp - 0x530]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4602a5
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x53c]
lea eax, [ebp - 0x538]
push eax
mov ecx, dword [ecx + 0x58]
call fcn.00403510
push 0
push 1
lea ecx, [ebp - 0x2e0]
call fcn.00402b64
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x538]
call fcn.0045c702
call fcn.00462f9a
ret 4

Function at 0x46042c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
cmp dword [ecx + 0x20], edx
jne 0x46044a
lea eax, [ebp - 4]
push eax
push edx
push ecx
push 0x4604a3
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x4607d9
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 0
je 0x460827
dec eax
je 0x460827
dec eax
je 0x460820
dec eax
je 0x460819
dec eax
je 0x460812
dec eax
je 0x46080b
dec eax
je 0x460804
mov esi, str.Unknown
jmp 0x46082c
mov esi, str.RAM_Disk
jmp 0x46082c
mov esi, str.CDDVD_Drive
jmp 0x46082c
mov esi, str.Network_Drive
jmp 0x46082c
mov esi, 0x48d170
jmp 0x46082c
mov esi, str.Removable
jmp 0x46082c
mov esi, str.Invalid_Root
push 0xff
push 0
push dword [ebp + 0xc]
call fcn.004653c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
push dword [ebp + 0xc]
call fcn.00463680
add esp, 0xc
pop esi
pop ebp
ret

Function at 0x460857
Capabilities:
Get file system object information

Disassembly:
push 0x2d0
mov eax, 0x481e2e
call fcn.00462feb
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
call fcn.00406c91
and dword [ebp - 4], 0
push esi
call fcn.00403068
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402c50
mov esi, 0x2b4
lea eax, [ebp - 0x2dc]
push esi
push 0
push eax
call fcn.004653c0
add esp, 0xc
lea ecx, [ebp - 0x2dc]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x400
push esi
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x4608d8
mov esi, str.Unknown
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x4608f8
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [ebp - 0xc8]
push eax
push edi
call fcn.00463680
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402b64
call fcn.00462f9a
ret
Function at 0x46176a
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
test esi, esi
je 0x461789
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esi + 4]
push eax
push dword [ebp + 8]
push 2
jmp 0x4617a2
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x4617ba
push 7
pop ecx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esi + 8]
push eax
push dword [ebp + 8]
push 0x17
pop edi
push edi
call dword [sym.imp.WS2_32.dll_inet_pton]
push dword [ebp + 0xc]
mov word [esi], di
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 2], ax
pop edi
pop esi
pop ebp
ret

Function at 0x4617be
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
mov dword [ebp - 0x24], 2
push eax
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
jne 0x46182d
mov eax, dword [ebp - 4]
mov bl, 1
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [eax + 0x18]
push 0x17
pop edi
movzx edx, word [esi]
lea eax, [esi + 8]
cmp dx, di
lea ecx, [esi + 4]
cmove ecx, eax
push ecx
push edx
call sub.WS2_32.dll_inet_ntop
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x46182c
cmp word [esi], di
sete cl
mov byte [eax], cl
pop esi
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46183e
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x190
xor ebx, ebx
lea eax, [ebp - 0x194]
push ebx
push eax
call fcn.004653c0
add esp, 0xc
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor ecx, ecx
movzx ebx, bl
inc ecx
test eax, eax
cmove ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret
Function at 0x4618cc
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x1c
mov eax, 0x481eec
call fcn.00462feb
mov edi, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
push edi
push ecx
push ecx
push dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push edi
call fcn.00403068
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00402c50
mov ebx, 0x483d38
push ebx
call fcn.00403068
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00402c50
push esi
call fcn.00403068
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402c50
push 0x104
push 0
push edi
call fcn.004653c0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push edi
call fcn.00463680
add esp, 0x18
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00402b64
call fcn.00462f9a
ret

Function at 0x461972
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x22
je 0x46198e
push 0x22
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ebp
ret
Function at 0x47aba3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0046bebc
mov dword [ebp - 0x14], eax
cmp dword [0x4bac9c], esi
jne 0x47ac96
push 0x800
push esi
push 0x4937a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47ac23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47ad76
push esi
push esi
push 0x4937a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47ad76
push 0x4937c0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47ad76
push eax
call ebx
push 0x4937cc
push edi
mov dword [0x4bac9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4937dc
push edi
mov dword [0x4baca0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4937f0
push edi
mov dword [0x4baca4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4bacac], eax
test eax, eax
je 0x47ac93
push 0x49380c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4baca8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47acbb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47acae
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47acd0
push 4
pop eax
jmp 0x47ad78
cmp dword [ebp - 0x14], esi
je 0x47acd0
push dword [0x4bac9c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47acb5
mov eax, dword [0x4baca8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47ad2e
cmp dword [0x4bacac], edi
je 0x47ad2e
push eax
call ebx
push dword [0x4bacac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47ad2e
test eax, eax
je 0x47ad2e
call ecx
test eax, eax
je 0x47ad23
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47ad23
test byte [ebp - 8], 1
jne 0x47ad2e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47ad5e
mov eax, dword [0x4baca0]
cmp eax, edi
je 0x47ad5b
push eax
call ebx
test eax, eax
je 0x47ad5b
call eax
mov esi, eax
test esi, esi
je 0x47ad5b
mov eax, dword [0x4baca4]
cmp eax, edi
je 0x47ad5b
push eax
call ebx
test eax, eax
je 0x47ad5b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4bac9c]
call ebx
test eax, eax
je 0x47ad76
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47ad78
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret
Function at 0x40896a
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.00408988
sub eax, esi
sub esi, 0x583fa96f
xor dword [ecx], edx
inc ecx
cmp ecx, ebx
jne fcn.0040896a
ret

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
push edi
mov esi, 1
nop
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40103d
push 0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x1869f
jb 0x401020
pop edi
pop esi
pop ebx
xor eax, eax
ret

Function at 0x401906
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401945
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401945
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401945
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401945
cmp dword [ecx + 0x74], 0xe
jbe 0x401945
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40347e
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x4034b5
mov esp, ebp
pop ebp
ret

Function at 0x40ac21
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40ac3f
mov eax, 0x72ecd0
push eax
push 1
mov ebx, 0x43bd30
call fcn.0043b645
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40ac69
mov eax, 0
jmp 0x40acdd
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x40acca
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40acb3
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40aca2
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40ac93
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x430960
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x430981
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x430978
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x430970
mov eax, ebx
leave
ret

Function at 0x4309a7
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x430a06
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x430a33
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x430a22
xor ecx, eax
xor edx, ebx
dec edi
jne 0x430a13
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x430a59
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x4309fa
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x4310d8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x4310e8
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x4311f6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.00431206
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x4311f6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.00431206
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x4311f6
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.00431206
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4311f6
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x4311f3
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00431219
test eax, eax
je 0x4311e2
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.0043124d
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x43119d
add esp, 0xc
mov eax, 0
jmp 0x431200
mov esp, ebp
pop ebp
ret 8
Function at 0x432366
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x432387
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x43237e
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x432376
mov eax, ebx
leave
ret

Function at 0x4323ad
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x43240c
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x432439
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x432428
xor ecx, eax
xor edx, ebx
dec edi
jne 0x432419
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x43245f
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x432400
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x432ade
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x432aee
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x432bfc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.00432c0c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x432bfc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.00432c0c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x432bfc
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.00432c0c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x432bfc
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x432bf9
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00432c1f
test eax, eax
je 0x432be8
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.00432c53
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x432ba3
add esp, 0xc
mov eax, 0
jmp 0x432c06
mov esp, ebp
pop ebp
ret 8