joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46636d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x466383
sub esi, ecx
cmp esi, 0x104
jbe 0x46639b
xor al, al
jmp 0x4664c2
push ecx
lea edx, [ebp - 0x118]
mov ecx, edi
call fcn.00465f20
pop ecx
lea ecx, [ebp - 0x118]
call fcn.004661bd
test al, al
je 0x466394
xor esi, esi
xor bl, bl
push 0x4a6b4c
push edi
call fcn.004260ba
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
jne 0x46642d
push edi
push str.Unable_to_open__s_for_writing__will_try_again_in_1_sec
call fcn.00425f47
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
call fcn.00465e7f
push dword [ebp - 8]
push str.__s__n
call fcn.00425f47
push dword [ebp - 8]
call fcn.004249b0
add esp, 0x14
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x19
jb 0x4663bd
push edi
push str.ERROR:_Couldnt_open__s_for_writing_n
call fcn.00425e56
add eax, 0x40
push eax
call fcn.00426340
add esp, 0xc
jmp 0x4664c0
xor eax, eax
xor ebx, ebx
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp + 8], ebx
jbe 0x4664b4
mov ecx, 0x8000
mov esi, dword [ebp + 8]
push dword [ebp - 0xc]
sub esi, ebx
cmp esi, ecx
cmova esi, ecx
push esi
push eax
push dword [ebp - 4]
call fcn.004265ab
add esp, 0x10
cmp eax, esi
jne 0x466473
add dword [ebp - 4], esi
add ebx, esi
mov ecx, 0x8000
mov eax, dword [ebp - 8]
cmp ebx, dword [ebp + 8]
jb 0x46643f
mov ebx, eax
jmp 0x4664b7
push edi
push ebx
push esi
push str.ERROR:_Unable_to_write__li_bytes_at_offset__li_to__s_n
call fcn.00425e56
add eax, 0x40
push eax
call fcn.00426340
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
add esp, 0x14
call fcn.00465e7f
push dword [ebp - 4]
push str.__s__n
call fcn.00425f47
push dword [ebp - 4]
call fcn.004249b0
add esp, 0xc
xor bl, bl
jmp 0x4664b7
xor ebx, ebx
inc ebx
push dword [ebp - 0xc]
call fcn.00426699
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x466525
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x64
mov esi, ecx
call fcn.004665da
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x46654c
mov eax, dword [esi + 8]
mov ecx, esi
add eax, 0x64
push eax
call fcn.004665da
mov eax, dword [esi + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [esi]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call ebx
mov edi, eax
cmp edi, 0xea
je 0x46653e
test edi, edi
jne 0x46659f
mov eax, dword [ebp - 8]
test eax, eax
je 0x466592
cmp eax, 2
jbe 0x466585
cmp eax, 7
jne 0x466592
mov eax, dword [ebp - 4]
test eax, eax
je 0x466595
dec eax
mov dword [ebp - 4], eax
jmp 0x466595
mov eax, dword [ebp - 4]
push eax
mov ecx, esi
call fcn.004665bb
jmp 0x4665b0
xor ebx, ebx
mov ecx, esi
push ebx
call fcn.004665da
mov eax, dword [esi]
mov dword [esi + 4], ebx
mov byte [eax], bl
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4693de
Capabilities:
Delete directory
Delete file

Disassembly:
push esi
push edi
mov esi, ecx
mov edi, edx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x5c
push edi
call fcn.004252e0
pop ecx
pop ecx
test eax, eax
je 0x46940c
mov byte [eax], 0
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
ret

Function at 0x469416
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x560
lea eax, [ebp - 0x25c]
push ebx
push esi
push edi
mov esi, 0x104
xor ebx, ebx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x360]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [0x4ca9e8]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test byte [eax + 0x9066], 1
je 0x469476
lea ecx, [ebp - 0x158]
add eax, 0x9175
push ecx
push ebx
push eax
lea eax, [ebp - 0x360]
push eax
call esi
mov eax, dword [0x4ca9e8]
test byte [eax + 0x9066], 2
je 0x469496
lea ecx, [ebp - 0x158]
add eax, 0x89dc
push ecx
push ebx
push eax
lea eax, [ebp - 0x360]
push eax
call esi
push ebx
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push 0x4000000
push 3
push ebx
push 1
push ebx
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [ebp - 0x25c]
push eax
push edi
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x560]
push str._s__cleanup__d___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0042a910
add esp, 0x20
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x54]
push eax
push ecx
push ecx
push ecx
push 1
push ecx
push ecx
lea eax, [ebp - 0x560]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x469565
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
call fcn.00470093
test eax, eax
jne 0x469591
push 0x30
push str.Cannot_start_install
push str.There_is_a_problem_with_the_install_program.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4695c1
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call fcn.0046f38d
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov eax, dword [0x4ca9e8]
add eax, 0xb7c4
push eax
call fcn.00460b44
xor eax, eax
pop ecx
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x4699c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x167c
call fcn.00433a00
push ebx
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.0042a910
mov eax, dword [0x4ca9e8]
xorps xmm0, xmm0
add esp, 0xc
mov dword [ebp - 0x58], 0x44
movdqu xmmword [ebp - 0x10], xmm0
test byte [eax + 0x9066], 1
je 0x469a88
push 1
push eax
lea ecx, [ebp - 0x1678]
call fcn.0046f44b
xor eax, eax
push 0x206
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push ebx
push eax
call fcn.0042a910
add esp, 0xc
mov ecx, ebx
movzx eax, word [ebp + ecx - 0x786]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x262], ax
test ax, ax
jne 0x469a36
push 0x4a77f0
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x786]
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [0x4ca9e8]
test byte [eax + 0x9066], 2
je 0x469b0c
push 2
push eax
lea ecx, [ebp - 0x1678]
call fcn.0046f44b
xor eax, eax
push 0x206
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x25e]
push ebx
push eax
call fcn.0042a910
add esp, 0xc
mov ecx, ebx
movzx eax, word [ebp + ecx - 0x786]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x262], ax
test ax, ax
jne 0x469abf
push 0x4a7810
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x786]
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x469b2c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.0042a910
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x208]
push str.bresume.exe
push ebx
push str._s_s
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x208]
add esp, 0x1c
push eax
call esi
push str.dresume.exe
push ebx
lea eax, [ebp - 0x208]
push str._s_s
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call esi
push str.tresume.exe
push ebx
lea eax, [ebp - 0x208]
push str._s_s
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call esi
push str.sresume.exe
push ebx
lea eax, [ebp - 0x208]
push str._s_s
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x469bf3
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x410], ax
xor ebx, ebx
lea eax, [ebp - 0x40e]
mov esi, ecx
push ebx
push eax
call fcn.0042a910
xor eax, eax
push edi
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push ebx
push eax
call fcn.0042a910
add esp, 0x18
lea eax, [ebp - 0x410]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.bresume.exe
lea edi, [esi + 0xef2]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push edi
lea eax, [ebp - 0x208]
push str._s_s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
push str.dresume.exe
push edi
lea eax, [ebp - 0x208]
push str._s_s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
push str.tresume.exe
push edi
lea eax, [ebp - 0x208]
push str._s_s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
push str.sresume.exe
push edi
lea eax, [ebp - 0x208]
push str._s_s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
lea ecx, [ebp - 0x208]
sub ecx, edi
movzx eax, word [edi]
mov word [ecx + edi], ax
lea edi, [edi + 2]
test ax, ax
jne 0x469d09
push 0x4a859c
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call ebx
pop edi
test eax, eax
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x469f87
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x107]
push 0x103
push ebx
push eax
mov esi, ecx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x108], bl
call fcn.0042a910
lea eax, [esi + 0x9f6]
push eax
lea eax, [ebp - 0x108]
push 0x4a5c80
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x108]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [0x4ca9e8]
mov esi, eax
push ebx
lea eax, [ebp - 4]
push eax
push dword [ecx + 0xe20]
push dword [ecx + 0xe1c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a3a0
Capabilities:
Create directory
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0042a910
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0x20c]
add esp, 0xc
call fcn.0045b6ac
test eax, eax
je 0x46a4e5
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], ebx
push eax
push 0x49c688
push 1
push ebx
push 0x49c838
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x46a4e8
mov eax, dword [ebp + 0x18]
lea edx, [ebp - 4]
push edx
push 0x49c7a8
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x46a4da
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x20], ebx
push ebx
cmovne esi, dword [ebp + 0x20]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
js 0x46a4d1
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp + 0x14], ebx
je 0x46a46b
push dword [ebp + 0x14]
lea eax, [ebp - 0x20c]
push eax
call esi
push edi
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
call esi
lea edi, [ebp - 0x20c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x46a48f
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x20c]
mov esi, str..lnk
push 1
push edx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [eax]
call dword [ecx + 0x18]
push ebx
mov esi, eax
lea eax, [ebp - 0x20c]
push eax
push 0x3001
push 0x2000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x46a4e8
mov esi, dword [ebp + 0x20]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x46aed3
Capabilities:
Create process on windows
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2044
call fcn.00433a00
push esi
mov esi, dword [0x4ca9e8]
push edi
lea edi, [esi + 0x2758]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46aef3
sub ecx, edx
je 0x46b074
xor eax, eax
cmp dword [esi + 0x906e], eax
je 0x46b074
push ebx
mov ebx, 0x3ff
mov byte [ebp - 0x1844], al
push ebx
push eax
lea eax, [ebp - 0x1843]
push eax
call fcn.0042a910
push ebx
lea eax, [ebp - 0x443]
mov byte [ebp - 0x444], 0
push 0
push eax
call fcn.0042a910
push ebx
lea eax, [ebp - 0x1043]
mov byte [ebp - 0x1044], 0
push 0
push eax
call fcn.0042a910
push ebx
lea eax, [ebp - 0x843]
mov byte [ebp - 0x844], 0
push 0
push eax
call fcn.0042a910
push ebx
lea eax, [ebp - 0xc43]
mov byte [ebp - 0xc44], 0
push 0
push eax
call fcn.0042a910
push ebx
xor ebx, ebx
mov byte [ebp - 0x1444], 0
lea eax, [ebp - 0x1443]
push ebx
push eax
call fcn.0042a910
lea eax, [ebp - 0x1844]
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0xc], eax
add esp, 0x48
lea eax, [ebp - 0x444]
mov byte [ebp - 0x2044], bl
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x844]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0xc44]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1444]
mov dword [ebp - 0x24], eax
mov eax, 0x400
push 0x7ff
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2043]
push ebx
push eax
call fcn.0042a910
push esi
push fcn.0046cde8
lea eax, [ebp - 4]
mov ecx, edi
push eax
lea eax, [ebp - 0x44]
push eax
push 0x103
lea edx, [ebp - 0x2044]
call fcn.0046cd5e
lea ecx, [ebp - 0x2044]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46b034
lea eax, [ebp - 0x40]
sub ecx, edx
push eax
push ebx
push ecx
lea eax, [ebp - 0x2044]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp dword [ebp - 0x34], 3
je 0x46b05c
cmp dword [ebp - 0x34], 4
jne 0x46b073
push 1
push ebx
push ebx
lea eax, [ebp - 0x2044]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46b249
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x142c
call fcn.00433a00
push ebx
push esi
lea edx, [ecx + 0x208]
add ecx, 0x30c
push edi
call fcn.00406c7d
mov ebx, eax
xor esi, esi
push esi
mov edx, str.username
mov ecx, ebx
call fcn.0046ed18
pop ecx
push 1
mov edx, 0x4a5c78
mov dword [ebp - 0xc], eax
mov ecx, ebx
call fcn.0046ed18
pop ecx
push esi
mov edx, 0x4a82d0
mov dword [ebp - 0x14], eax
mov ecx, ebx
call fcn.0046ed18
pop ecx
push esi
mov edx, str.level
mov dword [ebp - 0x10], eax
mov ecx, ebx
call fcn.0046ebb6
pop ecx
push esi
mov edx, str.recall
mov dword [ebp - 8], eax
mov ecx, ebx
call fcn.0046ebb6
pop ecx
push esi
mov edx, str.ppusername
mov dword [ebp - 4], eax
mov ecx, ebx
call fcn.0046ed18
pop ecx
push 1
mov edx, str.ppkey
mov ecx, ebx
mov edi, eax
call fcn.0046ed18
pop ecx
push ebx
push SysReAllocStringLen
mov esi, eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0
push edi
mov edx, str.ppusername
mov ecx, ebx
call fcn.0046ebf2
push 1
push esi
mov edx, str.ppkey
mov ecx, ebx
call fcn.0046ebf2
mov eax, dword [0x4ca9e8]
add esp, 0x10
test dword [eax + 0xac87], 2
jne 0x46b33b
push 0
push dword [ebp - 0xc]
mov edx, str.username
mov ecx, ebx
call fcn.0046ebf2
mov eax, dword [0x4ca9e8]
pop ecx
pop ecx
test dword [eax + 0xac87], 1
push 4
pop esi
jne 0x46b36c
mov eax, dword [ebp - 8]
mov edx, str.level
push 0
push esi
mov dword [ebp - 8], eax
mov ecx, ebx
lea eax, [ebp - 8]
push esi
push eax
call fcn.0046ee23
mov eax, dword [0x4ca9e8]
add esp, 0x10
test dword [eax + 0xac87], esi
jne 0x46b3a6
mov eax, dword [ebp - 4]
test eax, eax
je 0x46b3a6
push 0
push esi
mov dword [ebp - 4], eax
mov edx, str.recall
lea eax, [ebp - 4]
mov ecx, ebx
push esi
push eax
call fcn.0046ee23
push 1
push dword [ebp - 0x14]
mov edx, 0x4a5c78
mov ecx, ebx
call fcn.0046ebf2
add esp, 0x18
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x46b3ce
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46b3b2
sub ecx, edi
je 0x46b3ce
push 0
push esi
mov edx, 0x4a82d0
mov ecx, ebx
call fcn.0046ebf2
pop ecx
pop ecx
push 0
call fcn.00425a5c
pop ecx
push SysReAllocStringLen
push ebx
lea ecx, [ebp - 0x1428]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
call fcn.00460acf
push 8
lea eax, [ebp - 0x20]
push eax
push 0xb
push str.CasinoTimeStamp
call fcn.004608e4
push ebx
call fcn.0042490f
pop ecx
push dword [ebp - 0xc]
call fcn.0042490f
pop ecx
push dword [ebp - 0x14]
call fcn.0042490f
pop ecx
push esi
call fcn.0042490f
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46b426
Capabilities:
Delete registry key

Disassembly:
lea edx, [ecx + 0x208]
add ecx, 0x30c
call fcn.00406c7d
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
ret
Function at 0x46c617
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x410], ax
mov ebx, edx
lea eax, [ebp - 0x40e]
mov edi, ecx
push eax
call fcn.0042a910
xor eax, eax
push esi
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.0042a910
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x208]
add esp, 0x18
call fcn.0045b6ac
test eax, eax
je 0x46c6e7
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test ebx, ebx
je 0x46c69f
push ebx
lea eax, [ebp - 0x208]
push eax
call esi
xor eax, eax
mov ecx, eax
movzx eax, word [ebp + ecx - 0x208]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x412], ax
test ax, ax
jne 0x46c687
push edi
lea eax, [ebp - 0x208]
push eax
call esi
lea edi, [ebp - 0x208]
sub edi, 2
xor ecx, ecx
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x46c6b4
mov esi, str..lnk
lea eax, [ebp - 0x208]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
je 0x46c6e7
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c705
Capabilities:
Check http status code
Create http request
Reference http user-agent string

Disassembly:
mov eax, 0x49a99c
call fcn.00496f64
sub esp, 0x410
push ebx
push esi
push edi
mov esi, 0x104
push esi
call fcn.0040627a
pop ecx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], eax
push ebx
push eax
call fcn.0042a910
mov edx, dword [0x4ca9e8]
add esp, 0xc
cmp byte [edx + 0xac8f], bl
je 0x46c8fb
lea ecx, [edx + 0xac90]
test ecx, ecx
je 0x46c8fb
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c757
sub ecx, esi
je 0x46c8fb
lea ecx, [edx + 0xb594]
test ecx, ecx
je 0x46c8fb
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c777
sub ecx, edx
je 0x46c8fb
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__en_GB__rv:1.9.0.5__Gecko_2008120122_Firefox_3.0.5
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [0x4ca9e8]
push ebx
push 0x40300
push ebx
push ebx
add ecx, 0xac90
mov dword [ebp - 0x18], eax
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
push 0x3ff
mov esi, eax
mov byte [ebp - 0x41c], bl
lea eax, [ebp - 0x41b]
push ebx
push eax
call fcn.0042a910
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x1c], 0x400
push ebx
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x13
push esi
call edi
lea eax, [ebp - 0x41c]
push eax
call fcn.004257ac
mov byte [ebp - 0x41c], bl
mov dword [ebp - 0x1c], 0x400
pop ecx
cmp eax, 0xc8
jne 0x46c872
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x2f
push esi
call edi
neg eax
lea ecx, [ebp - 0x41c]
lea edx, [ecx + 1]
sbb al, al
and byte [ebp - 0x41c], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c834
sub ecx, edx
je 0x46c872
lea eax, [ebp - 0x41c]
push str.filename
push eax
call fcn.00424ef0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x46c872
add edi, 9
push 0x4a7198
push edi
call fcn.00424ef0
pop ecx
pop ecx
test eax, eax
je 0x46c86e
mov byte [eax], bl
test edi, edi
jne 0x46c88d
mov eax, dword [0x4ca9e8]
add eax, 0xac90
push 0x2f
push eax
call fcn.004252e0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x46c88d
inc edi
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x18]
call esi
mov ecx, dword [0x4ca9e8]
call fcn.0046c6ee
push 0x1414
mov esi, eax
call fcn.0042493a
pop ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x46c8cd
push esi
push dword [0x4ca9e8]
mov ecx, eax
call fcn.0046f44b
mov ebx, eax
mov esi, dword [ebp - 0x14]
lea eax, [ebx + 0xef2]
push eax
push 0x4a5c80
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test ebx, ebx
je 0x46c8fe
push ebx
call fcn.0042490f
pop ecx
jmp 0x46c8fe
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret