joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e4a3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x5c]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xe
ja case.0x40e47f.5
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov cl, byte [edx + 0x40e659]
jmp dword [ecx*4 + 0x40e641]
mov esi, esp
push 0x104
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
push 0x105
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 2], 0
jmp 0x40e5b6
mov esi, esp
push 0x105
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
push str.Recycled
mov eax, dword [ebp + 0xc]
add eax, 3
push eax
call fcn.00415a20
add esp, 8
jmp 0x40e5b6
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 3
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 9
ja case.default.0x40e551
mov eax, dword [ebp - 0x1c]
jmp dword [eax*4 + 0x40e668]
mov dword [ebp - 8], 7
jmp 0x40e5b6
mov dword [ebp - 8], 0x18
jmp 0x40e5b6
mov dword [ebp - 8], 0x10
jmp 0x40e5b6
mov dword [ebp - 8], 0x19
jmp 0x40e5b6
mov dword [ebp - 8], 2
jmp 0x40e5b6
mov dword [ebp - 8], 0x17
jmp 0x40e5b6
mov dword [ebp - 8], 0xb
jmp 0x40e5b6
mov dword [ebp - 8], 0x16
jmp 0x40e5b6
mov dword [ebp - 8], 0x26
jmp 0x40e5b6
mov dword [ebp - 8], 5
jmp 0x40e5b6
xor eax, eax
jmp 0x40e62e
cmp dword [ebp - 0xc], 0
je 0x40e629
mov esi, esp
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.00415960
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40e5dd
xor eax, eax
jmp 0x40e62e
mov esi, esp
push str.SHGetSpecialFolderPathA
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00415960
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40e602
xor eax, eax
jmp 0x40e62e
mov esi, esp
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [ebp - 0x10]
cmp esi, esp
call fcn.00415960
test eax, eax
je 0x40e625
mov eax, 1
jmp 0x40e62e
xor eax, eax
jmp 0x40e62e
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x5c
cmp ebp, esp
call fcn.00415960
mov esp, ebp
pop ebp
ret 8
Function at 0x40e4c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x5c]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xe
ja case.0x40e47f.5
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov cl, byte [edx + 0x40e659]
jmp dword [ecx*4 + 0x40e641]
mov esi, esp
push 0x104
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
push 0x105
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 2], 0
jmp 0x40e5b6
mov esi, esp
push 0x105
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
push str.Recycled
mov eax, dword [ebp + 0xc]
add eax, 3
push eax
call fcn.00415a20
add esp, 8
jmp 0x40e5b6
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 3
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 9
ja case.default.0x40e551
mov eax, dword [ebp - 0x1c]
jmp dword [eax*4 + 0x40e668]
mov dword [ebp - 8], 7
jmp 0x40e5b6
mov dword [ebp - 8], 0x18
jmp 0x40e5b6
mov dword [ebp - 8], 0x10
jmp 0x40e5b6
mov dword [ebp - 8], 0x19
jmp 0x40e5b6
mov dword [ebp - 8], 2
jmp 0x40e5b6
mov dword [ebp - 8], 0x17
jmp 0x40e5b6
mov dword [ebp - 8], 0xb
jmp 0x40e5b6
mov dword [ebp - 8], 0x16
jmp 0x40e5b6
mov dword [ebp - 8], 0x26
jmp 0x40e5b6
mov dword [ebp - 8], 5
jmp 0x40e5b6
xor eax, eax
jmp 0x40e62e
cmp dword [ebp - 0xc], 0
je 0x40e629
mov esi, esp
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.00415960
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40e5dd
xor eax, eax
jmp 0x40e62e
mov esi, esp
push str.SHGetSpecialFolderPathA
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00415960
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40e602
xor eax, eax
jmp 0x40e62e
mov esi, esp
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [ebp - 0x10]
cmp esi, esp
call fcn.00415960
test eax, eax
je 0x40e625
mov eax, 1
jmp 0x40e62e
xor eax, eax
jmp 0x40e62e
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x5c
cmp ebp, esp
call fcn.00415960
mov esp, ebp
pop ebp
ret 8
Function at 0x40e4dd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x5c]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xe
ja case.0x40e47f.5
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov cl, byte [edx + 0x40e659]
jmp dword [ecx*4 + 0x40e641]
mov esi, esp
push 0x104
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
push 0x105
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 2], 0
jmp 0x40e5b6
mov esi, esp
push 0x105
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
push str.Recycled
mov eax, dword [ebp + 0xc]
add eax, 3
push eax
call fcn.00415a20
add esp, 8
jmp 0x40e5b6
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 3
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 9
ja case.default.0x40e551
mov eax, dword [ebp - 0x1c]
jmp dword [eax*4 + 0x40e668]
mov dword [ebp - 8], 7
jmp 0x40e5b6
mov dword [ebp - 8], 0x18
jmp 0x40e5b6
mov dword [ebp - 8], 0x10
jmp 0x40e5b6
mov dword [ebp - 8], 0x19
jmp 0x40e5b6
mov dword [ebp - 8], 2
jmp 0x40e5b6
mov dword [ebp - 8], 0x17
jmp 0x40e5b6
mov dword [ebp - 8], 0xb
jmp 0x40e5b6
mov dword [ebp - 8], 0x16
jmp 0x40e5b6
mov dword [ebp - 8], 0x26
jmp 0x40e5b6
mov dword [ebp - 8], 5
jmp 0x40e5b6
xor eax, eax
jmp 0x40e62e
cmp dword [ebp - 0xc], 0
je 0x40e629
mov esi, esp
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.00415960
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40e5dd
xor eax, eax
jmp 0x40e62e
mov esi, esp
push str.SHGetSpecialFolderPathA
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00415960
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40e602
xor eax, eax
jmp 0x40e62e
mov esi, esp
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [ebp - 0x10]
cmp esi, esp
call fcn.00415960
test eax, eax
je 0x40e625
mov eax, 1
jmp 0x40e62e
xor eax, eax
jmp 0x40e62e
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x5c
cmp ebp, esp
call fcn.00415960
mov esp, ebp
pop ebp
ret 8
Function at 0x40e501
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x5c]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xe
ja case.0x40e47f.5
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov cl, byte [edx + 0x40e659]
jmp dword [ecx*4 + 0x40e641]
mov esi, esp
push 0x104
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.00415960
jmp 0x40e5b6
mov esi, esp
push 0x105
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 2], 0
jmp 0x40e5b6
mov esi, esp
push 0x105
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call fcn.00415960
push str.Recycled
mov eax, dword [ebp + 0xc]
add eax, 3
push eax
call fcn.00415a20
add esp, 8
jmp 0x40e5b6
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 3
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 9
ja case.default.0x40e551
mov eax, dword [ebp - 0x1c]
jmp dword [eax*4 + 0x40e668]
mov dword [ebp - 8], 7
jmp 0x40e5b6
mov dword [ebp - 8], 0x18
jmp 0x40e5b6
mov dword [ebp - 8], 0x10
jmp 0x40e5b6
mov dword [ebp - 8], 0x19
jmp 0x40e5b6
mov dword [ebp - 8], 2
jmp 0x40e5b6
mov dword [ebp - 8], 0x17
jmp 0x40e5b6
mov dword [ebp - 8], 0xb
jmp 0x40e5b6
mov dword [ebp - 8], 0x16
jmp 0x40e5b6
mov dword [ebp - 8], 0x26
jmp 0x40e5b6
mov dword [ebp - 8], 5
jmp 0x40e5b6
xor eax, eax
jmp 0x40e62e
cmp dword [ebp - 0xc], 0
je 0x40e629
mov esi, esp
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.00415960
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40e5dd
xor eax, eax
jmp 0x40e62e
mov esi, esp
push str.SHGetSpecialFolderPathA
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00415960
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40e602
xor eax, eax
jmp 0x40e62e
mov esi, esp
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [ebp - 0x10]
cmp esi, esp
call fcn.00415960
test eax, eax
je 0x40e625
mov eax, 1
jmp 0x40e62e
xor eax, eax
jmp 0x40e62e
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x5c
cmp ebp, esp
call fcn.00415960
mov esp, ebp
pop ebp
ret 8
Function at 0x425dd0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x425def
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x425df6
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x425e0d
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041f660
add esp, 4
or eax, 0xffffffff
jmp 0x425e0f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x403987
Capabilities:
Identify system language via api

Disassembly:
cmp byte [0x42b000], 0
push ebx
push ebp
push esi
push edi
mov edi, 0xffff
mov ebx, 0x42b000
je 0x4039a6
push ebx
call fcn.00405ac0
jmp 0x4039ac
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor ecx, ecx
mov esi, dword [0x4243a4]
test esi, esi
je 0x4039ff
mov ecx, dword [0x424368]
mov ecx, dword [ecx + 0x64]
mov edx, ecx
imul ecx, esi
neg edx
add ecx, dword [0x4243a0]
add ecx, edx
dec esi
mov bp, word [ecx]
xor bp, ax
and ebp, edi
test bp, bp
je 0x4039e4
test esi, esi
jne 0x4039ce
jmp 0x4039ff
mov edx, dword [ecx + 2]
mov dword [0x423b40], edx
mov edx, dword [ecx + 6]
mov dword [0x424408], edx
lea edx, [ecx + 0xa]
mov dword [0x423b3c], edx
cmp dword [0x423b3c], 0
jne 0x403a1a
cmp di, 0xffff
jne 0x403a16
mov edi, 0x3ff
jmp 0x4039ae
xor edi, edi
jmp 0x4039ae
movzx eax, word [ecx]
push eax
push ebx
call fcn.00405aa7
push 0xfffffffffffffffe
push 0x423b60
call fcn.00405b5b
push eax
push dword [0x420938]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x42438c]
mov esi, dword [0x424388]
test eax, eax
je 0x403a67
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x403a5e
push eax
lea eax, [esi + 0x18]
push eax
call fcn.00405b5b
add esi, 0x418
dec edi
jne 0x403a4e
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4053df
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0xc]
mov dword [0x422160], 0x44
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x405403
test al, 0x10
jne 0x405406
mov dword [ebp + 0xc], ecx
lea eax, [ebp - 0x10]
push eax
push 0x422160
push dword [ebp + 0xc]
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405431
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x41f164
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0043fd1e
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0043fd1e
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.0043fd1e
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x443cb0
call fcn.0043fd24
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x41f224
mov eax, 0
jmp 0x41f390
cmp dword [ebp + 0xc], 0
jne 0x41f250
mov dword [ebp - 0x1c], esp
mov eax, 0x42
call fcn.0043fd30
cmp dword [ebp - 0x1c], esp
je 0x41f24d
push 6
call fcn.0043fd2a
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x41f278
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41f272
push ebx
call fcn.0043fd18
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x43
call fcn.0043fd30
cmp dword [ebp - 0x1c], esp
je 0x41f2a3
push 6
call fcn.0043fd2a
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x52f0cc
mov eax, 0x44
call fcn.0043fd30
cmp dword [ebp - 0x1c], esp
je 0x41f2cf
push 6
call fcn.0043fd2a
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x45
call fcn.0043fd30
cmp dword [ebp - 0x1c], esp
je 0x41f363
push 6
call fcn.0043fd2a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 0x12
call fcn.0043fd30
cmp dword [ebp - 0x1c], esp
je 0x41f388
push 6
call fcn.0043fd2a
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x41f390
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0043fd18
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0043fd18
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0043fd18
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x420780
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 0x4207a1
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x420798
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x420790
mov eax, ebx
leave
ret

Function at 0x4207c7
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 0x420826
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 0x420853
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x420842
xor ecx, eax
xor edx, ebx
dec edi
jne 0x420833
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x420879
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x42081a
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 0x4210b9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
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
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
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
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.00420746
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x421298
push dword [ebp - 4]
call fcn.0042072a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x421189
jmp 0x421298
push dword [ebp - 4]
call fcn.0042072a
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x4211dd
lea eax, [ebp - 4]
push eax
call fcn.0042109f
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.00420951
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4211dd
mov eax, 1
jmp 0x4211df
xor eax, eax
test eax, eax
je 0x42128d
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
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 0x421285
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.00420ebc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x421274
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.00421078
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x421227
add esp, 0xc
jmp 0x421298
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x421162
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x4212b9
mov esp, ebp
pop ebp
ret 8