joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469aa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x469ba8
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push edi
push dword [ebp + 0xc]
push dword [esi - 0x350]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x469b1d
lea edi, [esi - 0x33c]
cmp byte [esi - 0x22c], al
jne 0x469af0
mov edi, dword [esi - 0x340]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push eax
call fcn.00450c80
mov ecx, eax
call fcn.00450ff0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 8]
call fcn.00450c80
push 0x5a0f28
jmp 0x469b45
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x469b71
lea edi, [esi - 0x33c]
cmp byte [esi - 0x22c], cl
jne 0x469b38
mov edi, dword [esi - 0x340]
mov ecx, dword [ebp + 8]
call fcn.00450c80
push 0x5a0fac
mov esi, eax
push 0x5971f4
push esi
call fcn.00450580
add esp, 0xc
lea ecx, [edi + 4]
push ecx
push 0x5971f4
push esi
call fcn.00450580
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, edi
je 0x469ba8
cmp byte [esi - 0x22c], 0
lea eax, [esi - 0x33c]
jne 0x469b8a
mov eax, dword [esi - 0x340]
add eax, 4
push eax
push ecx
push edi
push str.penc_rN
push dword [ebp + 8]
call fcn.00450d30
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
add dword [esi + 8], edi
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46ab80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531191
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c6150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
lea eax, [edi + 0x20]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], fcn.004e1b5b
mov dword [edi + 0x18], fcn.004e1ae7
mov dword [edi + 0x1c], fcn.004e1b56
mov dword [eax + 4], fcn.004e1b5b
mov dword [eax + 8], fcn.004e1ae7
mov dword [eax + 0xc], fcn.004e1b56
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0x1fff8
mov dword [eax], vtable.t_heap.0
mov dword [edi + 0x3c], fcn.004e1b5b
mov dword [edi + 0x40], fcn.004e1ae7
mov dword [edi + 0x44], fcn.004e1b56
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0x8000
mov dword [edi + 0x38], vtable.t_heap.0
mov dword [edi + 0x50], 0
mov byte [edi + 0x54], 1
mov dword [ebp - 4], 0
lea ecx, [edi + 0x58]
mov dword [edi], vtable.t_configGameFile.0
mov dword [ebp - 0x10], ecx
mov byte [ecx + 4], 0
mov dword [ecx + 8], str.setting
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], fcn.004e1b5b
mov dword [ecx + 0x20], fcn.004e1ae7
mov dword [ecx + 0x24], fcn.004e1b56
mov dword [ecx + 0x28], eax
mov dword [ecx], vtable.t_configGameFile::t_setting.0
mov byte [ecx + 0x30], 0
mov dword [ecx + 0x34], 0x5a2220
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x2c], vtable.n_config::t_int.0
mov byte [ecx + 0x44], 0
mov dword [ecx + 0x48], str.version
mov dword [ecx + 0x4c], 0x5920ac
mov dword [ecx + 0x50], 0x5920ac
mov dword [ecx + 0x40], vtable.n_config::t_str.0
mov dword [ecx + 0x54], eax
lea esi, [edi + 0xb0]
mov dword [ebp - 0x10], esi
mov byte [esi + 4], 0
mov dword [esi + 8], str.item
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
lea eax, [edi + 0x84]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], fcn.004e1b5b
mov dword [esi + 0x24], fcn.004e1ae7
mov dword [esi + 0x28], fcn.004e1b56
mov dword [esi], vtable.n_config::t_arraySection_class_t_configGameFile::t_item_.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
lea ecx, [edi + 4]
push eax
call fcn.0046b5f0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
lea ecx, [edi + 4]
call fcn.0046b5f0
xor esi, esi
cmp dword [edi + 8], esi
jle 0x46ad72
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x20]
inc esi
cmp esi, dword [edi + 8]
jl 0x46ad61
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46c7e0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.0046c2e0
add esp, 4
test eax, eax
js 0x46c9cc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x46c854
lea esi, [eax + 8]
add eax, 8
lea esi, [esi + edi*4]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x46c814
mov ebx, dword [ebp + 8]
mov edi, 1
cmp dword [ebx + 0xf0], edi
jle 0x46c9c7
lea esi, [ebx + 2]
nop dword [eax + eax]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
inc edi
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x58fe00]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x58f500]
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x58e8d0]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x58fa00]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x590200]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x58fe00]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x58f500]
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x58e8d0]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x58fa00]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x590200]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x58fe00]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x58f500]
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x58e8d0]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x58fa00]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x590200]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x58fe00]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x58f500]
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x58e8d0]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x58fa00]
movzx eax, dl
movzx eax, byte [eax*4 + 0x58fe00]
xor ecx, dword [eax*4 + 0x590200]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebx + 0xf0]
jl 0x46c870
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x46e5e0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x474
mov eax, dword [0x5c6150]
xor eax, esp
mov dword [esp + 0x470], eax
push esi
push 0x591e94
push ecx
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov esi, edx
call fcn.004e2a04
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
jne 0x46e635
xor al, al
pop esi
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
push eax
push 0x400
lea eax, [esp + 0x78]
mov dword [esp + 0x14], 0
push 1
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
call fcn.004e2c2e
add esp, 0x10
test eax, eax
je 0x46e6aa
nop
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0xc]
call fcn.00472330
push dword [esp + 8]
lea eax, [esp + 0x78]
push 0x400
push 1
push eax
call fcn.004e2c2e
add esp, 0x14
test eax, eax
jne 0x46e680
mov edx, esi
lea ecx, [esp + 8]
call fcn.004723f0
push dword [esp + 4]
call fcn.004e24fb
mov ecx, dword [esp + 0x478]
add esp, 4
mov al, 1
pop esi
xor ecx, esp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x46ef50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.0046f5b0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x46f0c0
cmp dword [0x5c92e4], eax
je 0x46f06a
push esi
push 0x5dea64
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 4]
call fcn.0046f5b0
mov esi, dword [ebp - 4]
test esi, esi
jne 0x46f058
push 0x2014
call fcn.004d7188
add esp, 4
mov dword [ebp - 4], eax
mov ecx, eax
call fcn.0046ee70
cmp dword [0x5c92e4], 0
mov esi, eax
je 0x46f058
push ebx
push dword [0x5c92ec]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call ebx
test eax, eax
je 0x46f057
cmp dword [eax], 0xd
jbe 0x46f057
mov eax, dword [eax + 8]
push edi
mov edi, dword [eax + 0x34]
test edi, edi
jne 0x46f020
push 8
call fcn.004d7188
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
mov dword [edi], vtable.t_visualDataItemPtr_class_t_perfManager_.0
mov dword [edi + 4], esi
cmp dword [0x5c92e4], 0
je 0x46f056
push dword [0x5c92ec]
call ebx
test eax, eax
je 0x46f056
cmp dword [eax], 0xd
jbe 0x46f056
mov eax, dword [eax + 8]
mov dword [eax + 0x34], edi
jmp 0x46f056
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.t_visualDataItemPtr_class_t_perfManager_.0
jne 0x46f0c4
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x46f053
mov ecx, ebx
mov dword [edi + 4], 0
call fcn.0046eec0
push 0x2014
push ebx
call fcn.004d72b2
add esp, 8
mov dword [edi + 4], esi
pop edi
pop ebx
push 0x5dea64
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5dec3c]
test eax, eax
jne 0x46f0c0
push 0x5dea64
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5e03b8]
test al, 1
jne 0x46f0a6
or eax, 1
mov ecx, 0x5e03c0
mov dword [0x5e03b8], eax
call fcn.0046ee70
push 0x538190
call fcn.004d7173
add esp, 4
push 0x5dea64
mov dword [0x5dec3c], 0x5e03c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x5dec3c]
mov esp, ebp
pop ebp
ret
push esi
mov ecx, edi
call edx
jmp 0x46f056

Function at 0x46f5b0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x5c92e4], 0
push esi
mov esi, edx
je 0x46f60f
push dword [0x5c92ec]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46f60f
cmp dword [eax], 0xd
jbe 0x46f60f
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x46f60f
push 0
push 0x5cd7b4
push 0x5cd7ec
push 0
push eax
call fcn.004daa9e
add esp, 0x14
test eax, eax
je 0x46f60f
mov edx, dword [eax]
cmp edx, vtable.t_visualDataItemPtr_class_t_perfManager_.0
jne 0x46f613
mov eax, dword [eax + 4]
mov dword [esi], eax
mov al, 1
pop esi
ret
mov dword [esi], eax
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
mov ecx, eax
call dword [edx + 8]
jmp 0x46f609
Function at 0x471280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x47129c
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4712b8
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4712a7
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4712ee
cmp dword [ecx], edi
jne 0x4712e6
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [ecx + edx + 4], eax
jmp 0x4712f6
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4712f6
cmp dword [ecx], edi
jne 0x4712f6
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 0x20]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.00421e60
lea ecx, [edi + 8]
call fcn.00421e60
push edi
call fcn.004d6cf8
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x475560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x200
lea eax, [ebp - 0x204]
mov esi, edx
push 0
push eax
mov ebx, ecx
call fcn.004d9fe0
add esp, 0xc
mov dword [ebp - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push 0x20019
push 0
push 0x5a1d64
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4755cd
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 1
push eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x20c], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push esi
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x208]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4755bb
lea ecx, [ebp - 0x204]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x475620
sub ecx, edx
lea esi, [ebx + 8]
sar ecx, 1
push edi
mov dword [ebx + 4], ecx
lea edi, [ecx + 1]
mov ecx, esi
push edi
call fcn.00450b00
cmp byte [esi + 0x114], 0
je 0x47564f
add esi, 4
jmp 0x475651
mov esi, dword [esi]
lea eax, [edi + edi]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [esi + 4]
push eax
call fcn.004d9a60
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret

Function at 0x475f80
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push edi
mov edi, edx
test esi, esi
je 0x475fbc
mov ebx, dword [sym.imp.WININET.dll_InternetWriteFile]
lea ecx, [ebp - 4]
push ecx
push esi
push edi
push eax
call ebx
test eax, eax
je 0x475fc5
add edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
sub esi, dword [ebp - 4]
jne 0x475fa4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475fd0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x400
xor edi, edi
mov dword [ebp - 0x40c], edx
lea eax, [ebp - 0x404]
mov dword [ebp - 0x410], ecx
push edi
xor esi, esi
push eax
mov dword [ebp - 0x408], esi
call fcn.004d9fe0
mov ebx, dword [ebp + 8]
add esp, 0xc
test esi, esi
je 0x476074
mov ecx, dword [ebp - 0x40c]
mov eax, ebx
sub eax, edi
cmp esi, eax
jae 0x4760ce
add ecx, edi
jne 0x47603b
call fcn.004e1e89
mov dword [eax], 0x16
jmp 0x476069
cmp eax, esi
jb 0x476052
push esi
lea eax, [ebp - 0x404]
push eax
push ecx
call fcn.004d9a60
add esp, 0xc
jmp 0x47606e
push eax
push 0
push ecx
call fcn.004d9fe0
add esp, 0xc
call fcn.004e1e89
mov dword [eax], 0x22
call fcn.004e1d80
add edi, dword [ebp - 0x408]
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x410]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x47612c
mov esi, dword [ebp - 0x408]
test esi, esi
jne 0x476018
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
lea edx, [eax - 1]
add ecx, edi
test edx, edx
je 0x47612c
test ecx, ecx
jne 0x4760e8
call fcn.004e1e89
mov dword [eax], 0x16
jmp 0x476127
cmp eax, edx
jb 0x476110
push edx
lea eax, [ebp - 0x404]
push eax
push ecx
call fcn.004d9a60
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
push eax
push 0
push ecx
call fcn.004d9fe0
add esp, 0xc
call fcn.004e1e89
mov dword [eax], 0x22
call fcn.004e1d80
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x476310
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1094
call fcn.004d7530
mov eax, dword [0x5c6150]
xor eax, esp
mov dword [esp + 0x1090], eax
push ebx
push esi
push edi
sub esp, 0xc
mov dword [esp + 0x1c], edx
mov edi, ecx
xor bl, bl
call fcn.00476140
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
test esi, esi
je 0x4764c7
push 0x800
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.004d9fe0
push 0x800
lea eax, [esp + 0x8a8]
push 0
push eax
call fcn.004d9fe0
push 0x38
lea eax, [esp + 0x64]
push 0
push eax
call fcn.004d9fe0
add esp, 0x24
mov dword [esp + 0x44], 0x3c
lea eax, [esp + 0x98]
mov dword [esp + 0x58], 0x800
mov dword [esp + 0x54], eax
lea eax, [esp + 0x898]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x44]
push eax
push 0
push 0
push edi
mov dword [esp + 0x84], 0x800
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [esp + 0x54]
sub esp, 0x18
mov ecx, esi
call fcn.004761e0
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x4764c4
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x84]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4764ba
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [esp + 0x84]
call fcn.00413470
cmp dword [esp + 0x94], 8
lea eax, [esp + 0x80]
push 0x20000000
push dword [esp + 0x94]
cmovae eax, dword [esp + 0x88]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x1c]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
sub esp, 0xc
mov dword [esp + 0x28], 0x28
movups xmmword [esp + 0x3c], xmm0
mov ecx, esi
mov dword [esp + 0x44], eax
movups xmmword [esp + 0x2c], xmm0
call fcn.00476280
add esp, 0xc
test eax, eax
je 0x47649e
push dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.00475f80
add esp, 4
mov bl, 1
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push esi
call edi
lea ecx, [esp + 0x80]
call fcn.004134c0
push dword [esp + 0x14]
call edi
mov esi, dword [esp + 0x18]
push esi
call edi
mov ecx, dword [esp + 0x109c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x4764e0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x109c
call fcn.004d7530
mov eax, dword [0x5c6150]
xor eax, esp
mov dword [esp + 0x1098], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
sub esp, 0xc
mov dword [esp + 0x20], edx
mov esi, ecx
mov dword [esp + 0x24], eax
xor edi, edi
call fcn.00476140
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x4766c5
push 0x800
lea eax, [esp + 0xa4]
push edi
push eax
call fcn.004d9fe0
push 0x800
lea eax, [esp + 0x8b0]
push edi
push eax
call fcn.004d9fe0
push 0x38
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.004d9fe0
add esp, 0x24
mov dword [esp + 0x4c], 0x3c
lea eax, [esp + 0xa0]
mov dword [esp + 0x60], 0x800
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x8a0]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x4c]
push eax
push edi
push edi
push esi
mov dword [esp + 0x8c], 0x800
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [esp + 0x5c]
sub esp, 0x18
mov ecx, ebx
call fcn.004761e0
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4766bf
push edi
push 0x84000000
push edi
push edi
push edi
push dword [esp + 0x8c]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4766b9
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [esp + 0x8c]
call fcn.00413470
cmp dword [esp + 0x9c], 8
lea eax, [esp + 0x88]
push 0x20000000
push dword [esp + 0x9c]
cmovae eax, dword [esp + 0x90]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x24]
xorps xmm0, xmm0
mov dword [esp + 0x48], edi
sub esp, 0xc
mov dword [esp + 0x30], 0x28
movups xmmword [esp + 0x44], xmm0
mov ecx, esi
mov dword [esp + 0x4c], eax
movups xmmword [esp + 0x34], xmm0
mov byte [esp + 0x1c], 0
call fcn.00476280
add esp, 0xc
test eax, eax
je 0x476683
push dword [ebp + 8]
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.00475f80
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [esp + 0x10], ecx
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
cmp byte [esp + 0x10], 0
je 0x4766aa
push dword [ebp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.00475fd0
add esp, 4
mov edi, eax
push esi
call ebx
lea ecx, [esp + 0x88]
call fcn.004134c0
push dword [esp + 0x1c]
call ebx
push dword [esp + 0x20]
call ebx
mov ecx, dword [esp + 0x10a4]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret
Function at 0x4767e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x5a1d64
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x476863
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push 0
push str.CheckCrash
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47685a
cmp dword [ebp - 8], eax
je 0x47685a
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 4
push 0
push 0x5a2640
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x5d4fd8], 0
jne 0x476985
push 0x476c20
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x477c10
mov dword [0x5d4fd8], eax
call fcn.004e1de0
push 0x477c10
call fcn.004d9854
add esp, 8
xor eax, eax
mov word [0x5d4bc8], ax
push 0x103
push 0x5d4bc8
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x5d4bc8
call fcn.004d9879
add esp, 8
test eax, eax
je 0x4768c8
xor ecx, ecx
mov word [eax], cx
add eax, 2
push eax
push 0x5d4dd0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x104
push 0x5d49c0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5d49c0
push 0x104
push 0x5d47b8
call fcn.004e1af2
push 0x5d47b8
push 0x104
push 0x5d43a0
call fcn.004e1af2
push 0x5d49c0
push 0x104
push 0x5d45a8
call fcn.004e1af2
add esp, 0x20
mov ecx, 0x5d47b8
call fcn.004766e0
mov ecx, 0x5d43a0
call fcn.004766e0
push 0x5a2674
mov ecx, 0x5d49c0
call fcn.00476790
push 0x5a2700
mov ecx, 0x5d45a8
call fcn.00476790
push 0x5a2674
mov ecx, 0x5d47b8
call fcn.00476790
push 0x5a2700
mov ecx, 0x5d43a0
call fcn.00476790
add esp, 0x14
mov dword [0x5d4388], 0
mov eax, 0x5d5970
mov esp, ebp
pop ebp
ret