joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419f50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
lea eax, [esp + 8]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push str.SystemCurrentControlSetControlProductOptions
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a0bc
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edi
push edx
push edi
push str.ProductSuite
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x41a0b1
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x41a0b1
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push edi
push str.ProductSuite
push eax
call esi
test eax, eax
jne 0x41a094
cmp dword [esp + 0x14], 7
jne 0x41a094
mov esi, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ebp
push ecx
call sub.MFC42.DLL_operatornew
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.MSVCRT.dll__mbsupr]
call edi
mov al, byte [ebx]
add esp, 8
test al, al
mov dword [esp + 0x20], 0
mov esi, ebx
je 0x41a06e
push esi
call edi
push ebp
push esi
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 0xc
test eax, eax
jne 0x41a066
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x41a042
jmp 0x41a06e
mov dword [esp + 0x20], 1
push ebp
call sub.MFC42.DLL_operatordelete
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x18]
add esp, 8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
push ebx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x10]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x41f360
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4293a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x118]
lea eax, [esi + 0x118]
mov dword [esp + 0x14], 0
mov edx, dword [ecx - 8]
test edx, edx
jne 0x41f3ad
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::GetWindowTextA_1
jmp 0x41f3b7
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
push 0x435524
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Find
test eax, eax
pop esi
jge 0x41f437
push 0x435520
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x41f427
push ebx
lea eax, [esp + 8]
push 4
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push str..exe
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 8]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
pop ebx
je 0x41f420
mov ecx, dword [esp]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x41f44f
push str.http:__
jmp 0x41f42c
push str.mailto:
push 0
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Insert
mov edx, dword [esp]
push 0x40
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41f470
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4293c8
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x118]
lea edi, [esi + 0x118]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41f673
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 0
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x34]
push ecx
call edi
lea edx, [esp + 0x24]
push edx
call edi
lea eax, [esp + 0x44]
push eax
call edi
lea ecx, [esp + 0x54]
push ecx
call edi
lea edx, [esp + 8]
push edx
push 0x42d17c
push 4
push 0
push 0x42d16c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 8]
test eax, eax
jne 0x41f553
mov eax, dword [esi + 0x128]
test eax, eax
je 0x41f52f
push 1
push 0
push 1
push 0
push 0x43557c
push 0x43554c
push str.INIpay_Plug_in
call fcn.0041f890
add esp, 0x1c
jmp 0x41f662
push 0
push 0
push 1
push 0
push 0x43557c
push 0x43554c
push 0x435528
call fcn.0041f890
add esp, 0x1c
jmp 0x41f662
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 8]
push 0
push eax
mov edx, dword [eax]
call dword [edx + pe_nt_image_headers32]
mov eax, dword [esp + 8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov eax, dword [esp + 8]
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0xbc]
mov eax, dword [esp + 8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xac]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x58]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 8]
add ecx, 0xffffff38
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x60]
mov eax, dword [esp + 8]
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x118]
mov eax, dword [esp + 8]
mov edx, dword [esi + 0x124]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [esp + 8]
mov edx, dword [esi + 0x120]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [esp + 8]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov edx, dword [esp + 8]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
mov esi, dword [edx]
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::AllocSysString
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [esi + 0x2c]
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x94]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x10]
push 0x43
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esp + 0xc]
mov dword [esp + 0x6c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x68
ret
Function at 0x41f690
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x41f6a0
push 0xffffffffffffffff
push 0x429406
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CPaintDC::CPaintDC
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x98], 0
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CDC::CDC
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x34]
neg eax
sbb eax, eax
mov byte [esp + 0x90], 1
and eax, edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::Attach
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42ac68
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
sub eax, ebp
sub ecx, edi
push eax
push ecx
push edx
mov byte [esp + 0x9c], 2
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
push 0xf8f8f8
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CDC::SetBkColor
lea ecx, [esp + 0x24]
push 0xf8f8f8
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CDC::FillSolidRect
lea edx, [esi + 0x44]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov esi, dword [esi + 0x40]
mov edx, dword [esp + 0x14]
mov ebp, eax
lea ecx, [esp + 0x24]
mov eax, dword [esi - 8]
push 0x24
push ecx
push eax
push esi
lea ecx, [esp + 0x24]
call dword [edx + 0x70]
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub ecx, edx
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
sub edx, eax
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
push 0xcc0020
and eax, esi
push 0
push 0
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test edi, edi
je 0x41f807
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x18]
push edi
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CDC::DeleteDC
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0xc], 0x42aca4
lea ecx, [esp + 0xc]
mov byte [esp + 0x90], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0x42ac90
mov byte [esp + 0x90], 0
call fcn.00426a1c
lea ecx, [esp + 0x34]
mov dword [esp + 0x90], 0xffffffff
call fcn.00426a16
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x88
ret
Function at 0x41fac0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x429458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
push 0x104
push 0x104
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x432860
lea ecx, [esp + 8]
call fcn.00426a0a
push 0x432cec
lea ecx, [esp + 8]
call fcn.00426a0a
mov eax, dword [esp + 4]
push eax
push 0
push str.ENGLISH
push str.LANGUAGE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x41fbd0
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0041fba0
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax - 8]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esi]
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x10]
mov edx, ecx
mov esi, edi
mov edi, ebp
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
mov dword [esp + 0x18], edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, edi
je 0x41fcb9
push esi
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 4], eax
push eax
push esi
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41fcb9
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x18]
lea eax, [ebx + 0x10]
push edx
push eax
push 0x432860
push ecx
mov dword [esp + 0x28], edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41fcb9
mov eax, dword [ebx + 4]
lea edx, [esp + 0x18]
lea esi, [ebx + 8]
push edx
push esi
push str.VarFileInfoTranslation
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41fca1
mov eax, dword [esp + 0x18]
cmp eax, 4
jb 0x41fca1
shr eax, 2
mov dword [ebx + 0xc], eax
mov eax, dword [esi]
mov cx, word [eax]
mov word [ebx], cx
mov dx, word [eax + 2]
mov word [ebx + 2], dx
push ebp
mov edi, 1
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x41fcd0
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 4], 0
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4200e0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4000
call fcn.00426ed0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4014]
lea eax, [esp + 0x10]
push 0x4000
push eax
push edi
call fcn.004208a0
mov esi, eax
add esp, 0xc
test esi, esi
jl 0x420148
mov ebx, dword [esp + 0x4018]
mov ebp, dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
je 0x42015c
push esi
lea ecx, [esp + 0x18]
push 1
push ecx
call ebp
add esp, 0x10
cmp eax, esi
jne 0x4201ae
lea edx, [esp + 0x10]
push 0x4000
push edx
push edi
call fcn.004208a0
mov esi, eax
add esp, 0xc
test esi, esi
jge 0x42011b
push 0
push 0
push 1
push 0
push 0x4358c4
push 0x4358a4
jmp 0x4201c0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
test eax, eax
je 0x42017d
push 0
push 0
push 1
push 0
push 0x435834
push 0x43580c
jmp 0x4201c0
push edi
call fcn.00420c00
add esp, 4
test eax, eax
je 0x42019e
push 0
push 0
push 1
push 0
push 0x4357a4
push 0x435784
jmp 0x4201c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4000
ret
push 0
push 0
push 1
push 0
push 0x435708
push 0x4356d4
push 0x4356b8
call fcn.0041f890
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret

Function at 0x420770
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x420781
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esi + 4]
test eax, eax
jne 0x4207cd
mov dword [0x4374a4], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call sub.MSVCRT.dll_fread
add esp, 0x10
mov dword [esi + 4], eax
test eax, eax
jne 0x4207c8
mov edx, dword [esi + 0x40]
mov dword [esi + 0x3c], 1
or eax, 0xffffffff
test byte [edx + 0xc], 0x20
je 0x4207df
mov dword [esi + 0x38], eax
pop esi
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi + 4]
xor ecx, ecx
dec eax
mov dword [esi + 4], eax
mov eax, dword [esi]
mov cl, byte [eax]
inc eax
mov dword [esi], eax
mov eax, ecx
pop esi
ret
Function at 0x420af0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
xor ebx, ebx
cmp esi, ebp
push edi
je 0x420ba0
cmp byte [esi + 0x5c], 0x77
jne 0x420ba0
mov dword [esi + 4], ebp
mov eax, dword [esi + 0x10]
mov edi, 0x4000
sub edi, eax
je 0x420b41
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
push eax
push edi
push 1
push ecx
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp eax, edi
jne 0x420b84
mov edx, dword [esi + 0x48]
mov dword [esi + 0x10], 0x4000
mov dword [esi + 0xc], edx
cmp ebx, ebp
jne 0x420b8f
mov eax, dword [esp + 0x18]
push eax
push esi
call fcn.00421530
add esp, 8
cmp edi, ebp
mov dword [esi + 0x38], eax
jne 0x420b62
cmp eax, 0xfffffffb
jne 0x420b62
mov dword [esi + 0x38], ebp
cmp dword [esi + 0x10], ebp
jne 0x420b71
cmp dword [esi + 0x38], 1
je 0x420b71
xor ebx, ebx
jmp 0x420b76
mov ebx, 1
mov eax, dword [esi + 0x38]
cmp eax, ebp
je 0x420b11
cmp eax, 1
jne 0x420b8f
jmp 0x420b11
or eax, 0xffffffff
mov dword [esi + 0x38], eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [esi + 0x38]
mov eax, esi
dec eax
neg eax
sbb eax, eax
and eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
ret

Function at 0x4225f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4225fb
xor eax, eax
ret
mov eax, dword [esp + 4]
push edi
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
push ebx
not eax
jb 0x4226fd
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x42c060]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x42c060]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x42c060]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x42c060]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x42c060]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x42c060]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x42c060]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x42c060]
xor eax, edx
inc ecx
dec edi
jne 0x422616
test esi, esi
je 0x42271f
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x42c060]
xor eax, edx
inc ecx
dec esi
jne 0x422701
pop ebx
pop esi
not eax
pop edi
ret
Function at 0x411f02
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x418680], 0
push ebx
push esi
mov esi, 0x418688
jne 0x411f2e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4186a0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x418680], 1
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x411fcb
push 0x14
push 8
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x411ff5
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x418684]
test eax, eax
je 0x411f70
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x418684], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x411ffa
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x411ff5
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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 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 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 0x765100
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2ac000]
push edi
or ebp, 0xffffffff
jmp 0x765122
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x765129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x765118
mov eax, 1
add ebx, ebx
jne 0x76513b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x76514c
jne 0x76516b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x76516b
dec eax
add ebx, ebx
jne 0x765158
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x765130
add ebx, ebx
jne 0x765167
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7651bd
xor ecx, ecx
sub eax, 3
jb 0x765183
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7651f2
sar eax, 1
mov ebp, eax
jmp 0x76518e
add ebx, ebx
jne 0x76518e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x76515c
inc ecx
add ebx, ebx
jne 0x76519c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x76515c
add ebx, ebx
jne 0x7651a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x76519e
jne 0x7651ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x76519e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7651dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7651ce
jmp 0x76511e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7651dc
add edi, ecx
jmp 0x76511e
pop esi
mov edi, esi
mov ecx, 0xda00
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7651fa
cmp byte [edi], 0xa4
jne 0x7651fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x7651ff
lea edi, [esi + 0x361000]
mov eax, dword [edi]
or eax, eax
je 0x76526e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4829e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x482b28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x76522c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x482b2c]
or eax, eax
je 0x765268
mov dword [ebx], eax
add ebx, 4
jmp 0x765249
call dword [esi + 0x482b3c]
mov ebp, dword [esi + 0x482b30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x7652a2
sub esp, 0xffffff80
jmp 0x5e7070

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