joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cd10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4822b1
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ad40c]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov eax, dword [0x4aed40]
mov edi, ecx
mov dword [esp + 0x14], eax
lea ebx, [edi + 0x1da0]
push ebx
lea ecx, [esp + 0x18]
push str._s.zip
push ecx
mov dword [esp + 0x240], 0
call fcn.0046ccf0
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x4aed40]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push 0x486588
push eax
mov byte [esp + 0x244], 1
call fcn.0046ccf0
mov ebp, dword [esp + 0x28]
push 2
push 0
push ebp
mov byte [esp + 0x250], 2
call fcn.00471770
mov esi, eax
add esp, 0x1c
mov dword [esp + 0x1c], esi
test esi, esi
je 0x46ce66
lea eax, [edi + 0x1de4]
test eax, eax
je 0x46cdf8
test ebx, ebx
je 0x46cdf8
push 2
push 0
push eax
push ebx
push esi
call fcn.004728b0
add esp, 0x14
push esi
call fcn.004729d0
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edi + 0x2e04]
mov dword [esp + 0x20], 0
call fcn.0046c4b0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [ebp - 0xc]
cmp edx, dword [0x4aed3c]
je 0x46ce3d
lea esi, [ebp - 0xc]
push esi
call edi
test eax, eax
jg 0x46ce3d
push esi
call fcn.0042493b
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4aed3c]
je 0x46ce5f
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x46ce5f
push esi
call fcn.0042493b
add esp, 4
mov eax, 1
jmp 0x46ceae
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [ebp - 0xc]
cmp edx, dword [0x4aed3c]
je 0x46ce8a
lea esi, [ebp - 0xc]
push esi
call edi
test eax, eax
jg 0x46ce8a
push esi
call fcn.0042493b
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4aed3c]
je 0x46ceac
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x46ceac
push esi
call fcn.0042493b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004420f4
add esp, 0x224
ret
Function at 0x46d6f0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48245b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ad40c]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x2e08]
xor esi, esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push eax
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
push ebx
call fcn.00424946
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x46d8e0
push ebx
push esi
push ebp
call fcn.00441830
mov eax, dword [edi + 0x2e08]
add esp, 0xc
push esi
push esi
push ebx
push ebp
push 0xffffffffffffffff
push eax
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [edi + 0x2e10]
cmp eax, 1
je 0x46d783
cmp eax, 3
jne 0x46d7a1
push 1
push 0
push ebp
push str.attribute
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0046d6c0
add esp, 0x18
mov esi, 1
mov eax, dword [edi + 0x2e20]
push 0
push 0
test eax, eax
je 0x46d7c1
push eax
push str.type
lea ecx, [esi + esi*4]
push 0
lea edx, [esp + ecx*4 + 0x34]
push edx
jmp 0x46d7d2
push 0
push str.specimen
lea eax, [esi + esi*4]
push 0
lea ecx, [esp + eax*4 + 0x34]
push ecx
call fcn.0046d6c0
add esp, 0x18
lea edx, [esp + 0x14]
push edx
mov ecx, edi
inc esi
call fcn.0046cee0
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
push 0x495a9c
lea ecx, [esi + esi*4]
lea edx, [esp + ecx*4 + 0x30]
push 0
push edx
mov dword [esp + 0x108], 0
call fcn.0046d6c0
mov eax, dword [edi + 0x2e10]
add esp, 0x18
inc esi
cmp eax, 1
je 0x46d823
cmp eax, 2
jne 0x46d846
mov eax, dword [edi + 0x2e04]
push 0
push 0
push eax
push str.specimen_cont
lea ecx, [esi + esi*4]
lea edx, [esp + ecx*4 + 0x30]
push 2
push edx
call fcn.0046d6c0
add esp, 0x18
inc esi
push 0
push 0
call fcn.0046e700
push eax
push 0x4856cc
lea eax, [esi + esi*4]
lea ecx, [esp + eax*4 + 0x30]
push 0
push ecx
call fcn.0046d6c0
mov eax, dword [edi + 0x2e0c]
add esp, 0x18
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x34]
push ecx
inc esi
push esi
lea edx, [esp + 0x40]
push edx
push eax
lea ecx, [edi + 0x10]
call fcn.00474f00
mov edi, dword [edi + 0x2e04]
cmp word [edi], 0
mov esi, eax
je 0x46d8a6
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
call fcn.0042493b
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [eax - 0xc]
test esi, esi
jne 0x46d8e4
cmp ecx, dword [0x4aed3c]
je 0x46d8e0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46d8e0
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0042493b
add esp, 4
xor eax, eax
jmp 0x46d90c
cmp ecx, dword [0x4aed3c]
je 0x46d90a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46d90a
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0042493b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret
Function at 0x46e4d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x4b5860]
push ebx
xor ebx, ebx
push edi
mov edi, dword [esp + 0x428]
cmp dword [eax - 8], ebx
jne 0x46e610
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00441830
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22e]
push eax
mov word [esp + 0x230], dx
call fcn.00441830
add esp, 0x18
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0x485134
push 0x4855d0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x10], bx
jne 0x46e5d9
push 0x208
lea ecx, [esp + 0x21c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x46e5d2
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrRChrW]
push 0x5c
push ebx
lea edx, [esp + 0x224]
push edx
call esi
test eax, eax
je 0x46e5d1
xor ecx, ecx
push 0x5c
push ecx
lea edx, [esp + 0x224]
push edx
mov word [eax], cx
call esi
test eax, eax
je 0x46e5d1
lea edx, [esp + 0x21c]
xor ecx, ecx
push edx
mov word [eax], cx
push 0x208
lea eax, [esp + 0x1c]
push eax
call fcn.00402ef4
pop esi
cmp word [esp + 0x10], bx
je 0x46e63b
mov edx, dword [esp + 0x42c]
lea ecx, [esp + 0x10]
push ecx
push str._s360verify.dll
push edx
push edi
call fcn.00403161
add esp, 0x10
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004420f4
add esp, 0x41c
ret
push eax
mov eax, dword [esp + 0x430]
push eax
push edi
call fcn.00402ef4
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004420f4
add esp, 0x41c
ret
mov ecx, dword [esp + 0x420]
pop edi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004420f4
add esp, 0x41c
ret
Function at 0x4701c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4701cb
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x4702a9
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x495cb0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x495cb0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x495cb0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x495cb0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x495cb0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x495cb0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x495cb0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x495cb0]
inc ecx
sub edx, 8
sub esi, 1
jne 0x4701e5
pop edi
test edx, edx
je 0x4702cb
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x495cb0]
inc ecx
sub edx, 1
jne 0x4702b0
not eax
pop esi
ret
Function at 0x470800
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x4708c1
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1c]
add eax, edi
cmp eax, ecx
jb 0x47089f
add ecx, ecx
mov ebp, ecx
cmp ecx, eax
ja 0x47082b
mov ebp, eax
push 0
push ebp
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x470860
push ebp
push 0
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x47086d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop ebx
mov eax, 0x300
pop esi
pop ecx
ret 8
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
push ecx
push edx
push edi
call fcn.00442620
mov eax, dword [esi + 0x18]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], edi
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x20], ebp
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x18]
add eax, dword [esi + 0x18]
push edi
push edx
push eax
call fcn.00442620
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8
mov eax, dword [esi]
test eax, eax
je 0x4708f0
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop esi
pop ecx
ret 8

Function at 0x470bc0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x58]
push edi
test ecx, ecx
je 0x470c13
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x5c]
cmp eax, edi
jae 0x470c5d
mov edx, dword [esp + 0x14]
sub edi, eax
cmp edi, edx
jbe 0x470be6
mov edi, edx
mov ebx, dword [esp + 0x10]
push edi
add eax, ecx
push eax
push ebx
call fcn.00442620
mov eax, dword [esi + 0x4c]
add dword [esi + 0x60], edi
add dword [esi + 0x48], edi
push edi
push ebx
push eax
call fcn.004701c0
add esp, 0x18
mov dword [esi + 0x4c], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
mov eax, dword [esi + 0x50]
test eax, eax
je 0x470c56
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x470c5d
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x4c]
add dword [esi + 0x48], edi
push edi
push ebx
push eax
call fcn.004701c0
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
mov dword [esi + 0xc], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x471cb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
push edi
xor edi, edi
mov dword [esi + 0x6af80], 2
lea ebp, [ebx + 1]
cmp dword [esi + 0x6af90], ebx
je 0x471ed2
cmp dword [esi + 0x6af90], 3
jb 0x471d29
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x471d69
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x471d69
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x471d51
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.0046f560
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x471d69
mov edi, eax
cmp edi, 3
jb 0x471e4e
mov ecx, dword [esi + 0x6af84]
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.0046ef10
sub dword [esi + 0x6af90], edi
add esp, 0xc
mov edx, eax
mov eax, dword [esi + 0x6af90]
cmp edi, dword [esi + 0x6af98]
ja 0x471e07
cmp eax, 3
jb 0x471e07
sub edi, ebp
lea esp, [esp]
add dword [esi + 0x6af84], ebp
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [esi + ecx + 0x1af72]
mov ebx, dword [esi + 0x6af7c]
shl ebx, 5
xor eax, ebx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
sub edi, ebp
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x471db0
jmp 0x471e70
add dword [esi + 0x6af84], edi
mov eax, dword [esi + 0x6af84]
lea ecx, [eax + esi]
movzx eax, byte [ecx + 0x1af70]
mov dword [esi + 0x6af7c], eax
movzx ecx, byte [ecx + 0x1af71]
shl eax, 5
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
xor ecx, eax
and ecx, 0x7fff
push ebp
push esi
xor edi, edi
mov dword [esi + 0x6af7c], ecx
call fcn.0046ea70
add esp, 0xc
jmp 0x471e76
mov edx, dword [esi + 0x6af84]
movzx eax, byte [edx + esi + 0x1af70]
push eax
push 0
push esi
call fcn.0046ef10
add esp, 0xc
dec dword [esi + 0x6af90]
mov edx, eax
add dword [esi + 0x6af84], ebp
test edx, edx
je 0x471eb0
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x471e8d
lea ecx, [eax + esi + 0x1af70]
jmp 0x471e8f
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00471af0
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x471ec5
push esi
call fcn.0046f740
add esp, 4
cmp dword [esi + 0x6af90], 0
jne 0x471cd5
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x471ee5
lea ecx, [eax + esi + 0x1af70]
jmp 0x471ee7
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push ebp
sub edx, eax
push edx
push ecx
push esi
call fcn.00471af0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x473200
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1cc
mov eax, dword [0x4ad40c]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
lea eax, [esp + 0x40]
push eax
mov ebx, ecx
mov esi, dword [ebx + 0x284]
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x47331f
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x43
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
test eax, eax
je 0x473319
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x473282
call esi
cmp eax, 0x3e5
jne 0x473319
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x24]
mov word [esp + 0x24], ax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
mov eax, dword [esp + 0x14]
push edx
push eax
mov dword [esp + 0x14], 0x10
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x473319
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
push eax
mov esi, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
call dword [sym.imp.WS2_32.dll_ntohl]
push esi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea ecx, [ebx + 0x124c]
mov edx, eax
mov esi, 0x40
sub edx, ecx
lea eax, [esi + 0x7fffffbe]
test eax, eax
je 0x473311
mov al, byte [edx + ecx]
test al, al
je 0x473311
mov byte [ecx], al
inc ecx
sub esi, 1
jne 0x4732f6
jmp 0x473315
test esi, esi
jne 0x473316
dec ecx
mov byte [ecx], 0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1d0]
pop esi
lea eax, [ebx + 0x124c]
pop ebx
xor ecx, esp
call fcn.004420f4
add esp, 0x1cc
ret

Function at 0x4758e0
Capabilities:
Send data

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
mov edi, ecx
call fcn.00475450
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x475961
mov ebp, dword [sym.imp.WININET.dll_InternetWriteFile]
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi + 8]
lea eax, [esp + 0x18]
push eax
push esi
push ebx
push ecx
call ebp
test eax, eax
jne 0x475935
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x475949
mov edx, dword [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00475840
test eax, eax
jl 0x475954
mov eax, dword [esp + 0x18]
add ebx, eax
sub esi, eax
je 0x475961
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x475907
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4759c0
Capabilities:
Send data

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 8]
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x475493
or eax, 0xffffffff
ret 8
mov eax, dword [esp + 8]
ret 8
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
mov eax, esi
cmp esi, 0x10000
jbe 0x475988
mov eax, 0x10000
test esi, esi
jbe 0x4759b4
mov edi, dword [esp + 0x10]
push eax
push edi
mov ecx, ebx
call fcn.004758e0
test eax, eax
jl 0x4759b6
sub esi, eax
add edi, eax
mov eax, esi
cmp esi, 0x10000
jb 0x4759b0
mov eax, 0x10000
test esi, esi
ja 0x475990
xor eax, eax
pop edi
pop esi
pop ebx
ret 8
cmp dword [ecx + 4], 0x10000000
jne 0x4759ce
jmp 0x475970
jmp 0x475470

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

Disassembly:
sub esp, 0x28
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x30]
xor eax, eax
mov dword [esp], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
push 0
mov dword [esp + 0x18], eax
push 0
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x10], 0x28
mov dword [esp + 0x28], edx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x475504
or eax, 0xffffffff
add esp, 0x28
ret 8
mov eax, dword [esp + 0x18]
add esp, 0x28
ret 8
sub esp, 0x28
xor eax, eax
mov dword [esp], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
push edi
push eax
mov esi, ecx
mov dword [esp + 0xc], 0x28
mov dword [esp + 0x24], eax
call fcn.00475450
mov edx, dword [esi + 8]
push esi
push 0
lea ecx, [esp + 0x10]
push ecx
push edx
mov edi, eax
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x475a6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x475a5e
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x28
ret 8
push edi
mov ecx, esi
call fcn.00475840
test eax, eax
mov eax, 0xfffffffe
jl 0x475a73
mov eax, dword [esp + 0x20]
pop edi
pop esi
add esp, 0x28
ret 8
cmp dword [ecx + 4], 0x10000000
jne 0x475a8e
jmp 0x4759e0
jmp 0x4754a0
Function at 0x478410
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov cx, word [ebp + 0x10]
push edx
push 0x80
lea ebx, [esi + 0xc]
push ebx
mov dword [esi + 8], eax
mov word [esi + 0x8c], cx
call fcn.00402ef4
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x478461
push edi
push 0x80
lea eax, [esi + 0x8e]
push eax
call fcn.00402ef4
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x47847a
push eax
push 0x80
lea ecx, [esi + 0x10e]
push ecx
call fcn.00402ef4
test ebx, ebx
jne 0x478489
mov dword [ebp - 0x10], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x4784bf
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 8], eax
call fcn.00444180
mov edx, dword [ebp - 8]
mov edi, esp
push 0
push 0
push edx
push edi
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
mov byte [edi], 0
call ebx
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0x14]
xor ecx, ecx
cmp edi, ecx
jne 0x4784ca
mov dword [ebp - 0xc], ecx
jmp 0x47850c
lea eax, [esi + 0x8e]
cmp eax, ecx
jne 0x4784d9
mov dword [ebp - 0xc], ecx
jmp 0x47850c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 8], eax
call fcn.00444180
mov eax, dword [ebp - 8]
mov edi, esp
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
lea eax, [esi + 0x8e]
push eax
push 0
push 0
mov byte [edi], 0
call ebx
mov dword [ebp - 0xc], edi
cmp dword [ebp + 0x18], 0
jne 0x478516
xor edi, edi
jmp 0x478554
lea eax, [esi + 0x10e]
test eax, eax
jne 0x478524
xor edi, edi
jmp 0x478554
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 8], eax
call fcn.00444180
mov ecx, dword [ebp - 8]
mov edi, esp
push 0
push 0
push ecx
push edi
push 0xffffffffffffffff
lea eax, [esi + 0x10e]
push eax
push 0
push 0
mov byte [edi], 0
call ebx
cmp dword [esi + 8], 0
jne 0x478561
mov eax, 0xffffff9d
jmp 0x478597
mov edx, dword [esi + 0x190]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
push 0
push 0
push edx
mov edx, dword [ebp - 0x10]
push edi
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x478595
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
jmp 0x478597
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004420f4
mov esp, ebp
pop ebp
ret 0x14