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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor bl, bl
push esi
mov esi, ecx
test eax, eax
je 0x49e949
cmp word [eax], 0
je 0x49e949
cmp edi, 1
jbe 0x49e949
push str.8895b1c6_b41f_4c1c_a562_0d564250836f
push eax
push str.._sShellEx_s
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.00408c10
add esp, 0x14
test eax, eax
js 0x49e937
lea ecx, [ebp - 0x808]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x804]
push edx
push 0x80000000
mov dword [ebp - 0x808], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49e937
lea ecx, [edi + edi]
push ecx
lea eax, [edi + edi - 2]
push 0
push esi
mov dword [ebp - 0x810], 1
mov dword [ebp - 0x80c], eax
call fcn.004e15a0
mov ecx, dword [ebp - 0x808]
add esp, 0xc
lea edx, [ebp - 0x80c]
push edx
push esi
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49e92a
cmp word [esi], ax
je 0x49e928
lea esp, [esp]
movzx edx, word [esi]
push edx
call fcn.004e322c
add esp, 4
test eax, eax
je 0x49e91f
movzx eax, word [esi]
push eax
call fcn.004e39e0
add esp, 4
mov word [esi], ax
add esi, 2
cmp word [esi], 0
jne 0x49e900
mov bl, 1
mov ecx, dword [ebp - 0x808]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor al, al
pop ebx
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4a3520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x4a3641
cmp byte [edi + 0x49], bl
je 0x4a3641
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x4a3635
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x4a3595
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x4a35ad
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4a35d6
dec eax
je 0x4a35da
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x4a3630
jmp 0x4a363c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4a35ea
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x4a3613
cmp ebx, 0x10
jae 0x4a35f9
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.004e4d1b
add esp, 0x10
cmp esi, eax
jne 0x4a362d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x4a3639
test esi, esi
jne 0x4a35a1
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0044c320
jmp 0x4a359b
lea ecx, [ebp - 0x2c]
call fcn.00438e30
xor al, al
jmp 0x4a3643
lea ecx, [ebp - 0x2c]
call fcn.00438e30
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4b4db0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509700
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 9
xor ebx, ebx
xor eax, eax
push str..pipe_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00406300
lea edx, [esi + 0x204]
mov eax, edx
mov dword [ebp - 4], ebx
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b4e10
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040e560
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x4b4e39
lea eax, [ebp - 0x2c]
push ebx
push 0x7d0
push 0x1000
push 0x1000
push 1
push ebx
push 0x80003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x4b4efa
cmp eax, ebx
je 0x4b4efa
lea ecx, [esi + 8]
push ecx
lea edx, [ebp - 0x6c]
push edx
mov byte [ebp - 0x7a], bl
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x74], bl
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x7c], 0x100
call fcn.0045a2d0
push esi
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov byte [ebp - 4], 1
call fcn.0045a810
add esp, 0x14
test al, al
je 0x4b4ee4
cmp dword [esi], ebx
je 0x4b4ee4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.00438ee0
cmp dword [ebp - 0x18], edi
jb 0x4b4ec4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406ec9
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.00438ee0
cmp dword [ebp - 0x18], edi
jb 0x4b4f0b
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x4b4f03
cmp dword [ebp - 0x18], edi
jb 0x4b4f0b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ec9
add esp, 4
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x4b4f1c
push eax
call edi
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x4b4f2e
push eax
call edi
mov dword [esi + 4], 0xffffffff
xor al, al
jmp 0x4b4ec6
Function at 0x4bf320
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a142
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 0x50], ebx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0x551c0c
call esi
test eax, eax
jne 0x4bf4ad
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
xor edx, edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
push 0x20019
push str.SOFTWAREMicrosoftOffice11.0CommonInstallRoot
push 0x80000002
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0040a8c0
lea ecx, [ebp - 0x48]
push ecx
push str.Path
mov ecx, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 1
call fcn.0041fac0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bf3e3
cmp dword [ebp - 0x38], ebx
je 0x4bf3e3
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x4bf3d8
lea eax, [ebp - 0x48]
push eax
call edi
mov byte [ebp - 0x49], 1
test eax, eax
jne 0x4bf3e6
mov byte [ebp - 0x49], bl
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.0040aa70
cmp byte [ebp - 0x49], bl
je 0x4bf3ff
push ebx
push 1
jmp 0x4bf46f
push 0x20019
push 0x531008
push 0x80000002
lea ecx, [ebp - 0x58]
call fcn.0040a8c0
lea edx, [ebp - 0x2c]
push edx
push str.Path
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], 2
call fcn.0041fac0
test eax, eax
jne 0x4bf451
cmp dword [ebp - 0x1c], ebx
je 0x4bf451
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4bf446
lea eax, [ebp - 0x2c]
push eax
call edi
mov byte [ebp - 0x49], 1
test eax, eax
jne 0x4bf454
mov byte [ebp - 0x49], bl
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.0040aa70
push ebx
cmp byte [ebp - 0x49], bl
je 0x4bf46d
push 1
jmp 0x4bf46f
push 2
push 0x551c0c
call esi
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x4bf48c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x4bf4ad
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406ec9
add esp, 4
push ebx
push ebx
push 0x551c0c
call esi
dec eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4c9ac0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ab58
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
cmp byte [edi + 0xaf], 0
je 0x4c9c7b
cmp dword [esi + 0x10], 0
je 0x4c9c7b
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x4c9b18
mov eax, dword [esi]
jmp 0x4c9b1a
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4c9c7b
push 0x3c
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004e15a0
mov ecx, dword [esi + 0x10]
mov eax, 1
add esp, 0xc
mov dword [ebp - 0xc0], 0x3c
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xac], eax
cmp dword [esi + 0x14], ebx
jb 0x4c9b63
mov eax, dword [esi]
jmp 0x4c9b65
mov eax, esi
lea edx, [ebp - 0xc0]
push edx
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4c9c7b
mov eax, dword [ebp - 0xb4]
cmp eax, 3
je 0x4c9b92
cmp eax, 4
jne 0x4c9c7b
mov eax, dword [ebp - 0xbc]
xor bl, bl
test eax, eax
je 0x4c9c65
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x4c9c65
cmp dword [ebp - 0xb0], 0
je 0x4c9c65
cmp dword [ebp - 0xac], 0
jbe 0x4c9c65
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00471e40
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
push eax
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00471e40
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 1
call fcn.004c9a40
add esp, 0xc
push eax
lea edx, [ebp - 0x84]
push edx
lea ecx, [edi + 0xbc]
mov byte [ebp - 4], 2
call fcn.004c8c00
lea ecx, [ebp - 0x80]
call fcn.0040a160
mov eax, dword [ebp - 0x84]
cmp eax, dword [edi + 0xc0]
je 0x4c9c51
add eax, 0x44
cmp dword [eax + 0x14], 8
jb 0x4c9c41
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0xb4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov bl, 1
lea ecx, [ebp - 0x48]
call fcn.0040a2c0
lea ecx, [ebp - 0x2c]
call fcn.0040a2c0
test bl, bl
jne 0x4c9c7b
cmp dword [esi + 0x14], 8
jb 0x4c9c6d
mov esi, dword [esi]
mov ecx, dword [edi + 0xb4]
push esi
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x4ceb90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x552d10]
push edi
push 0xf0
push eax
mov edi, 1
push esi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ced58
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4ced58
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4ced58
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x4cec06
mov edi, dword [ebp - 0x10c]
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4ced43
mov edx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov ecx, 0x403
add esi, 8
mov dword [ebp - 0x114], edx
cmp cx, ax
jne 0x4cec96
push 3
lea edx, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], edx
call fcn.004cdc50
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 0x110]
push eax
mov eax, dword [edx + 4]
push 0
push 0x143
push edi
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4cec74
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x4ced17
push eax
call fcn.00402d0e
add esp, 4
jmp 0x4ced17
mov edx, 0x1234
cmp dx, ax
jne 0x4ced17
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x108], eax
call fcn.004cdc50
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x4ceced
push eax
call fcn.00402d0e
add esp, 4
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x138]
push edx
mov edx, dword [ecx + 4]
push 0
push 0x40b
push edi
push edx
call ebx
cmp eax, 0xffffffff
jne 0x4ced17
mov dword [ebp - 0x10c], 0
add esi, dword [ebp - 0x114]
cmp dword [ebp - 0x10c], 0
jne 0x4cec00
mov eax, dword [ebp - 0x10c]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret 4
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call int.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x4d2140
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b488
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
cmp byte [esi + 0x104], 0
mov dword [ebp - 0x30], eax
mov eax, 2
mov dword [esi + 0x128], eax
mov dword [esi + 0x10c], edi
je 0x4d2267
push 0
push edi
call fcn.004d19a0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d2234
test edi, edi
je 0x4d21b8
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
push 5
push ecx
mov byte [esi + 0x124], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [ebp - 0x2c]
push edx
call ebx
test eax, eax
je 0x4d221d
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004cda60
test eax, eax
jne 0x4d2204
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [esi + 0x124], 0
je 0x4d221d
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x4d21e1
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
test edi, edi
je 0x4d2234
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004d15e0
mov ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 4], 0
call fcn.00406280
cmp dword [ebp - 0x18], 8
jb 0x4d2261
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ec9
add esp, 4
mov eax, dword [esi + 0x128]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret 8
Function at 0x4f0939
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401878
and dword [ebp - 0x14], 0
cmp dword [0x552cb8], 0
mov dword [ebp - 0x18], eax
jne 0x4f09ec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4f0a94
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x53600c
push ebx
call edi
test eax, eax
je 0x4f0a94
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x535ffc
push ebx
mov dword [0x552cb8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x552cbc], eax
call edi
push eax
call esi
push 0x535fcc
push ebx
mov dword [0x552cc0], eax
call edi
push eax
call esi
mov dword [0x552cc8], eax
test eax, eax
je 0x4f09ec
push 0x535fb4
push ebx
call edi
push eax
call esi
mov dword [0x552cc4], eax
mov eax, dword [0x552cc4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4f0a45
cmp dword [0x552cc8], ecx
je 0x4f0a45
push eax
call esi
push dword [0x552cc8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4f0a45
test ebx, ebx
je 0x4f0a45
call edi
test eax, eax
je 0x4f0a3c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4f0a3c
test byte [ebp - 8], 1
jne 0x4f0a45
or dword [ebp + 0x10], 0x200000
jmp 0x4f0a78
mov eax, dword [0x552cbc]
cmp eax, dword [ebp - 0x18]
je 0x4f0a78
push eax
call esi
test eax, eax
je 0x4f0a78
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4f0a78
mov eax, dword [0x552cc0]
cmp eax, dword [ebp - 0x18]
je 0x4f0a78
push eax
call esi
test eax, eax
je 0x4f0a78
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x552cb8]
call esi
test eax, eax
je 0x4f0a94
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4f0a96
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call int.00401316
leave
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 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x24f06025
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x28826249
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40d830
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40d852
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d848
mov eax, 1
add ebx, ebx
jne 0x40d86b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d860
jne 0x40d87c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d860
xor ecx, ecx
sub eax, 3
jb 0x40d890
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d902
mov ebp, eax
add ebx, ebx
jne 0x40d89b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d8a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d8cc
inc ecx
add ebx, ebx
jne 0x40d8b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d8ad
jne 0x40d8c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d8ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d8ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d8dd
jmp 0x40d84e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d8ec
add edi, ecx
jmp 0x40d84e
pop esi
mov edi, esi
mov ecx, 0x12
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d90a
cmp byte [edi], 1
jne 0x40d90a
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 0x40d90f
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d97e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd060]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd0c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d93c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd0c8]
or eax, eax
je 0x40d978
mov dword [ebx], eax
add ebx, 4
jmp 0x40d959
call dword [esi + 0xd0d0]
mov ebp, dword [esi + 0xd0cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x40d9b2
sub esp, 0xffffff80
jmp 0x401c66