joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c850
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40c9b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409bf4
cmp si, word [0x52da00]
jb 0x40c8e8
cmp si, word [0x52dc00]
ja 0x40c8e8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40c8e8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x52da00]
jae 0x40c8c2
mov edi, ebx
dec edi
jmp 0x40c8e3
cmp si, word [ebx*8 + 0x52da00]
jbe 0x40c8d2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40c8e3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x52da04]
call fcn.0040c770
jmp 0x40c8e8
cmp edi, dword [ebp - 8]
jae 0x40c8ac
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40c997
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c997
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040a8b8
push dword [ebp - 0x160]
push 0x40c9d0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040a8b8
push dword [ebp - 0x164]
push 0x40c9e0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040a8b8
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040aaf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c9bc
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00409c54
ret
Function at 0x40cb68
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 0x40cc6c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x537c10
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x537c28]
jne 0x40cbb4
mov eax, esi
mov edx, 0x537c2a
mov ecx, 0x55
call fcn.0040a8b8
push 0x537c10
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40cc56
push 0x537c10
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409bf4
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40cc23
cmp byte [0x537c0c], 0
je 0x40cbe8
mov edx, esi
mov eax, ebx
call fcn.0040ca4c
jmp 0x40cc23
mov edx, esi
mov eax, ebx
call fcn.0040c850
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40cc23
cmp dword [esi], 0
je 0x40cc0c
mov eax, esi
mov edx, 0x40cc84
call fcn.0040aa10
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040c850
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040aa10
push 0x537c10
call sub.kernel32.dll_EnterCriticalSection
mov word [0x537c28], bx
mov eax, dword [esi]
call fcn.0040a814
mov ecx, eax
mov eax, 0x537c2a
mov edx, 0xaa
call fcn.0040c6d0
push 0x537c10
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc73
lea eax, [ebp - 4]
call fcn.00409bf4
ret
Function at 0x4265e4
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 0x426709
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004263ec
mov esi, eax
mov eax, dword [0x534de0]
cmp byte [eax], 0
je 0x4266b1
mov eax, dword [0x534b68]
call fcn.004076c8
call fcn.00406f60
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 [0x4265b4]
call fcn.0040bf84
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 0x426724
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4266ed
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x534b28]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x538624]
call fcn.0040c374
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 0x426710
lea eax, [ebp - 4]
mov edx, dword [0x4265b4]
call fcn.0040c0a8
ret
Function at 0x4809b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4809b8
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4b73c8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b7466
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4b742a
cmp byte [ebx + 0x11], 0
jne 0x4b742a
cmp byte [ebx + 0x24], 0
jne 0x4b742a
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4b744b
lea edx, [ebp - 4]
mov eax, dword [0x534d8c]
call fcn.0040ee3c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48fc64]
call fcn.00426734
call fcn.00409270
jmp 0x4b744b
lea edx, [ebp - 8]
mov eax, dword [0x534d8c]
call fcn.0040ee3c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x48fc64]
call fcn.00426734
call fcn.00409270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b746d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409c54
ret

Function at 0x4b7c80
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b7cce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004b7248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b7ce7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b7cf0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004b7248
dec esi
jne 0x4b7d12
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4d8b30
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d8ceb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a01c
mov eax, dword [ebp - 4]
call fcn.004d8480
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4d8b82
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040ac20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d9778
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d8c61
xor eax, eax
push ebp
push 0x4d8c5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004d8720
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004d8d20
test al, al
je 0x4d8c38
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00409d7c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4d8c38
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040a814
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004d8680
test al, al
je 0x4d8c32
mov eax, dword [ebp - 8]
call fcn.0040a814
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040a87c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004d8b30
dec ebx
cmp ebx, 0xffffffff
jne 0x4d8be1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8c61
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004d8720
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x53ae24], 0
je 0x4d8ca1
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040a814
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004d870c
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004d8680
mov ebx, eax
jmp 0x4d8cc8
mov eax, dword [ebp - 4]
call fcn.0040a814
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004d870c
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004d8680
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8cf2
lea eax, [ebp - 0x3c]
call fcn.00409bf4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409c54
ret
Function at 0x4d9654
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.004d8498
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040a814
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004d8680
test al, al
jne 0x4d96bc
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x534cb8]
mov dl, 1
mov eax, dword [0x4d7264]
call fcn.00426938
call fcn.00409270
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d96c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040a814
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.004d8680
test al, al
jne 0x4d9729
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x534f04]
mov dl, 1
mov eax, dword [0x4d7264]
call fcn.00426938
call fcn.00409270
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004d84c8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d9d28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d9e50
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004d8720
xor eax, eax
push ebp
push 0x4d9e2b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d8d20
test al, al
je 0x4d9e0f
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004d9c08
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409d7c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4d9e0f
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a814
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d8680
test al, al
je 0x4d9e0b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a814
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040a87c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004d9c08
pop ecx
inc edi
dec ebx
jne 0x4d9db3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9e32
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004d8720
ret
Function at 0x4d9e60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4da0ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.004d8720
xor eax, eax
push ebp
push 0x4da084
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d8d20
test al, al
je 0x4da068
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409d7c
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4da068
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a814
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d8680
test al, al
je 0x4da05c
mov eax, dword [ebp - 4]
call fcn.0040a814
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040a87c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d9778
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4da05c
xor eax, eax
push ebp
push 0x4da055
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.004d8720
xor eax, eax
push ebp
push 0x4da037
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a814
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040a87c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d8724
mov eax, dword [ebp - 4]
call fcn.0040a814
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040a87c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d9778
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4da014
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004d9d28
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004d9e60
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da01b
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4d9eeb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da08b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004d8720
ret
Function at 0x4e0a14
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4e0a1a
ret
Function at 0x4eac40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x532790
test edx, edx
jne 0x4eac5f
xor eax, eax
jmp 0x4ead7d
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4eac7c
push esi
push edx
push eax
call fcn.004ead84
add esp, 0xc
jmp 0x4ead7d
push esi
push edx
push eax
call fcn.004eb044
add esp, 0xc
jmp 0x4ead7d
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x18330a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
push edx
push ecx
call fcn.00196f8c
mov dword [esp + 0x18], 0x7d0d
lea edi, [esi + 4]
shl dword [esp + 0x18], 0xe
xor edx, edx
imul eax, dword [esp + 0x18], 0x1b
push 0x67
pop ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
div ecx
mov dword [esp + 0x18], eax
xor dword [esp + 0x18], 0xbd2c92
mov dword [esp + 0x28], 0x60c2
add dword [esp + 0x28], 0xfffffc96
shr dword [esp + 0x28], 1
xor dword [esp + 0x28], 0xabcf9355
xor dword [esp + 0x28], 0xabcffeb0
mov ecx, dword [esi]
mov eax, dword [edi]
add edi, 4
xor eax, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
lea esi, [eax + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, esi
call fcn.001894ad
mov ebx, eax
mov dword [esp + 0x20], ebx
pop ecx
test ebx, ebx
je 0x183407
shr esi, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0x1833fe
mov ebx, dword [esp + 0x14]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc ebp
mov byte [edx - 1], cl
cmp ebp, esi
jb 0x1833d5
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
pop ebp
mov byte [ebx + eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0xc
ret
Function at 0x18387f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push dword [esp + 0x30]
mov ebx, edx
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push ecx
call fcn.00196f8c
mov dword [esp + 0x24], 0x61cf
add esp, 0x14
imul eax, dword [esp + 0x10], 0x7d
xor edx, edx
push 0x72
pop ecx
mov dword [esp + 0x10], eax
add dword [esp + 0x10], 0xffffcf05
add dword [esp + 0x10], 0xc93f
xor dword [esp + 0x10], 0x305a56
mov dword [esp + 0x1c], 0x500
add dword [esp + 0x1c], 0xffff251a
shl dword [esp + 0x1c], 0x10
xor dword [esp + 0x1c], 0x2a1a5087
mov dword [esp + 0x14], 0xbbd8
xor dword [esp + 0x14], 0x2f6cc45b
add dword [esp + 0x14], 0xd756
shl dword [esp + 0x14], 1
xor dword [esp + 0x14], 0x5edac917
mov dword [esp + 0x20], 0x31cd
add dword [esp + 0x20], 0xc56e
xor dword [esp + 0x20], 0xe596
mov dword [esp + 0x18], 0x3f9a
add dword [esp + 0x18], 0x8cfc
mov eax, dword [esp + 0x18]
div ecx
mov dword [esp + 0x18], eax
add dword [esp + 0x18], 0xd22
xor dword [esp + 0x18], 0x7acc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x10]
add eax, ebx
mov edx, dword [eax + ecx*8 + 0x78]
test edx, edx
je 0x1839cf
cmp dword [eax + ecx*8 + 0x7c], 0
je 0x1839cf
lea esi, [edx + ebx]
jmp 0x1839c8
push dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
lea edx, [eax + ebx]
call fcn.001864c5
pop ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x1839da
mov edi, dword [esi]
mov ebp, dword [esi + 0x10]
add edi, ebx
add ebp, ebx
jmp 0x1839bf
jns 0x183999
movzx edx, ax
jmp 0x18399e
lea edx, [ebx + 2]
add edx, eax
push dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00192013
pop ecx
pop ecx
test eax, eax
je 0x1839da
mov ecx, dword [esp + 0x10]
add edi, 4
mov dword [ebp], eax
add ebp, 4
mov eax, dword [edi]
test eax, eax
jne 0x183992
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x18396c
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor eax, eax
jmp 0x1839d2
Function at 0x187603
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
push ebp
push dword [esp + 0x40]
push edx
push ecx
call fcn.00196f8c
mov dword [esp + 0x38], 0xfcb7
lea edi, [esp + 0x3c]
xor eax, eax
add esp, 0x10
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x9926
shr dword [esp + 0x10], 9
shl dword [esp + 0x10], 0x10
xor dword [esp + 0x10], 0xdf41477c
xor dword [esp + 0x10], 0xdf0d3412
mov dword [esp + 0x14], 0x5bab
shr dword [esp + 0x14], 6
shl dword [esp + 0x14], 5
xor dword [esp + 0x14], 0x6c1b
mov dword [esp + 0x40], 0x21e3
shl dword [esp + 0x40], 3
add dword [esp + 0x40], 0xffff19b4
or dword [esp + 0x40], 0xaf62c075
xor dword [esp + 0x40], 0xaf62e8fd
mov eax, dword [ebp + 0x3c]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov ebx, dword [eax + ebp + 0x78]
add ebx, ebp
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
add eax, ebp
mov dword [esp + 0x20], eax
add ecx, ebp
mov eax, dword [ebx + 0x24]
add eax, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x1876e3
mov eax, dword [ecx + edi*4]
mov edx, dword [esp + 0x14]
add eax, ebp
mov ecx, dword [esp + 0x10]
push eax
call fcn.0018ab9b
xor eax, 0x5f013404
pop ecx
cmp eax, dword [esp + 0x3c]
je 0x1876ea
mov ecx, dword [esp + 0x18]
inc edi
cmp edi, dword [ebx + 0x18]
jb 0x1876bf
jmp 0x187716
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
movzx eax, word [eax + edi*2]
mov esi, dword [esi + eax*4]
add esi, ebp
cmp esi, ebx
jb 0x187716
mov eax, dword [esp + 0x24]
mov eax, dword [eax + ebp + 0x7c]
add eax, ebx
cmp esi, eax
jae 0x187716
mov ecx, esi
call fcn.00182b43
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret