joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4176ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x41f72c
call fcn.0040bb6c
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.0041e67f
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x417708
call fcn.0041e67f
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x417719
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x417725
or eax, 0xffffffff
jmp 0x417828
mov ecx, esi
call fcn.004171fa
mov dword [ebp - 0x14], eax
call fcn.00418e7b
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x417768
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x417768
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x417768
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.0041a05d
push dword [ebp - 0x14]
call fcn.00418dd3
push edi
push eax
push ebx
mov ecx, esi
call fcn.004174ad
xor ebx, ebx
cmp eax, ebx
je 0x4177dc
test byte [esi + 0x38], 0x10
je 0x4177aa
push 4
pop edi
mov ecx, esi
call fcn.0041ac96
test ah, 1
je 0x4177a2
push 5
pop edi
push edi
mov ecx, esi
call fcn.00418877
cmp dword [esi + 0x1c], ebx
je 0x4177dc
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0041ad69
jmp 0x4177dc
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x4177f0
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x417809
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x417809
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00417234
cmp dword [esi + 0x54], ebx
je 0x417825
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x41a9c9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41aa0c
call fcn.0041e67f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41aa0c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41aa27
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00419b2e
test ebx, ebx
mov esi, eax
je 0x41aa25
test edi, edi
je 0x41aa25
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41bdd2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x429990]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, 0x100
cmp esi, eax
ja 0x41be21
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x41be21
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41be2d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0040b693
leave
ret 8

Function at 0x41c82c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x429990]
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
mov dword [ebp - 4], eax
je 0x41c879
push dword [ebp + 8]
call fcn.0041d9b3
mov esi, eax
test esi, esi
je 0x41c8a1
push edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
jmp 0x41c8a1
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x424054
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0040b693
leave
ret 0xc

Function at 0x41cbee
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [ebp + 0xc], 0x800
mov eax, dword [0x429990]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
jne 0x41cc4c
push 0x42159c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0040b60b
add esp, 0x10
cmp eax, 0xffffffff
je 0x41cc60
cmp eax, esi
jae 0x41cc60
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x41cc62
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x41cc17
jmp 0x41cc63
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.0040b693
leave
ret
Function at 0x41cc83
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x429990]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41cd25
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x41ce27
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x41cdd5
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41ce28
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41cdca
cmp dword [ebp - 0x24], 1
jne 0x41cdca
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x4215ac
push eax
call fcn.00409db5
add esp, 0xc
cmp eax, 1
jne 0x41cdca
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41ce28
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x41ce28
lea ecx, [ebp - 0x18]
push ecx
push 0x41cc6d
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x41ce28
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x41ce4e
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.0041cbee
cmp eax, ebx
pop ecx
pop ecx
jne 0x41ce50
inc edi
cmp edi, esi
jl 0x41ce37
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0040b693
leave
ret 4
Function at 0x41ce5f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x42913c
je 0x41cf1b
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41cf03
mov esi, dword [ebx + 4]
jmp 0x41cefd
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41ceed
cmp dword [ebp - 0xc], 4
jne 0x41ceed
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x41cee5
or dword [eax + 0x9c], ecx
jmp 0x41ceed
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x41ceb1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x41ce94
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x41d66a
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x41f694
call fcn.0040bb6c
sub esp, 0x11c
mov eax, dword [0x429990]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x41d763
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x41d737
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00401210
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0041d66a
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004011c0
test bl, bl
jne 0x41d737
or dword [ebp - 4], 0xffffffff
jmp 0x41d6a8
cmp esi, 0x103
je 0x41d747
cmp esi, 0x3f2
jne 0x41d757
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0040b693
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41e81c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x41e851
cmp edi, dword [esi + 0xc]
jge 0x41e851
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41e851
cmp edi, dword [eax + 8]
jge 0x41e851
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x41e853
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x41e957
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x41e98b
jmp fcn.00415b59
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x41e9fc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x41eaf5
cmp eax, dword [edi + 0xc]
jge 0x41eaf5
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x41ea4d
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x41eade
cmp dword [ebp + 0xc], ebx
je 0x41eade
jmp 0x41ea77
push 0x10
call fcn.0041e6e8
cmp eax, ebx
je 0x41ea63
mov ecx, eax
call fcn.0041e94e
mov esi, eax
jmp 0x41ea65
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41ea8e
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x41ea9e
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x41eab0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00415b59
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0040c220
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x41eaf0
cmp ecx, dword [esi + 8]
jge 0x41eaf0
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x41eaf6
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41ebb4
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 0x41ebe2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41ec00
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041eb1e
jmp 0x41ec00
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41ec00
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041eb1e
test edi, edi
mov eax, edi
jne 0x41ebea
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x42e674]
test ecx, ecx
je 0x41ecb3
jmp 0x41ebb3
ret 8

Function at 0x41f3fe
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x41f850
call fcn.0040bb6c
sub esp, 0x198
mov eax, dword [0x429990]
push ebx
push esi
push edi
push 0x41e2af
mov ecx, 0x42e530
mov dword [ebp - 0x10], eax
call fcn.0041e87c
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jne 0x41f460
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x41f43e
lea esi, [ebp - 0x1a0]
push esi
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x41f492
cmp byte [esi], 1
jne 0x41f48c
cmp byte [esi + 1], 1
jne 0x41f48c
mov dword [edi + 0xc], 0x41f3cb
call fcn.0041e6a5
mov esi, eax
cmp dword [esi + 0x30], ebx
jne 0x41f49f
push 0x1c
call fcn.0041791e
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x41f496
push 0xa
call fcn.00416005
jmp 0x41f498
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x41f502
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
cmp dword [esi + 0x34], ebx
jne 0x41f4d1
push 0x1c
call fcn.0041791e
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 1
je 0x41f4c8
push 0xa
call fcn.00416005
jmp 0x41f4ca
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x34], eax
cmp dword [esi + 0x38], ebx
jne 0x41f4ff
push 0x1c
call fcn.0041791e
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 2
je 0x41f4fa
push 0xa
call fcn.00415bf3
jmp 0x41f4fc
xor eax, eax
mov dword [esi + 0x38], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0040b693
leave
ret 4
Function at 0x534270
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xce000]
push edi
jmp 0x53428a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x534291
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x534280
mov eax, 1
add ebx, ebx
jne 0x5342a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5342b4
jne 0x5342d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5342d3
dec eax
add ebx, ebx
jne 0x5342c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x534298
add ebx, ebx
jne 0x5342cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x534325
xor ecx, ecx
sub eax, 3
jb 0x5342eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53435a
sar eax, 1
mov ebp, eax
jmp 0x5342f6
add ebx, ebx
jne 0x5342f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5342c4
inc ecx
add ebx, ebx
jne 0x534304
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5342c4
add ebx, ebx
jne 0x534311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x534306
jne 0x534322
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x534306
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x534344
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x534336
jmp 0x534286
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x534344
add edi, ecx
jmp 0x534286
pop esi
lea edi, [esi + 0x12f000]
mov ecx, 8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x534366
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x53436b
lea edi, [esi + 0x131000]
mov eax, dword [edi]
or eax, eax
je 0x5343dc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x138fc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1390e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x534391
mov ecx, edi
jns 0x5343c0
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1390f0]
or eax, eax
je 0x5343d6
mov dword [ebx], eax
add ebx, 4
jmp 0x5343ae
call dword [esi + 0x1390ec]
mov ebp, dword [esi + 0x1390f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x534410
sub esp, 0xffffff80
jmp 0x49add5

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xb00b34
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp], bl
pop word [esp]
jmp 0xb00b59
lea esp, [esp]
lea esp, [esp + 2]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jmp 0xb00b96
jmp 0xb00bb2
pop dword [esp]
pop word [esp + 1]
mov dword [esp + 0x14], esp
jmp 0xb00bfc
mov dword [esp + 0x14], ebx
push esp
mov word [esp], dx
push dx
push word [esp + 4]
jl 0xb00b79
push ax
jmp 0xb00b7b
push ax
pop dword [esp]
pop word [esp + 1]
mov dword [esp + 0x14], esp
mov dword [esp + 0x10], ebp
call fcn.00b00be6
pop ecx
invalid
mov dword [esp + 0x10], ebp
jmp 0xb00bc4

Function at 0xb00be6
Capabilities:
Execute anti-debugging instructions

Disassembly:
invalid
mov dword [esp + 0x10], esi
call fcn.00b00c18
out dx, al
insd dword es:[edi], dx
std
test byte [edi + 0x28], dh
clc
jle 0xb00be4
mov eax, dword [esi + reloc.oleaut32.dll_SysFreeString]
and al, 0x10

Function at 0xb00c18
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0
jmp 0xb00cd1
pushfd
jmp 0xafd59b
mov dword [esp], esp
mov dword [esp + 0x10], edi
lea esp, [esp + 0x10]
jmp 0xb00c02
mov esi, dword [esp + 0x30]
mov ebp, ebx
mov cl, al
setl dh
jmp 0xb00c63
adc byte [esi - 0x75], ah
jmp 0xb0cc53
mov bp, cx
jmp 0xb00d2a
call 0xb00c38
inc esi
retf
pushfd
rdtsc
stc
jo 0xb00c79
jno 0xb00ce1
sti
jl 0xb00cee
jne 0xb00c62
out dx, al
leave
push 0x2247c88
mov byte [esp + 2], bh
jmp 0xb00c52
or dword [reloc.oleaut32.dll_SysFreeString], ebp
fstp dword [ebp + 0x66]
and esi, ebx
inc ecx
xchg dword [esp + 0x18], edi
lea ebp, [eax*4]
lea eax, [ebp*4]
push dword [esp + 0x18]
ret 0x1c
jmp 0xb00d5c
lea edi, [esp + 4]
lea ebp, [ebp*4]
xchg bl, dh
rcl ecx, 0xc
jae 0xb00d14
jb 0xb00d5c
rdtsc
sub esp, 0xbc
mov ebp, esp
lea ecx, [edx*4]
clc
jmp 0xb00d72
jno 0xb00d3e
rdtsc
jmp fcn.00b00d40
cwde
xchg esi, eax
add al, 0x63
sahf
movsb byte es:[edi], byte [esi]
invalid