joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c076
Capabilities:
Get geographical location

Disassembly:
push 0x4b4
mov eax, 0x487ee3
call fcn.0045ee24
mov esi, ecx
test esi, esi
jne 0x41c093
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jne 0x41c0a8
or eax, 0xffffffff
jmp 0x41c227
push 8
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
push 0xb
push esi
movlpd qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x41c0ca
push 0xfffffffffffffffe
jmp 0x41c226
lea eax, [ebp - 0x1c]
push eax
call fcn.0046d8ec
mov ebx, eax
pop ecx
test ebx, ebx
je 0x41c224
cmp ebx, 0xfde8
je 0x41c224
cmp ebx, 0xfde9
je 0x41c224
movzx eax, bx
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41c224
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004606c0
add esp, 0xc
lea eax, [ebp - 0xb0]
push 0x40
push 0
push eax
call fcn.004606c0
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x814
cmp si, ax
lea eax, [ebp - 0x70]
jne 0x41c171
push str.Norwegian_Nynorsk
push 0x40
push eax
call fcn.0046d916
add esp, 0xc
push 0x40
lea eax, [ebp - 0xb0]
push eax
push 0x1002
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x41c18b
push 0xfffffffffffffffb
jmp 0x41c226
push 0x40
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x41c151
push 0xfffffffffffffffc
jmp 0x41c226
push 0xa
push 0x10
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.0046c0ba
push 0x400
lea eax, [ebp - 0x4b0]
push 0
push eax
call fcn.004606c0
add esp, 0x1c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x70]
push eax
push str._s__s._s_n
lea eax, [ebp - 0x4b0]
push 0x3fc
push eax
call fcn.0040a69a
and dword [ebp - 4], 0
lea eax, [ebp - 0x4b0]
add esp, 0x14
lea ecx, [ebp - 0x4c0]
push eax
call fcn.0041b1fa
push eax
lea eax, [ebp - 0x4b8]
mov byte [ebp - 4], 1
push eax
call fcn.0044e100
pop ecx
pop ecx
lea ecx, [ebp - 0x4b8]
call fcn.0040a9b7
lea ecx, [ebp - 0x4c0]
call fcn.0040a9b7
xor eax, eax
jmp 0x41c227
push 0xfffffffffffffffd
pop eax
call fcn.0045ed71
ret

Function at 0x41d2c3
Capabilities:
Query environment variable

Disassembly:
push 0x828
mov eax, 0x4881ea
call fcn.0045edb6
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x830]
push eax
mov dword [ebp - 0x834], esi
call fcn.0041d83a
and dword [ebp - 4], 0
lea eax, [ebp - 0x814]
push 0x802
push 0
push eax
call fcn.004606c0
add esp, 0xc
lea ecx, [ebp - 0x814]
cmp dword [ebp - 0x818], 8
lea eax, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push 0x400
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, esi
test eax, eax
je 0x41d33c
lea eax, [ebp - 0x814]
push eax
call fcn.0041ba7d
jmp 0x41d348
lea eax, [ebp - 0x830]
push eax
call fcn.0041bada
lea ecx, [ebp - 0x830]
call fcn.0041bf1b
mov eax, esi
call fcn.0045ed60
ret 4
Function at 0x420394
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0x17c
mov eax, 0x4886d3
call fcn.0045edb6
mov esi, edx
mov edi, ecx
call fcn.004043bf
push esi
lea ecx, [ebp - 0x164]
call fcn.0041bada
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x150], ebx
jne 0x42042b
mov esi, 0x100
lea eax, [ebp - 0x114]
push esi
push ebx
push eax
call fcn.004606c0
add esp, 0xc
lea eax, [ebp - 0x114]
push esi
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x4203f5
or ebx, 0xffffffff
jmp 0x42051d
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call fcn.0041b9a3
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x160]
call fcn.0041e62b
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], bl
call fcn.0041bf1b
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x184], 2
lea eax, [ebp - 0x148]
movlpd qword [ebp - 0x178], xmm0
push eax
lea ecx, [ebp - 0x164]
movlpd qword [ebp - 0x170], xmm0
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x168], ebx
call fcn.0041bec2
cmp dword [ebp - 0x134], 0x10
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x188]
push ecx
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push ebx
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 4], 2
test eax, eax
jne 0x420512
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x420512
mov eax, dword [esi + 0x18]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x4204f7
push eax
lea ecx, [ebp - 0x130]
call fcn.0041b9a3
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.00404413
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 2
call fcn.0041bf1b
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x4204ba
cmp dword [ebp - 0x168], esi
je 0x420512
push dword [ebp - 0x168]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
lea ecx, [ebp - 0x148]
call fcn.004016b2
lea ecx, [ebp - 0x164]
call fcn.0041bf1b
mov eax, ebx
call fcn.0045ed60
ret

Function at 0x420530
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4b2070]
xor eax, esp
mov dword [esp + 0x194], eax
cmp byte [0x4b4340], 0
jne 0x420557
xor eax, eax
jmp 0x420588
lea eax, [esp]
mov byte [0x4b4340], 0
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x420585
mov eax, dword [esp]
cmp al, 2
jne 0x42057f
shr eax, 8
cmp al, 2
je 0x420553
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0045e16b
mov esp, ebp
pop ebp
ret
Function at 0x4205ae
Capabilities:
Get disk size

Disassembly:
push 0x74
mov eax, 0x48871b
call fcn.0045edb6
mov esi, edx
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
jne 0x4205ca
xor al, al
jmp 0x42072d
push 1
lea eax, [ebp - 0x68]
push eax
call fcn.0041bf64
push 0x49c6cc
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.0041ba7d
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x64]
call fcn.00408abe
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.0041bf1b
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x420723
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
call fcn.004840a0
mulsd xmm0, qword [0x4a23d8]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
mulsd xmm0, qword [0x4a23d8]
movsd qword [ebp - 0x80], xmm0
movsd qword [esi], xmm0
call fcn.004840a0
movsd xmm1, qword [0x4a23d8]
lea eax, [ebp - 0x30]
mulsd xmm0, xmm1
mov edi, str._.3f_MB
push ecx
push ecx
mulsd xmm0, xmm1
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [ebp - 0x80]
comisd xmm0, xmmword [0x4a23f8]
jb 0x420690
mulsd xmm0, xmm1
movsd qword [esp], xmm0
push str._.3f_GB
jmp 0x420696
movsd qword [esp], xmm0
push edi
push eax
call fcn.004014db
add esp, 0x10
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push eax
call fcn.0041b9a3
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0xc]
call fcn.0041e62b
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.0041bf1b
movsd xmm0, qword [esi + 0x28]
lea eax, [ebp - 0x30]
comisd xmm0, xmmword [0x4a23f8]
push ecx
push ecx
jb 0x4206ee
mulsd xmm0, qword [0x4a23d8]
movsd qword [esp], xmm0
push str._.3f_GB
jmp 0x4206f4
movsd qword [esp], xmm0
push edi
push eax
call fcn.004014db
add esp, 0x10
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push eax
call fcn.0041b9a3
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x34]
call fcn.0041e62b
lea ecx, [ebp - 0x4c]
call fcn.0041bf1b
mov bl, 1
lea ecx, [ebp - 0x68]
call fcn.0041bf1b
mov al, bl
call fcn.0045ed60
ret
Function at 0x420a6c
Capabilities:
Get file attributes

Disassembly:
push 0x64
mov eax, 0x48879b
call fcn.0045edb6
mov edi, ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], edi
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], al
mov dword [ebp - 4], eax
or dword [edi + 4], 0xffffffff
cmp dword [0x4b29fc], 0x75bcd0d
mov dword [edi], eax
mov byte [edi + 8], al
je 0x420b46
mov ebx, 0x75bcd0e
cmp dword [0x4b29fc], ebx
je 0x420b46
push str.LVHMutexExLogMark
lea ecx, [ebp - 0x64]
call fcn.0041ba7d
push 0x20a
mov byte [ebp - 4], 1
call fcn.0045e3ba
mov esi, eax
mov dword [esp], 0x104
xor eax, eax
push esi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
lea ecx, [ebp - 0x48]
call fcn.0041ba7d
push esi
call fcn.0045e17c
pop ecx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.0041e1f8
pop ecx
lea ecx, [ebp - 0x48]
call fcn.0041bf1b
lea ecx, [ebp - 0x64]
call fcn.0041bf1b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
lea ecx, [ebp - 0x2c]
neg eax
sbb eax, eax
add eax, ebx
mov dword [0x4b29fc], eax
call fcn.0041bf1b
mov eax, edi
call fcn.0045ed60
ret

Function at 0x4210dc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x421103
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004216a8
jmp 0x4211b8
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x421125
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x421127
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x4211ac
jg 0x42113c
test esi, esi
je 0x4211ac
test ecx, ecx
jl 0x421185
jg 0x421146
test eax, eax
je 0x421185
cmp edi, ecx
jg 0x42115a
jl 0x421150
cmp esi, eax
jae 0x42115a
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.0045fbc0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x421188
mov edx, dword [ebp + 8]
test edi, edi
jl 0x4211ac
jg 0x421192
test esi, esi
je 0x4211ac
cmp dword [ebx + 0x4c], 0
je 0x4211ac
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.004664fc
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4211c1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4211e8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042176f
jmp 0x4212b7
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x42120a
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x42120c
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x4212ab
jg 0x421229
test esi, esi
je 0x4212ab
test ecx, ecx
jl 0x421276
jg 0x421233
test eax, eax
je 0x421276
cmp ebx, ecx
jg 0x421247
jl 0x42123d
cmp esi, eax
jae 0x421247
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.0045fbc0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x42127d
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x4212ab
jg 0x421287
test esi, esi
je 0x4212ab
cmp dword [edi + 0x4c], 0
je 0x4212ab
mov ecx, edi
call fcn.00421abc
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0046702c
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4214ee
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4b2070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x421514
xor eax, eax
jmp 0x4215d6
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x42153d
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x42153d
dec dword [edx]
mov eax, ebx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x4215d6
cmp dword [esi + 0x4c], 0
je 0x4215d4
mov ecx, esi
call fcn.00421abc
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x421569
push dword [esi + 0x4c]
push eax
call fcn.00420a52
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x4215d4
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x4215d4
cmp eax, 1
jle 0x4215a3
cmp eax, 3
jne 0x4215d4
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x42155b
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x4215c6
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.004664fc
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x4215d4
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, ebx
jne 0x4215d6
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e16b
leave
ret 4

Function at 0x421b0a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4b2070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x421b8c
cmp byte [esi + 0x3d], 0
je 0x421b8c
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x421b5e
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x421b62
sub eax, 1
je 0x421b66
dec eax
sub eax, 1
je 0x421b8c
xor al, al
jmp 0x421b8e
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x421b83
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004664fc
add esp, 0x10
cmp edi, eax
jne 0x421b5e
cmp byte [esi + 0x3d], 0
sete al
jmp 0x421b8e
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045e16b
leave
ret
Function at 0x423272
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
cmp dword [esi], ebx
je 0x42328a
xor eax, eax
jmp 0x423336
lea ecx, [esi + 0x30]
call fcn.004284ba
test eax, eax
jne 0x423333
push ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 1
call fcn.0042843f
pop ecx
test eax, eax
jne 0x423333
push ecx
lea ecx, [esi + 0x18]
call fcn.0042843f
pop ecx
test eax, eax
jne 0x423333
push ecx
lea ecx, [esi + 0x1c]
call fcn.0042843f
pop ecx
test eax, eax
jne 0x423333
push dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x20]
call fcn.00428475
pop ecx
test eax, eax
jne 0x423333
push ebx
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi + 0x24], eax
test eax, eax
jne 0x4232fe
call fcn.0042840d
test eax, eax
jne 0x423333
lea eax, [ebp - 4]
mov dword [esi + 4], 1
push eax
push ebx
push dword [ebp + 8]
push edi
push ebx
push ebx
call fcn.004677e1
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
jne 0x423328
call fcn.0042840d
test eax, eax
jne 0x423333
mov dword [esi], 1
jmp 0x423283
push 0xc
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425a07
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, edx
xor edi, edi
mov ebx, ecx
or esi, 0x100
mov ecx, esi
mov eax, esi
shr ecx, 7
add esi, esi
shr eax, 8
and ecx, 1
neg ecx
sar ecx, 4
and ecx, 0x7f
movzx edx, word [ebx + eax*2]
mov eax, dword [ebp + 8]
shr edx, 4
xor edx, ecx
add edi, dword [eax + edx*4]
cmp esi, 0x10000
jb 0x425a19
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x425a4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x100
mov dword [ebp - 4], ecx
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x425a64
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425b36
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
bts esi, edx
mov ebx, ecx
cmp esi, 1
je 0x425b71
push edi
mov edi, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add eax, dword [edi + ecx*4]
cmp esi, 1
jne 0x425b4e
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x425b75
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor esi, esi
inc edi
test ebx, ebx
je 0x425bbc
mov eax, dword [ebp + 8]
mov edx, eax
movzx ecx, word [ecx + edi*2]
and edx, 1
shr eax, 1
add edi, edi
mov dword [ebp + 8], eax
or edi, edx
mov eax, edx
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
sub ebx, 1
jne 0x425b8a
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x42767c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
push 8
pop edi
mov dword [esi + 0x3bcd4], ecx
lea ebx, [esi + 0x20c]
mov dword [esi + 0x3bcd0], ecx
mov edx, ecx
mov dword [esi + 0x1cc], ecx
mov dword [esi + 0x1e8], ecx
mov dword [esi + 0x1bc], ecx
mov dword [esi + 0x1c8], 0x20
mov dword [esi + 0x1f0], 1
mov dword [esi + 0x1e4], 4
mov dword [esi + 0x1f4], ecx
mov dword [ebp - 8], edi
mov ecx, edx
mov dword [ebp - 4], edi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub edi, 1
jne 0x4276de
mov dword [ebx], ecx
inc edx
add ebx, 4
push 8
pop edi
cmp edx, 0x100
jb 0x4276d9
xor ebx, ebx
lea eax, [esi + 0x19c]
mov dword [esi + 0x118], ebx
lea ecx, [ebp - 0x3c]
mov dword [esi + 0x148], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x198], eax
call fcn.00425611
mov edx, ecx
mov ecx, esi
call fcn.00425742
push 2
pop edi
mov word [esi + 0x306a0], 0x100
mov ebx, edi
mov ecx, ebx
xor edx, edx
sar ecx, 1
inc edx
dec ecx
shl edx, cl
mov dword [ebp - 4], edx
test edx, edx
je 0x4277af
push edx
lea eax, [esi + 0x306a0]
add eax, edi
push ebx
push eax
call fcn.004606c0
add esp, 0xc
add edi, dword [ebp - 4]
inc ebx
cmp ebx, 0x16
jl 0x427788
mov edi, dword [ebp - 8]
push 4
mov ecx, edi
xor edx, edx
pop ebx
imul ecx, ecx
mov eax, 0x10000
add edx, edx
jmp 0x4277ce
shr ecx, 1
inc edx
cmp ecx, eax
jae 0x4277cb
sub ebx, 1
jne 0x4277bf
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [esi + eax*4 + 0x30ea0], ecx
cmp edi, 0x800
jb 0x4277b8
and dword [esi + 0x325ac], ebx
and dword [esi + 0x3bd10], ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4286b8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0xe
pop ecx
mov esi, dword [esi + 0x16]
mov edi, ebx
add esi, dword [eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 1]
call fcn.0041e302
push dword [ebx + 0x10]
mov dword [ebx + 1], eax
push dword [ebx + 0xc]
call fcn.0041e270
push dword [ebx + 0x18]
mov dword [ebx + 0xc], eax
push dword [ebx + 0x14]
mov dword [ebx + 0x10], edx
call fcn.0041e270
push dword [ebx + 0x27]
mov dword [ebx + 0x14], eax
push dword [ebx + 0x23]
mov dword [ebx + 0x18], edx
call fcn.0041e270
push dword [ebx + 0x2f]
mov dword [ebx + 0x23], eax
push dword [ebx + 0x2b]
mov dword [ebx + 0x27], edx
call fcn.0041e270
mov ecx, dword [ebx + 6]
add esp, 0x20
mov dword [ebx + 0x2b], eax
mov dword [ebx + 0x2f], edx
test ecx, ecx
je 0x428738
call fcn.0041e302
mov dword [ebx + 6], eax
mov ecx, dword [ebx + 0x1d]
test ecx, ecx
je 0x428747
call fcn.0041e302
mov dword [ebx + 0x1d], eax
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x428756
call fcn.0041e302
mov dword [ebx + 0x34], eax
mov edi, dword [ebp + 0x10]
push 0
pop eax
mov dword [esp + 0xc], eax
add dword [edi], 0x38
adc dword [edi + 4], eax
cmp byte [ebx], 0xd
jne 0x42876e
mov byte [ebx + 5], al
cmp byte [ebx + 0xa], 0xd
jne 0x428777
mov byte [ebx + 0x1c], al
cmp byte [ebx + 0x21], 0xd
jne 0x428782
mov byte [ebx + 0x33], al
jmp 0x428789
mov al, byte [ebx + 0x33]
mov dword [esp + 0xc], eax
movzx eax, byte [ebx + 0x1c]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0xc]
movzx eax, al
cdq
add esi, eax
mov eax, dword [ebx + 1]
adc ecx, edx
cdq
add esi, eax
mov eax, dword [ebp + 8]
adc ecx, edx
add esi, dword [ebx + 0x14]
adc ecx, dword [ebx + 0x18]
add esi, dword [edi]
adc ecx, dword [edi + 4]
add esi, dword [ebx + 0x2b]
adc ecx, dword [ebx + 0x2f]
cmp dword [eax + 0x1e], ecx
jg 0x4287cb
jl 0x4287c6
cmp dword [eax + 0x1a], esi
jae 0x4287cb
push 0xfffffffffffffff6
pop eax
jmp 0x4287cd
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42f0d3
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov eax, edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push esi
push edi
test eax, eax
je 0x42f1b8
cmp dword [ebp + 0xc], 0
jl 0x42f1b8
mov edi, dword [ebp + 8]
jg 0x42f10b
test edi, edi
je 0x42f1b8
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
push 5
pop edx
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
mov ecx, edi
sub ecx, esi
sbb eax, ebx
mov dword [ebp - 0x18], eax
js 0x42f138
jg 0x42f12f
cmp ecx, 0x10000
jbe 0x42f138
mov eax, 0x10000
mov ecx, esi
jmp 0x42f13e
mov ecx, esi
mov eax, edi
sub eax, ecx
cmp edx, 0x2800
jg 0x42f1a7
push 0
push eax
mov eax, dword [ebp - 0x10]
add eax, ecx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, eax
test ecx, ecx
jg 0x42f17f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x42f19f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 8]
add edx, edx
mov dword [ebp - 8], edx
jmp 0x42f18f
push 5
pop eax
mov dword [ebp - 8], eax
mov eax, ecx
cdq
add esi, eax
adc ebx, edx
mov edx, dword [ebp - 8]
cmp ebx, dword [ebp + 0xc]
jg 0x42f1b2
jl 0x42f117
cmp esi, edi
jae 0x42f1b2
jmp 0x42f117
push 0xfffffffffffffffe
pop eax
or edx, 0xffffffff
jmp 0x42f1bd
push 2
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, esi
mov edx, ebx
jmp 0x42f1bd
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
pop ebx
leave
ret