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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 4], 0
xor eax, eax
mov word [ebp - 3], ax
mov byte [ebp - 1], al
mov dword [ebp - 8], 0
push 0x100f8634
mov ecx, dword [ebp + 8]
call fcn.1000a260
push eax
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.MSVCR120.dll__wfopen_s]
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001c112
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x1001c2ee
mov eax, dword [ebp - 8]
push eax
push 3
push 1
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 4]
cmp edx, 0xef
jne 0x1001c171
mov eax, 1
shl eax, 0
movzx ecx, byte [ebp + eax - 4]
cmp ecx, 0xbb
jne 0x1001c171
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xbf
je 0x1001c1ae
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xe5
jne 0x1001c1bd
mov ecx, 1
shl ecx, 0
movzx edx, byte [ebp + ecx - 4]
cmp edx, 0x8f
jne 0x1001c1bd
mov eax, 1
shl eax, 1
movzx ecx, byte [ebp + eax - 4]
cmp ecx, 0x8b
jne 0x1001c1bd
mov eax, 1
jmp 0x1001c2ee
mov edx, 1
imul eax, edx, 0
movzx ecx, byte [ebp + eax - 4]
cmp ecx, 0xff
jne 0x1001c1f6
mov edx, 1
shl edx, 0
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xfe
jne 0x1001c1f6
mov ecx, 1
shl ecx, 1
movzx edx, byte [ebp + ecx - 4]
test edx, edx
je 0x1001c22b
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 4]
test edx, edx
jne 0x1001c23a
mov eax, 1
shl eax, 0
movzx ecx, byte [ebp + eax - 4]
test ecx, ecx
jne 0x1001c23a
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xfe
jne 0x1001c23a
mov eax, 2
jmp 0x1001c2ee
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xfe
jne 0x1001c26f
mov ecx, 1
shl ecx, 0
movzx edx, byte [ebp + ecx - 4]
cmp edx, 0xff
jne 0x1001c26f
mov eax, 3
jmp 0x1001c2ee
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 4]
cmp edx, 0xff
jne 0x1001c2a2
mov eax, 1
shl eax, 0
movzx ecx, byte [ebp + eax - 4]
cmp ecx, 0xfe
jne 0x1001c2a2
mov eax, 4
jmp 0x1001c2ee
mov edx, 1
imul eax, edx, 0
movzx ecx, byte [ebp + eax - 4]
cmp ecx, 0xce
jne 0x1001c2e8
mov edx, 1
shl edx, 0
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xd2
jne 0x1001c2e8
mov ecx, 1
shl ecx, 1
movzx edx, byte [ebp + ecx - 4]
cmp edx, 0xca
jne 0x1001c2e8
mov eax, 5
jmp 0x1001c2ee
xor eax, eax
jmp 0x1001c2ee
mov esp, ebp
pop ebp
ret
Function at 0x1001c300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 4], 0
xor eax, eax
mov word [ebp - 3], ax
mov byte [ebp - 1], al
mov dword [ebp - 8], 0
push 0x100f85e4
mov ecx, dword [ebp + 8]
call fcn.1000d8c0
push eax
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.MSVCR120.dll_fopen_s]
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001c352
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x1001c57e
mov eax, dword [ebp - 8]
push eax
push 3
push 1
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 4]
cmp edx, 0xef
jne 0x1001c3b1
mov eax, 1
shl eax, 0
movzx ecx, byte [ebp + eax - 4]
cmp ecx, 0xbb
jne 0x1001c3b1
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xbf
je 0x1001c3ee
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xe5
jne 0x1001c3fd
mov ecx, 1
shl ecx, 0
movzx edx, byte [ebp + ecx - 4]
cmp edx, 0x8f
jne 0x1001c3fd
mov eax, 1
shl eax, 1
movzx ecx, byte [ebp + eax - 4]
cmp ecx, 0x8b
jne 0x1001c3fd
mov eax, 1
jmp 0x1001c57e
mov edx, 1
imul eax, edx, 0
movzx ecx, byte [ebp + eax - 4]
cmp ecx, 0xff
jne 0x1001c436
mov edx, 1
shl edx, 0
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xfe
jne 0x1001c436
mov ecx, 1
shl ecx, 1
movzx edx, byte [ebp + ecx - 4]
test edx, edx
je 0x1001c46b
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 4]
test edx, edx
jne 0x1001c47a
mov eax, 1
shl eax, 0
movzx ecx, byte [ebp + eax - 4]
test ecx, ecx
jne 0x1001c47a
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xfe
jne 0x1001c47a
mov eax, 2
jmp 0x1001c57e
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xfe
jne 0x1001c4b2
mov ecx, 1
shl ecx, 0
movzx edx, byte [ebp + ecx - 4]
cmp edx, 0xff
jne 0x1001c4b2
mov eax, 3
jmp 0x1001c57e
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 4]
cmp edx, 0xff
jne 0x1001c4ef
mov eax, 1
shl eax, 0
movzx ecx, byte [ebp + eax - 4]
cmp ecx, 0xfe
jne 0x1001c4ef
mov edx, 1
shl edx, 1
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xa8
je 0x1001c529
mov ecx, 1
imul edx, ecx, 0
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xff
jne 0x1001c532
mov ecx, 1
shl ecx, 0
movzx edx, byte [ebp + ecx - 4]
cmp edx, 0xfe
jne 0x1001c532
mov eax, 1
shl eax, 1
movzx ecx, byte [ebp + eax - 4]
cmp ecx, 0x11
jne 0x1001c532
mov eax, 4
jmp 0x1001c57e
mov edx, 1
imul eax, edx, 0
movzx ecx, byte [ebp + eax - 4]
cmp ecx, 0xce
jne 0x1001c578
mov edx, 1
shl edx, 0
movzx eax, byte [ebp + edx - 4]
cmp eax, 0xd2
jne 0x1001c578
mov ecx, 1
shl ecx, 1
movzx edx, byte [ebp + ecx - 4]
cmp edx, 0xca
jne 0x1001c578
mov eax, 5
jmp 0x1001c57e
xor eax, eax
jmp 0x1001c57e
mov esp, ebp
pop ebp
ret
Function at 0x10020900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed728
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1011b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x40], 0
je 0x10020940
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x46]
test edx, edx
jne 0x1002094c
mov al, 1
jmp 0x10020af6
mov dword [ebp - 0x54], 8
call fcn.10012c10
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov word [ebp - 0x3c], ax
call fcn.10012c10
mov word [ebp - 0x3a], ax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x3a]
push edx
call fcn.10012b80
add esp, 8
movzx eax, al
test eax, eax
je 0x10020994
xor al, al
jmp 0x10020af6
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.1000b100
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x28]
call fcn.1000b3b0
mov ecx, eax
call fcn.1000c000
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.1000b3e0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000b3b0
mov ecx, eax
call fcn.1000c000
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x40]
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_wchar_t__char__int_::unshift_int___char___char___char___const]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x10020a10
cmp dword [ebp - 0x38], 1
je 0x10020a17
cmp dword [ebp - 0x38], 3
je 0x10020ab2
jmp 0x10020aca
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x46], 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1000b3b0
mov ecx, eax
call fcn.1000c000
mov edx, dword [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x10020a7b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000b3b0
mov ecx, eax
call fcn.1000c000
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x10020a7b
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000a070
mov al, byte [ebp - 0x30]
jmp 0x10020af6
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x46]
test edx, edx
jne 0x10020a9e
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000a070
mov al, byte [ebp - 0x2e]
jmp 0x10020af6
cmp dword [ebp - 0x34], 0
jne 0x10020ab0
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.1000b1c0
jmp 0x10020ae2
mov byte [ebp - 0x2d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000a070
mov al, byte [ebp - 0x2d]
jmp 0x10020af6
mov byte [ebp - 0x2f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000a070
mov al, byte [ebp - 0x2f]
jmp 0x10020af6
jmp 0x100209a7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ec36e
mov esp, ebp
pop ebp
ret
Function at 0x10033830
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea edx, [ebp - 0x14]
push edx
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x10048790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1011b040]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10d], 0
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x118], 0
lea eax, [ebp - 0x114]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100487fb
xor al, al
jmp 0x100488cf
mov ecx, dword [ebp + 8]
push ecx
push str._sConnection
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1004884e
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x100488cf
mov dword [ebp - 0x11c], 0x104
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x120]
push eax
push 0
push str.PnpInstanceID
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10048889
jmp 0x100488af
push 3
push 0x100f9e00
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x100488a8
jmp 0x100488af
mov byte [ebp - 0x10d], 1
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x10d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ec36e
mov esp, ebp
pop ebp
ret
Function at 0x10049550
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2503
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1011b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.10009fe0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.10009fb0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x30], 0
mov dx, word [0x10100ca4]
mov word [ebp - 0x20], dx
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov byte [ebp - 0x12], al
sub esp, 8
movsd xmm0, qword [ebp + 0xc]
movsd qword [esp], xmm0
push 0x10100ca8
push 0xf
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x14
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.1001ca80
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ec36e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100496e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1011b040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x30]
test ecx, ecx
je 0x100497de
call fcn.1002cc50
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.1000d8c0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1004972f
mov dword [ebp - 0x28], 0
jmp 0x1004979f
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [ebp - 5], dl
add dword [ebp - 0x10], 1
cmp byte [ebp - 5], 0
jne 0x1004973e
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x3fffffff
jle 0x10049774
mov dword [ebp - 0x24], 0
jmp 0x10049799
mov eax, dword [ebp - 0x18]
shl eax, 1
call fcn.100ed140
mov dword [ebp - 0x34], esp
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.100492f0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
push 0
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
add eax, 0x1800
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10049829
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 6], cl
add dword [ebp - 0xc], 1
cmp byte [ebp - 6], 0
jne 0x100497ed
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x14]
call fcn.1000b3e0
mov ecx, dword [ebp - 0x44]
lea esi, [ecx + eax + 0x2a]
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.1000b3e0
lea edx, [esi + eax + 7]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x48]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ec36e
mov esp, ebp
pop ebp
ret 4
Function at 0x10052d00
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2b80
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1011b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
jne 0x10052d5b
mov dword [ebp - 0x1c], 0x100fbc8c
push 0x1010887c
lea ecx, [ebp - 0x1c]
push ecx
call sub.MSVCR120.dll__CxxThrowException
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10052d94
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x100fbca4
push 0x1010887c
lea ecx, [ebp - 0x20]
push ecx
call sub.MSVCR120.dll__CxxThrowException
jmp 0x10052e44
mov dword [ebp - 4], 0xffffffff
jmp 0x10052e56
jmp 0x10052e5f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2ba0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1011b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jne 0x10052ed8
mov dword [ebp - 0x18], str.connection_failed...
push 0x1010887c
lea eax, [ebp - 0x18]
push eax
call sub.MSVCR120.dll__CxxThrowException
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10052f07
mov dword [ebp - 0x1c], str.response_failed...
push 0x1010887c
lea edx, [ebp - 0x1c]
push edx
call sub.MSVCR120.dll__CxxThrowException
jmp 0x10052f20
mov dword [ebp - 4], 0xffffffff
jmp 0x10052f30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10062f10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or al, 0x50
push esi
push dword [ebp + 8]
call fcn.10062c22
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10062f4b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10062c5d
out dx, eax
sar byte [ecx - 0x6a], 0x8d
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x10063230
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x10063202
cmp dword [eax + 0xc], ebx
je 0x100632a5
add byte [eax], al
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.10062c5d
adc al, 0x9f
invalid
add byte [ebx + 0x488bbc45], cl
adc byte [ebx - 0x723cc500], cl
cmp al, 0x31
jne 0x10063245
mov dword [ebp + 0x10], edi
jmp 0x1006324a
add eax, esi
mov dword [ebp + 0x10], eax
invalid
call fcn.10062c5d
jp 0x10063200
add eax, 0x10458bd9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x10063293
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x1006326e
and eax, 0xffff
push eax
jmp 0x10063272
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10062c22
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x1006344c
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x10063253
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x100631f4
call fcn.10062c5d
jnp 0x10063246
lds edi, [edi]
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x10063311
add eax, esi

Function at 0x100632f0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10063311
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1006330c
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x100632f6
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x100632fe
cmp edx, ebx
jne 0x1006344c
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100632cd
add eax, dword [eax + 4]
jmp 0x100632ba
mov dword [ebp + 0xc], ebx
jmp 0x1006331c
Function at 0x100633b0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10063334
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10063352
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja fcn.100633b0
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10063397
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100633a0
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100633aa
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1006338c
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10063316
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100633fd
dec eax
je 0x100633f4
sub eax, 3
je 0x100633eb
mov dword [ebp - 4], 0x40
jmp 0x1006341a
mov dword [ebp - 4], 4
jmp 0x10063400
mov dword [ebp - 4], 0x20
jmp 0x10063400
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1006344c
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100633cc
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10062c5d
insb byte es:[edi], dx
xor eax, edi
aaa
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x10063458
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret