joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498b47
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x498b7f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00496bd1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00496ba9
jmp 0x498b8b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49a239
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x49a27b
call fcn.0049ff20
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49a27b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49a272
xor eax, eax
jmp 0x49a283
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049a289
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a0450
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a047e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a049c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a03b6
jmp 0x4a049c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a049c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a03b6
test edi, edi
mov eax, edi
jne 0x4a0486
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4057b8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41204c], 0
je 0x405819
cmp word [0x412328], 0xd7b2
jne 0x4057e1
cmp dword [0x412330], 0
jbe 0x4057e1
mov eax, 0x412324
call dword [0x412340]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x405844
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x411024], 0
jne 0x405835
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406718
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x40675a
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x40677a
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.004061a0
add esp, 0x41c
pop esi
pop ebx
ret
Function at 0x407408
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40756f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00405fb8
cmp si, word [0x4117c8]
jb 0x4074a2
cmp si, word [0x4119c8]
ja 0x4074a2
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x4074a2
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4117c8]
jae 0x40747c
mov edi, ebx
dec edi
jmp 0x40749d
cmp si, word [ebx*8 + 0x4117c8]
jbe 0x40748c
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x40749d
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4117cc]
call fcn.00407318
jmp 0x4074a2
cmp edi, dword [ebp - 0xc]
jae 0x407466
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x407551
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x407551
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004061a0
push dword [ebp - 0x164]
push 0x40758c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.004061a0
push dword [ebp - 0x168]
push 0x40759c
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004061a0
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.0040648c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407576
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00405fb0
ret
Function at 0x407728
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40782d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x414b54
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x414b6c]
jne 0x407774
mov eax, esi
mov edx, 0x414b70
mov ecx, 0x55
call fcn.004061a0
push 0x414b54
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x407817
push 0x414b54
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00405fb8
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4077e5
cmp byte [0x414b50], 0
je 0x4077aa
mov edx, esi
mov eax, ebx
call fcn.00407608
jmp 0x4077e5
mov edx, esi
mov eax, ebx
call fcn.00407408
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4077e5
cmp dword [esi], 0
je 0x4077ce
mov eax, esi
mov edx, 0x407848
call fcn.004062e8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00407408
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004062e8
push 0x414b54
call sub.kernel32.dll_EnterCriticalSection
mov word [0x414b6c], bx
push 0xaa
mov eax, dword [esi]
call fcn.00406044
push eax
push 0x414b70
call sub.kernel32.dll_lstrcpynW
push 0x414b54
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407834
lea eax, [ebp - 4]
call fcn.00405fa8
ret
Function at 0x407a6c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405fa0
xor eax, eax
push ebp
push 0x407c51
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x407aac
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x407ac6
push 0x105
mov eax, dword [ebp - 4]
call fcn.00406044
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x407c3b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407c60
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407b55
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407c60
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407b55
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407c94
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407b55
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407cc8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x407c3b
xor eax, eax
push ebp
push 0x407c34
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00407870
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x407bc4
mov eax, dword [ebp - 0x10]
call fcn.00403a34
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406164
jmp 0x407c0f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x407d08
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x407c0f
mov eax, dword [ebp - 0x10]
call fcn.00403a34
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x407d08
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407c3b
cmp dword [ebp - 8], 0
je 0x407c2a
mov eax, dword [ebp - 8]
call fcn.00403a50
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407c58
lea eax, [ebp - 4]
call fcn.00405fa8
ret
Function at 0x407f1c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.00405fa0
mov eax, dword [ebp - 0x21c]
call fcn.00405fa0
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x4080bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00405fb8
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00406044
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x407fbc
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x407fce
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x407fb9
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x408087
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x407ff7
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.00407a6c
cmp dword [ebp - 0x220], 0
je 0x40802f
push ebp
mov eax, dword [ebp - 0x220]
call fcn.00407e10
pop ecx
mov ebx, eax
jmp 0x408087
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.00407728
mov eax, dword [ebp - 0x224]
call fcn.00407e10
pop ecx
mov ebx, eax
test bl, bl
jne 0x40807a
cmp byte [0x414b50], 0
jne 0x40807a
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.00407728
mov eax, dword [ebp - 0x228]
call fcn.00407e10
pop ecx
mov ebx, eax
test bl, bl
jne 0x408087
push ebp
call fcn.00407ec0
pop ecx
mov ebx, eax
test bl, bl
je 0x40809d
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004061a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4080c2
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00405fb0
ret

Function at 0x408560
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x40bb64
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40bb9d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004060f4
jmp 0x40bba6
mov eax, ebx
mov edx, esi
call fcn.00405fb8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bbb0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40bbd2
movzx eax, word [esp]
jmp 0x40bbd4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40c364
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x40c489
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0040c174
mov esi, eax
mov eax, dword [0x411dc0]
cmp byte [eax], 0
je 0x40c431
mov eax, dword [0x411d00]
call fcn.00403fd8
call fcn.00403b7c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x40c33c]
call fcn.00406e40
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x40c4a4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c46d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x411ce0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x414c38]
call fcn.00406ef8
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c490
lea eax, [ebp - 4]
mov edx, dword [0x40c33c]
call fcn.00406e4c
ret

Function at 0x40ddc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405bbc
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x40dd6a
mov eax, edi
add eax, eax
call fcn.00403a34
mov esi, eax
jmp 0x40dd6c
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x40dda5
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x40dd8f
mov eax, esp
cmp esi, eax
je 0x40ddb2
mov eax, esi
call fcn.00403a50
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x40ddec
cmp bl, 0
je 0x40dde8
cmp bl, 0x41
jl 0x40dde3
cmp bl, 0x5a
jg 0x40dde3
or bl, 0x20
xor al, bl
inc esi
jmp 0x40ddc7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x40dd2c
Function at 0x40e840
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.004040b8
mov dword [esp], 0x3c
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x500
mov eax, 0x40e8a8
mov dword [esp + 0xc], eax
mov eax, esi
call fcn.00406044
mov dword [esp + 0x10], eax
mov eax, edi
call fcn.00406044
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 1
push esp
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x3c
pop edi
pop esi
pop ebx
ret

Function at 0x410170
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, 0x40e90c
call fcn.00408b0c
xor eax, eax
push ebp
push 0x41029d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x410226
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.0040ad90
mov edx, dword [ebp - 0x14]
mov eax, 0x416e74
mov ecx, 0x4102b8
call fcn.004063a8
lea eax, [ebp - 0x1c]
call fcn.0040e700
lea edx, [ebp - 0x1c]
mov eax, 0x416e6c
mov ecx, dword [0x40e538]
call fcn.004069e4
cmp dword [0x416e6c], 0x6000000
jb 0x4101ff
xor ecx, ecx
mov edx, dword [0x416e74]
xor eax, eax
call fcn.0040e840
jmp 0x41021c
push 1
push 0
push 0
mov eax, dword [0x416e74]
call fcn.00406044
push eax
push 0x4102d0
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x410271
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4102a4
lea eax, [ebp - 0x20]
call fcn.00405fa8
lea eax, [ebp - 0x1c]
mov edx, dword [0x40e538]
call fcn.00406860
lea eax, [ebp - 0x14]
call fcn.00405fa8
ret
Function at 0x41a7f3
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 0x41a814
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x41a80b
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x41a803
mov eax, ebx
leave
ret

Function at 0x41a83a
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 0x41a899
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 0x41a8c6
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x41a8b5
xor ecx, eax
xor edx, ebx
dec edi
jne 0x41a8a6
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x41a8ec
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x41a88d
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 0x41b12c
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.0041a7b9
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 0x41b30b
push dword [ebp - 4]
call fcn.0041a79d
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41b1fc
jmp 0x41b30b
push dword [ebp - 4]
call fcn.0041a79d
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x41b250
lea eax, [ebp - 4]
push eax
call fcn.0041b112
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.0041a9c4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41b250
mov eax, 1
jmp 0x41b252
xor eax, eax
test eax, eax
je 0x41b300
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 0x41b2f8
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.0041af2f
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41b2e7
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.0041b0eb
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x41b29a
add esp, 0xc
jmp 0x41b30b
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x41b1d5
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 0x41b32c
mov esp, ebp
pop ebp
ret 8