joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d598
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, dword [esp + 4]
mov esi, dword [ebx + 0x38]
mov edx, 0x10
lea eax, [ebx + 0x3c]
mov dword [ecx], edx
lea edx, [ebx + 0x18]
call fcn.0046eb78
xor ecx, ecx
mov eax, dword [esp]
mov edx, eax
lea eax, [ebx + 0x28]
cmp esi, ecx
jbe 0x46d5db
mov bl, byte [eax]
inc ecx
xor bl, byte [eax - 0x10]
inc eax
mov byte [edx], bl
inc edx
cmp esi, ecx
ja 0x46d5cd
mov eax, dword [esp + 4]
mov dword [eax], esi
xor eax, eax
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x46d9c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov edi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
ja 0x46da24
mov ecx, dword [ebp - 4]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.0046c790
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x46db06
cmp edi, esi
jne 0x46da32
mov eax, 0x1001
jmp 0x46db06
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.0046c790
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
add edi, edx
add esp, 0xc
sub dword [ebp - 4], ecx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.0046eb78
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [esi + 0xc], ecx
add esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x46dadc
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.0046eb78
mov edx, dword [edi]
xor edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [edi + 4]
xor ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
xor eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
xor edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add edi, eax
mov ecx, dword [ebp - 4]
add esi, eax
cmp ecx, dword [ebp - 0xc]
ja 0x46da9a
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push edi
push edx
call fcn.0046c790
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46db10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov esi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
ja 0x46db70
mov ecx, dword [ebp - 4]
push ecx
push esi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.0046c790
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x46dc81
cmp esi, edi
jne 0x46db7e
mov eax, 0x1001
jmp 0x46dc81
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
push esi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.0046c790
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
add esi, edx
add esp, 0xc
sub dword [ebp - 4], ecx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.0046eb78
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x2c]
mov dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x20], ecx
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x24], eax
add edi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jbe 0x46dc57
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.0046eb78
mov ecx, dword [ebx + 0x18]
xor ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [esi + 4]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [esi + 8]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov eax, dword [esi]
mov dword [ebx + 0x18], eax
mov edx, dword [esi + 4]
mov dword [ebx + 0x1c], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 0x20], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add esi, eax
mov ecx, dword [ebp - 4]
add edi, eax
cmp ecx, dword [ebp - 0xc]
ja 0x46dbfe
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push esi
push edx
call fcn.0046c790
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46de28
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov dword [esp], ecx
mov edi, edx
mov edx, dword [esp]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 0x3c]
mov dword [edx], esi
lea edx, [ebx + 0x18]
call fcn.0046eb78
xor ecx, ecx
mov edx, edi
lea eax, [ebx + 0x28]
cmp esi, ecx
jbe 0x46de5f
mov bl, byte [eax]
inc ecx
xor bl, byte [eax - 0x10]
inc eax
mov byte [edx], bl
inc edx
cmp esi, ecx
ja 0x46de51
mov eax, dword [esp]
mov dword [eax], esi
xor eax, eax
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x474a30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor edi, edi
push ebp
push 0x474adb
push dword fs:[edi]
mov dword fs:[edi], esp
mov byte [ebp - 9], 0
cmp byte [0x4a8108], 0
jne 0x474a6c
pop dword fs:[0]
add esp, 8
jmp 0x474b37
xor esi, esi
xor edx, edx
dec ecx
test ecx, ecx
jb 0x474acd
inc ecx
mov dword [ebp - 0x10], ecx
xor eax, eax
inc esi
and esi, 0xff
xor ecx, ecx
mov cl, byte [esi + 0x4aac9c]
lea edx, [ecx + edx]
and edx, 0xff
mov bl, byte [edx + 0x4aac9c]
mov byte [esi + 0x4aac9c], bl
mov byte [edx + 0x4aac9c], cl
xor ebx, ebx
mov bl, byte [esi + 0x4aac9c]
add ecx, ebx
and ecx, 0xff
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + eax]
xor bl, byte [ecx + 0x4aac9c]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], bl
inc eax
dec dword [ebp - 0x10]
jne 0x474a7b
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x474b37
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475a7c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4184ec]
call fcn.0040553c
xor eax, eax
push ebp
push 0x475bc0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a8110], 0
jne 0x475acf
mov ecx, dword [0x4a8ed4]
mov dl, 1
mov eax, dword [0x4082b0]
call fcn.0040d5b4
call fcn.004044bc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403618
mov eax, ebx
call fcn.00405320
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x475bd0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004067c8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405330
test eax, eax
jle 0x475b67
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x475b60
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404d40
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404d28
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409200
test eax, eax
jne 0x475b60
mov ebx, 0x15
jmp 0x475b6c
mov ebx, 0x10
jmp 0x475b6c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a8110]
call fcn.004759d4
mov eax, dword [ebp - 8]
call fcn.004759d4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004067e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475bc7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404acc
lea eax, [ebp - 0x10]
mov edx, dword [0x4184ec]
call fcn.0040560c
ret

Function at 0x479404
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00478ea4
test byte [ebx + 0x23d], 4
jne 0x479499
mov edx, esp
mov eax, ebx
call fcn.00440e24
push esp
mov eax, ebx
call fcn.00447bd0
push eax
push 0
mov eax, ebx
test eax, eax
je 0x479439
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x47946a
mov ecx, dword [0x4a910c]
mov dl, 1
mov eax, dword [0x475694]
call fcn.0040d5b4
call fcn.004044bc
mov eax, ebx
call fcn.00479a0c
cmp byte [ebx + 0x57], 0
jne 0x4794a0
mov eax, ebx
call fcn.00447dd4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4794a0
push 0
mov eax, ebx
call fcn.00447dd4
push eax
call sub.user32.dll_ShowWindow
jmp 0x4794a0
mov eax, ebx
call fcn.00444d3c
add esp, 0x10
pop ebx
ret
Function at 0x480bac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x480bda
mov eax, ebx
call fcn.00481660
cmp dword [ebx + 0x40], 0
je 0x480bd3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x480c4b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x480c3d
cmp dword [ebx + 8], 0
je 0x480bfc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x480c0e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x480c3d
cmp dword [ebx + 8], 0
je 0x480bef
cmp eax, 3
je 0x480c21
dec eax
jne 0x480bef
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x480bef
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x480bef
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x480c69
cmp dword [ebx + 0x14], 0xcc
je 0x480c69
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00480c74
pop ebx
ret

Function at 0x491594
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f68
mov eax, dword [ebp - 8]
call fcn.00404f68
xor eax, eax
push ebp
push 0x491668
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x14
mov dword [ebp - 0x20], 0x14
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 8]
call fcn.00404f78
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 3
mov eax, 0x491674
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404f78
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x4b
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49166f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404acc
ret
Function at 0x49167c
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f68
mov eax, dword [ebp - 8]
call fcn.00404f68
mov eax, dword [ebp - 0xc]
call fcn.00404f68
mov eax, dword [ebp + 0xc]
call fcn.00404f68
xor eax, eax
push ebp
push 0x491795
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
call fcn.00404f78
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 3
mov eax, 0x4917a4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404f78
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404f78
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404f78
push eax
mov ax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetConnectA
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49179c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404acc
lea eax, [ebp + 0xc]
call fcn.00404aa8
ret

Function at 0x495470
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00403618
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x49549e
mov al, 1
jmp 0x4954a0
xor eax, eax
add esp, 0xc
ret
Function at 0x49b2ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, edx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x49b2cc
mov eax, dword [0x4a9260]
mov eax, dword [eax]
call fcn.00460d84
push 1
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp esi, eax
ja 0x49b2b9
pop esi
pop ebx
ret

Function at 0x49d42c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49d631
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x49d483
cmp byte [ebx + 0x344], 0
je 0x49d474
mov edx, 1
mov eax, dword [ebx + 0x300]
call fcn.004379c0
jmp 0x49d4ab
xor edx, edx
mov eax, dword [ebx + 0x300]
call fcn.004379c0
jmp 0x49d4ab
cmp byte [ebx + 0x344], 0
je 0x49d49b
xor edx, edx
mov eax, dword [ebx + 0x300]
call fcn.004379c0
jmp 0x49d4ab
mov edx, 1
mov eax, dword [ebx + 0x300]
call fcn.004379c0
mov byte [ebp - 6], 1
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0xc], eax
mov byte [ebx + 0x338], 0
xor eax, eax
mov dword [ebx + 0x33c], eax
lea eax, [ebx + 0x340]
call fcn.004067c8
lea eax, [ebx + 0x35c]
call fcn.00404aa8
mov eax, ebx
call fcn.0049d828
mov byte [ebp - 0xd], 1
mov eax, dword [ebx + 0x358]
call fcn.00405e88
mov esi, eax
test esi, esi
jl 0x49d50d
inc esi
xor edi, edi
mov eax, dword [ebx + 0x358]
lea eax, [eax + edi*4]
call fcn.004067c8
inc edi
dec esi
jne 0x49d4fb
push 0
lea eax, [ebx + 0x358]
mov ecx, 1
mov edx, dword [0x49acf0]
call fcn.0040605c
add esp, 4
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.0049d65c
lea edx, [ebp - 0x14]
call fcn.004990dc
mov edx, dword [ebp - 0x14]
lea ecx, [ebx + 0x358]
mov eax, ebx
call fcn.0049b5cc
mov eax, dword [ebx + 0x358]
call fcn.00405e80
dec eax
jl 0x49d4e3
mov eax, dword [ebx + 0x358]
call fcn.00405e88
mov esi, eax
test esi, esi
jl 0x49d5a0
inc esi
xor edi, edi
lea eax, [ebp - 0x18]
call fcn.004051c4
push eax
mov eax, dword [ebx + 0x358]
mov eax, dword [eax + edi*4]
push eax
mov eax, dword [eax]
call dword [eax + 0x58]
call fcn.004068d8
mov eax, dword [ebp - 0x18]
mov edx, 0x49d648
call fcn.00405404
je 0x49d59c
mov byte [ebp - 0xd], 0
inc edi
dec esi
jne 0x49d56c
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebx + 0x334]
jbe 0x49d5b6
mov byte [ebp - 6], 0
jmp 0x49d5fe
cmp byte [ebp - 0xd], 0
je 0x49d5ed
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.0049d65c
mov edx, 0xd4
call fcn.004797fc
test ax, ax
jne 0x49d5ed
mov byte [ebx + 0x338], 1
mov eax, dword [ebx + 0x33c]
cmp eax, dword [ebp - 4]
jne 0x49d5ed
mov byte [ebp - 6], 1
jmp 0x49d5fe
mov edx, 0x300
mov eax, ebx
call fcn.0049b2ac
jmp 0x49d4e3
mov eax, ebx
call fcn.0049da60
mov byte [ebx + 0x345], 0
mov eax, ebx
call fcn.0049daf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d638
lea eax, [ebp - 0x18]
call fcn.004051c4
lea eax, [ebp - 0x14]
call fcn.004067c8
ret
Function at 0x49fa60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404aa8
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.00403618
push 0
push edi
lea eax, [ebp - 0x105]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.00409fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100037ca
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0x2c
mov eax, 0x1004fbed
call fcn.10037d5a
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
call fcn.10001e2b
xor edi, edi
inc edi
mov dword [ebp - 4], ebx
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], edi
call fcn.1001c67c
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 0x10
jb 0x10003806
mov eax, dword [eax + 4]
jmp 0x10003809
add eax, 4
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x30], ebx
call fcn.1002be97
test eax, eax
je 0x10003828
push ebx
push dword [ebp - 0x30]
call fcn.1002e8f2
pop ecx
pop ecx
mov esi, eax
jmp 0x10003833
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
or esi, 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.100020f3
cmp esi, 0xffffffff
je 0x10003876
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x30], 0x10
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x10003870
push dword [ebp - 0x1c]
call sub.WS2_32.dll_inet_ntoa
mov ecx, dword [ebp - 0x34]
push eax
call fcn.10002085
push esi
call sub.WS2_32.dll_closesocket
mov eax, dword [ebp - 0x34]
call fcn.10037ddd
ret

Function at 0x1000387f
Capabilities:
Get hostname

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x10069060]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x7c
mov eax, 0x1004e6ac
call fcn.10037cf1
and dword [ebp - 0x10], 0
xor eax, eax
push 0xfe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
mov edi, ecx
push eax
mov dword [ebp - 0x18], edi
call fcn.10038cf0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push 3
pop ebx
mov esi, 0x80
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x1000390d
lea eax, [ebp]
push eax
lea esi, [ebp - 0x34]
call fcn.10001ec7
and dword [ebp - 4], 0
mov eax, esi
push eax
push edi
call fcn.1000121f
pop ecx
pop ecx
push 0
push 1
call fcn.100021ef
mov eax, edi
jmp 0x100039b0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor edi, edi
inc edi
test eax, eax
je 0x10003950
lea eax, [ebp]
push eax
lea esi, [ebp - 0x50]
call fcn.10001ec7
push 2
pop esi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x10], esi
call fcn.1000121f
pop ecx
pop ecx
mov dword [ebp - 4], esi
push 6
jmp 0x10003965
push 0x10056d6f
lea ecx, [ebp - 0x88]
call fcn.10001e3e
mov dword [ebp - 4], ebx
push 8
mov ecx, dword [ebp - 0x18]
pop ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.10001e60
or ebx, edi
test bl, 8
je 0x1000398a
push 0
push edi
lea ecx, [ebp - 0x88]
and ebx, 0xfffffff7
call fcn.100020f3
test bl, 4
je 0x1000399d
push 0
push edi
lea ecx, [ebp - 0x6c]
and ebx, 0xfffffffb
call fcn.100020f3
test bl, 2
je 0x100039ad
push 0
push edi
lea esi, [ebp - 0x50]
call fcn.100021ef
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.100366e3
add ebp, 0x104
leave
ret