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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 0xc], edi
mov dword [ebp - 4], edi
je 0x444239
lea eax, [ebp - 4]
push esi
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x40000
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x44422a
push dword [ebp + 0x10]
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x44422a
cmp dword [ebp + 0x14], edi
je 0x444227
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x44422a
push edi
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x44422a
push 0x20a
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp dword [ebp - 8], edi
pop ecx
mov esi, eax
jbe 0x444220
push 0x105
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, edi
jne 0x444213
push 1
push dword [ebp + 0x10]
push esi
push dword [ebp - 4]
call fcn.00444139
add esp, 0x10
jmp 0x44421a
cmp eax, 0x103
je 0x444220
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x4441ec
push esi
call fcn.00466f25
pop ecx
push 1
pop ebx
cmp dword [ebp - 4], edi
pop esi
je 0x444239
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop ebx
leave
ret

Function at 0x444307
Capabilities:
Enumerate browser history

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x403b70
push 3
push 0
push str._J7_
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], 0x28
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x44436d
mov eax, dword [ebp - 4]
push 0
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
jmp 0x444346
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
pop eax
leave
ret
Function at 0x44438d
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
mov edi, 0x1000
push edi
mov dword [ebp - 4], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [ebp - 4]
pop ecx
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push esi
push 0x411030
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
test eax, eax
mov dword [ebp - 8], eax
jne 0x4443ce
push esi
call fcn.00466f25
pop ecx
jmp 0x44445d
push ebx
mov ebx, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
xor eax, eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4443fe
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push dword [esi + 4]
call ebx
test eax, eax
jne 0x444422
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x444422
push 0
push dword [esi + 4]
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileW]
push dword [esi + 4]
call ebx
push esi
call fcn.00466f25
push edi
mov dword [ebp - 4], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [ebp - 4]
pop ecx
mov dword [esi], eax
pop ecx
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x4443d5
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.00466f25
pop ecx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x444461
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 0x20
push ebp
push esi
push edi
mov edi, 0x1000
push edi
mov dword [esp + 0x10], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x10]
pop ecx
mov dword [esi], eax
lea eax, [esp + 0xc]
push eax
push esi
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebp, eax
test ebp, ebp
je 0x44453a
push ebx
mov ebx, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
xor eax, eax
push 1
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4444ca
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [esi + 0xc]
mov eax, 0x100000
and ecx, eax
cmp ecx, eax
je 0x4444fc
push dword [esi + 4]
call ebx
test eax, eax
jne 0x4444fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4444fc
push 0
push dword [esi + 4]
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileW]
push dword [esi + 4]
call ebx
push esi
call fcn.00466f25
push edi
mov dword [esp + 0x18], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x18]
pop ecx
mov dword [esi], eax
pop ecx
lea eax, [esp + 0x10]
push eax
push esi
push ebp
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x44449e
push ebp
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.00466f25
pop ecx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x444541
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1430
call fcn.00466f70
push esi
mov esi, SysReAllocString
push 0x411104
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0044423f
test eax, eax
pop ecx
je 0x44469b
push ebx
lea eax, [ebp - 0x430]
push edi
push eax
push dword [ebp - 4]
call fcn.00443e75
mov ebx, dword [sym.imp.MSVCRT.dll_wcsncpy]
push 0x104
lea eax, [ebp - 0x1430]
push 0x411098
push eax
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x1430]
push eax
call edi
lea eax, [ebp - 0x1430]
push 0x104
push eax
lea eax, [ebp - 0x228]
push eax
call ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
call fcn.00443ef5
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call fcn.00443f88
add esp, 0x40
test eax, eax
je 0x44465f
xor ebx, ebx
lea eax, [ebp - 0x20]
push ebx
push eax
lea eax, [ebp - 0x1430]
push eax
push esi
call fcn.00444139
lea eax, [ebp - 0x1430]
push 0x41108c
push eax
call edi
lea eax, [ebp - 0x20]
push ebx
push eax
lea eax, [ebp - 0x1430]
push eax
push esi
call fcn.00444139
lea eax, [ebp - 0x1430]
push 0x411040
push eax
call edi
lea eax, [ebp - 0x20]
push 1
push eax
lea eax, [ebp - 0x1430]
push eax
push esi
call fcn.00444139
add esp, 0x40
lea eax, [ebp - 0x1430]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
jmp 0x444661
xor ebx, ebx
cmp dword [ebp - 8], ebx
je 0x444677
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0xc], ebx
pop edi
pop ebx
je 0x44469b
push 0
lea eax, [ebp - 0x228]
push dword [ebp - 0xc]
push eax
push esi
call fcn.00444139
push dword [ebp - 0xc]
call fcn.00466f25
add esp, 0x14
cmp dword [ebp - 4], 0
pop esi
je 0x4446b4
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
leave
ret

Function at 0x4446c7
Capabilities:
Delete registry key

Disassembly:
cmp dword [0x48dc08], 0
je 0x44470a
push ebx
mov ebx, dword [0x48dc0c]
test bl, 1
je 0x4446e1
call fcn.00444461
test bl, 2
je 0x4446eb
call fcn.00444307
test bl, 4
je 0x4446f5
call fcn.0044438d
test bl, 8
je 0x4446ff
call fcn.004446b6
test bl, 0x10
pop ebx
je 0x44470a
jmp fcn.00444541
ret
Function at 0x444cbe
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x444cd5
xor edi, edi
jmp 0x444d02
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00466f70
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
mov word [edi], bx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [0x48b26c], ebx
jne 0x444d3c
cmp dword [0x48dc10], ebx
jne 0x444d3c
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
jbe 0x444d97
mov ecx, 0x46bb68
call fcn.00433a01
test eax, eax
je 0x444d97
push edi
call fcn.00444bee
test eax, eax
pop ecx
je 0x444d97
push 1
pop eax
jmp 0x444d99
lea eax, [ebp - 0x208]
push 0x46b680
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x208]
push eax
call fcn.0044df22
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
mov dword [0x49a55c], eax
je 0x444d97
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x444d97
push dword [0x49a55c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x49a55c], ebx
jmp 0x444d2c
xor eax, eax
lea esp, [ebp - 0x214]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x447baf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa2c
and word [ebp - 0x20c], 0
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, 0x104
lea eax, [ebp - 0x414]
push edi
push eax
push 0x76
push dword [0x49a554]
call esi
lea eax, [ebp - 0x61c]
push edi
push eax
push 0x4c
push dword [0x49a554]
call esi
lea eax, [ebp - 0x414]
push eax
call fcn.0044e1ad
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push edi
push 0x80802
push 0x411540
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
push dword [ebx + 4]
push dword [0x49a558]
call fcn.0044e2e3
add esp, 0x28
test eax, eax
je 0x447cff
lea eax, [ebp - 0x20c]
push 0x40bdcc
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x447ce0
push esi
push 1
lea eax, [ebp - 4]
push 2
push eax
mov dword [ebp - 4], 0xfeff
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fputws]
add esp, 0x18
cmp eax, 0xffffffff
je 0x447c92
push 1
pop edi
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
test edi, edi
pop ecx
je 0x447ce0
lea eax, [ebp - 0x20c]
push eax
push 0x62
call fcn.00452730
pop ecx
push eax
lea eax, [ebp - 0xa2c]
push 0x208
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
and word [ebp - 0x61e], 0
add esp, 0x10
mov ecx, 0x46bb68
push 0x40
call fcn.00458661
push eax
lea eax, [ebp - 0xa2c]
jmp 0x447cf5
push 0x10
mov ecx, 0x46bb68
call fcn.00458661
push eax
push 0x65
call fcn.00452730
pop ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x448bd4
Capabilities:
Set thread local storage value

Disassembly:
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x2598]
xor ebp, ebp
lea edi, [esi + 0x2598]
cmp ecx, ebp
je 0x448c00
call fcn.00454ac7
test eax, eax
je 0x448c00
mov eax, dword [edi]
push esi
push dword [eax + 0x44]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esi + 0x2554]
cmp ecx, ebp
je 0x448c20
lea eax, [esi + 0x28c]
push eax
call fcn.0044a203
mov dword [esi + 0x12d4], 1
mov ax, word [esi + 0x2560]
push ebx
push ebp
push eax
push dword [esi + 0x25a0]
lea ebx, [esi + 0x2564]
mov ecx, esi
push ebx
push 0x4200004c
push 0x40d108
push 4
call fcn.00466b9b
push esi
push 0x4115c0
push eax
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_SetPropW]
lea edi, [esi + 0x2540]
push edi
push dword [esi + 0x2578]
push dword [esi + 0x2574]
push ebp
push 1
push 0x403b30
push 0x403a20
call dword [sym.imp.ole32.dll_OleCreate]
test eax, eax
jne 0x448d61
mov eax, dword [edi]
push ebp
push 0x40c39c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [edi]
push dword [esi + 0x2574]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 1
push dword [edi]
call dword [sym.imp.ole32.dll_OleSetContainedObject]
mov eax, dword [edi]
push ebx
push dword [esi + 4]
mov ecx, dword [eax]
push 0xffffffffffffffff
push dword [esi + 0x2574]
push ebp
push 0xffffffffffffffff
push eax
call dword [ecx + 0x2c]
mov eax, dword [edi]
lea edx, [esi + 0x1c]
push edx
push 0x403b10
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, dword [edi]
lea ebx, [esi + 0x2538]
push ebx
push 0x403a40
mov eax, dword [edi]
push edi
call dword [eax]
mov eax, dword [ebx]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf8]
mov eax, dword [ebx]
lea edi, [esi + 0x2544]
mov ebp, 0x403b60
push edi
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx]
cmp dword [esi + 0x253c], 1
jne 0x448d3f
cmp dword [esi + 0x12e0], 0
je 0x448d2b
lea eax, [esi + 0x2548]
push eax
push dword [edi]
push ebp
call dword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
lea eax, [esi + 0x254c]
push eax
push dword [ebx]
push 0x403a40
call dword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
mov ecx, dword [esi + 0x2550]
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
push 2
push dword [esi + 0x25a0]
call dword [sym.imp.USER32.dll_GetAncestor]
mov dword [esi + 0x259c], eax
xor ebp, ebp
cmp dword [esi + 0x2544], ebp
pop ebx
je 0x448d6f
push 1
pop eax
jmp 0x448d7b
mov ecx, esi
call fcn.00449233
mov dword [esi + 4], ebp
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x449127
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x1c]
push ebx
push esi
mov esi, ecx
push edi
push dword [ebp + 0x10]
mov dword [esi + 0x253c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x25a0], eax
mov ax, word [ebp + 0xc]
mov word [esi + 0x2560], ax
lea eax, [esi + 0x2564]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp dword [esi + 0x253c], ebx
mov dword [esi + 0x2574], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x2578], eax
jne 0x449187
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
jmp 0x449229
lea eax, [esi + 0x255c]
push eax
push ebx
push esi
push 0x448efc
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp dword [esi + 0x259c], ebx
mov dword [esi + 0x2558], eax
jne 0x449207
mov edi, 0x210
push 1
push edi
push edi
lea eax, [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4491da
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x2558]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x449207
cmp dword [ebp + 0xc], 0x103
jne 0x449207
cmp dword [esi + 0x259c], ebx
je 0x4491b3
mov eax, dword [esi + 0x254c]
lea edi, [esi + 0x254c]
cmp eax, ebx
je 0x449229
lea ecx, [esi + 0x18]
push ecx
push 0x403a40
push eax
call dword [sym.imp.ole32.dll_CoGetInterfaceAndReleaseStream]
mov dword [edi], ebx
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
leave
ret 0x18

Function at 0x4492d1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2094
call fcn.00466f70
push esi
push edi
xor esi, esi
mov edi, ecx
mov dword [ebp - 4], esi
call fcn.0044a116
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x78]
cmp dword [ebp - 4], esi
jne 0x4492ff
xor eax, eax
jmp 0x449364
cmp dword [ebp + 8], esi
je 0x449318
mov ecx, edi
call fcn.0044a116
push eax
call fcn.0044e81c
test eax, eax
pop ecx
je 0x449359
jmp 0x449356
push dword [ebp - 4]
lea eax, [ebp - 0x2094]
push 0x4115d8
push 0x1048
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 0x469bb8
push 5
push eax
push eax
lea eax, [ebp - 0x2094]
push eax
push 0x40bae4
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x449359
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x44b763
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
mov ecx, 0x902
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esi + 0x2108]
lea ecx, [esi + 0x1008]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, 0x800
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea eax, [esi + 0x2308]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], eax
mov eax, 0x80
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x3c]
lea ecx, [esi + 0x2008]
push eax
push 0x10000000
push dword [ebp + 8]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 0x18], ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x44b80c
mov eax, dword [ebp - 0x30]
cmp eax, 3
je 0x44b7fd
cmp eax, 4
jne 0x44b80c
mov cx, word [ebp - 0x24]
push 1
mov dword [esi + 4], eax
mov word [esi], cx
pop eax
jmp 0x44b80e
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x44b812
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x44b825
xor eax, eax
jmp 0x44b859
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi + 0x2414], eax
je 0x44b856
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push edi
push esi
push 0x44b974
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x44c193
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 0x243c]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + ecx*4]
push 0xa
pop ecx
xor eax, eax
lea ebx, [esi + 0x402c]
lea edx, [esi + 0x28]
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x1000
mov edi, edx
mov dword [ebx], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x4028]
mov dword [esi + 0x4040], edx
mov edx, 0x4000
test eax, eax
mov dword [esi + 0x4044], edx
je 0x44c218
mov ecx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
sub ecx, dword [eax + 0x18]
sbb edi, dword [eax + 0x1c]
sub ecx, dword [eax + 8]
sbb edi, dword [eax + 0xc]
add ecx, 1
mov eax, edi
adc eax, 0
ja 0x44c207
cmp ecx, edx
jbe 0x44c20f
and dword [ebp - 8], 0
mov ecx, edx
jmp 0x44c212
mov dword [ebp - 8], eax
mov dword [esi + 0x4044], ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
push 1
push ebx
mov dword [esi + 0x1c], 9
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x44c244
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x44c251
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44c256
push 1
pop eax
jmp 0x44c263
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0044c4a8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44c541
Capabilities:
Connect to http server
Create http request

Disassembly:
push ecx
push esi
push edi
xor edi, edi
push 0x10000000
push edi
push edi
push 4
mov dword [esp + 0x18], ecx
push edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, dword [esp + 0x10]
cmp eax, edi
mov dword [esi + 0xc], eax
je 0x44c61a
mov eax, dword [esi + 0x18]
push ebx
add eax, 0x2308
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push eax
xor ebx, ebx
call ebp
test eax, eax
pop ecx
je 0x44c58c
mov ebx, dword [esi + 0x18]
add ebx, 0x2308
mov eax, dword [esi + 0x18]
add eax, 0x2008
push eax
call ebp
test eax, eax
pop ecx
je 0x44c5a5
mov edi, dword [esi + 0x18]
add edi, 0x2008
test ebx, ebx
jne 0x44c5c4
mov eax, dword [esp + 0x10]
add eax, 0x2dbd4
push eax
call ebp
test eax, eax
pop ecx
je 0x44c5c4
mov eax, dword [esp + 0x10]
lea ebx, [eax + 0x2dbd4]
test edi, edi
jne 0x44c5e1
mov eax, dword [esp + 0x10]
add eax, 0x2dcd4
push eax
mov dword [esp + 0x1c], eax
call ebp
test eax, eax
pop ecx
je 0x44c5e1
mov edi, dword [esp + 0x18]
push 0x44ba03
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov eax, dword [esi + 0x18]
push esi
push 0
push 3
mov cx, word [eax]
push edi
push ebx
add eax, 0x2108
push ecx
push eax
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_InternetConnectW]
pop ebp
mov dword [esi + 0x10], eax
test eax, eax
pop ebx
je 0x44c61a
push 1
pop eax
jmp 0x44c61c
xor eax, eax
pop edi
pop esi
pop ecx
ret 4
Function at 0x44c622
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1240
call fcn.00466f70
mov ax, word [0x469bb8]
push ebx
push esi
mov edx, ecx
push edi
mov word [ebp - 0x1240], ax
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x123e]
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
rep stosd dword es:[edi], eax
lea esi, [edx + 0x2bb44]
mov dword [ebp - 8], edx
push esi
mov dword [ebp - 0x10], 0x411744
stosw word es:[edi], ax
call ebx
test eax, eax
pop ecx
je 0x44c67b
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
lea ecx, [eax + 0x1008]
add eax, 8
push ecx
push eax
push 0x40b7cc
lea eax, [ebp - 0x1240]
push 0x7ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [ebp - 0x10]
push esi
push 0x84400300
push eax
lea eax, [ebp - 0x1240]
push dword [ebp - 4]
push 0x411730
push eax
push 0x411728
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
test eax, eax
mov dword [esi + 0x14], eax
je 0x44c742
push 0xa
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov ax, word [0x469bb8]
mov ecx, 0x81
mov word [ebp - 0x240], ax
xor eax, eax
lea edi, [ebp - 0x23e]
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x38], 0x28
stosw word es:[edi], ax
lea eax, [ebp - 0x240]
push eax
push esi
call fcn.0044c74b
lea eax, [ebp - 0x240]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x240]
push eax
call ebx
pop ecx
mov dword [ebp - 0x2c], eax
push esi
push 1
lea eax, [ebp - 0x38]
push 0
push eax
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
jmp 0x44c744
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4