joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b3b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp dword [esp + 0xc], 0x1f
mov eax, dword [esp + 8]
mov eax, dword [eax]
push ebp
mov ebp, dword [eax + 0x164]
mov dword [esp + 4], eax
jne 0x42b509
push ebx
push esi
push edi
lea ebx, [ebp + 0x1cb0]
lea edi, [ebp + 0x1eb0]
mov dword [edi], ebx
cmp ebx, edi
jae 0x42b3e7
mov byte [ebx], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x42b3f2
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x42b3fd
mov byte [eax], 0x1f
inc dword [edi]
movzx ecx, word [ebp + 0x1ca8]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push ecx
call esi
movzx edx, ax
movzx eax, word [ebp + 0x1caa]
push eax
mov dword [esp + 0x20], edx
call esi
movzx ecx, ax
mov eax, dword [edi]
cmp eax, edi
jae 0x42b42f
mov dl, byte [esp + 0x1c]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x42b43d
mov dl, byte [esp + 0x1d]
mov byte [eax], dl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x42b447
mov byte [eax], cl
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x42b451
mov byte [eax], ch
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x42b45c
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x42b467
mov byte [eax], 0xf0
inc dword [edi]
mov eax, dword [edi]
mov esi, dword [esp + 0x10]
mov ecx, eax
sub ecx, ebx
sub ecx, 2
push ecx
mov dword [ebp + 0x1eb4], eax
lea eax, [ebp + 0x1cb2]
push 0x3e
mov dword [edi], ebx
call fcn.0042a8b0
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 0x1a8]
add esp, 8
push 0
push 3
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push edx
call ebx
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jge 0x42b4c4
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.00415450
add esp, 0xc
lea ecx, [ebp + 0x1cb3]
push ecx
push edi
mov eax, 4
call fcn.0042b130
mov edx, dword [edi + 0x1a8]
add esp, 8
push 0
push 2
add ebp, 0x1cb7
push ebp
push edx
call ebx
test eax, eax
jge 0x42b506
call esi
push eax
mov eax, dword [esp + 0x14]
push str.Sending_data_failed___d_
push eax
call fcn.00415450
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret
Function at 0x42c0c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x46d184]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebx, dword [esi + 0x1ac]
mov ebp, dword [esi]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
or edi, 0xffffffff
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x42c117
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
push ebx
push esi
call fcn.00417e70
add esp, 8
cmp edi, 0xffffffff
jne 0x42c14c
push str.Error_accept__ing_server_connect
push ebp
call fcn.00415450
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x1e
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0044455e
add esp, 0x18
ret
push str.Connection_accepted_from_server_n
push ebp
call fcn.004153c0
push 1
push edi
mov dword [esi + 0x2c0], 0
mov dword [esi + 0x1ac], edi
call fcn.0043b3f0
mov dword [esi + 0x1bc], 1
mov eax, dword [ebp + 0x1e8]
add esp, 0x10
test eax, eax
je 0x42c1b6
mov ecx, dword [ebp + 0x1ec]
push 1
push edi
push ecx
call eax
add esp, 0xc
test eax, eax
je 0x42c1b6
call fcn.0042c020
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0044455e
add esp, 0x18
ret
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044455e
add esp, 0x18
ret
Function at 0x42fb80
Capabilities:
Check http status code

Disassembly:
push ebx
mov ebx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
push ebp
mov ebp, dword [esp + 0xc]
mov eax, edx
shr eax, 0x1f
push esi
add eax, edx
xor esi, esi
push edi
mov edi, dword [ebx]
cmp eax, 2
je 0x42fbba
push str.Couldnt_set_desired_mode
push edi
call fcn.00415450
add esp, 8
pop edi
lea eax, [esi + 0x11]
pop esi
pop ebp
pop ebx
ret
cmp ecx, 0xc8
je 0x42fbd1
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edi
call fcn.004153c0
add esp, 0xc
cmp ebp, 0x13
jne 0x42fbe6
push ebx
call fcn.0042fb00
add esp, 4
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x14
jne 0x42fbf7
call fcn.0042cc20
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x15
jne 0x42fc10
push 0xd
push 1
push ebx
call fcn.0042ede0
add esp, 0xc
pop edi
mov esi, eax
pop esi
pop ebp
pop ebx
ret
cmp ebp, 0x16
jne 0x42fc24
push 0xe
push 1
push ebx
call fcn.0042ede0
add esp, 0xc
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x4371a0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x46d184]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.00446fc5
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x437205
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x437205
lea edx, [esp]
push edx
call dword [0x46d00c]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0044455e
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.0044455e
add esp, 0x108
ret
jmp 0x4371a0

Function at 0x437220
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x46d184]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.00446fc5
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x437205
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x437205
lea edx, [esp]
push edx
call dword [0x46d00c]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0044455e
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.0044455e
add esp, 0x108
ret
jmp 0x4371a0
Function at 0x43d900
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ebp, dword [esi + 0x34]
mov ebx, dword [ebp]
push edi
mov edi, dword [ebx + 0x224]
test edi, edi
jne 0x43d91e
mov edi, dword [esi + 0x30]
lea eax, [esp + 0x10]
push eax
call fcn.00414d60
lea ecx, [esi + 0x20]
mov esi, dword [ecx]
sub esp, 0xc
mov edx, esp
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00414da0
mov ecx, eax
mov eax, edx
mov dword [esp + 0x44], eax
mov eax, edi
cdq
add esp, 0x20
mov edi, eax
sub edi, ecx
mov ecx, dword [esp + 0x24]
mov esi, edx
sbb esi, ecx
cmp dword [ebx + 0x218], 0
je 0x43d9f0
lea edx, [esp + 0x10]
push edx
call fcn.00414d60
lea ecx, [ebp + 0x188]
mov ebp, dword [ecx]
sub esp, 0xc
mov edx, esp
mov dword [edx], ebp
mov ebp, dword [ecx + 4]
mov dword [edx + 4], ebp
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ecx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00414da0
mov ecx, eax
mov eax, dword [ebx + 0x218]
mov ebp, edx
cdq
add esp, 0x20
sub eax, ecx
sbb edx, ebp
cmp esi, edx
jl 0x43d9f0
jg 0x43d9f4
cmp edi, eax
jae 0x43d9f4
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x43ed30
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x43ed62
push 0x2e
push esi
call fcn.00446a30
add esp, 8
test eax, eax
je 0x43ed60
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret
Function at 0x43ee40
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x24
mov eax, dword [0x46d184]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [esp + 0x30]
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x43eeea
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea esi, [esp + 0x20]
mov eax, ebp
mov byte [esp + 0x14], 8
mov byte [esp + 0x15], 2
mov dword [esp + 0x18], 0x6601
mov dword [esp + 0x1c], 8
call fcn.0043edb0
mov ecx, esi
push 8
push ecx
call fcn.004432e0
mov ecx, dword [esp + 0x10]
add esp, 8
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x14
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
pop esi
test eax, eax
jne 0x43eefc
mov edx, dword [esp + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044455e
add esp, 0x24
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
push edi
push 0
push 0
mov dword [edi + 4], edx
mov edx, dword [esp + 0x20]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [esp + 4]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x24]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0044455e
add esp, 0x24
ret
Function at 0x43f050
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov eax, ebp
push edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f060
sub eax, edx
mov edi, eax
je 0x43f079
lea eax, [edi + edi]
push eax
call dword [section..data]
jmp 0x43f084
push 0x468eca
call dword [0x46d00c]
mov esi, eax
add esp, 4
test esi, esi
jne 0x43f097
pop edi
lea eax, [esi + 0x1b]
pop esi
pop ebp
add esp, 0xc
ret
xor eax, eax
test edi, edi
jbe 0x43f0b0
lea ecx, [ecx]
mov cl, byte [eax + ebp]
mov byte [esi + eax*2], cl
mov byte [esi + eax*2 + 1], 0
inc eax
cmp eax, edi
jb 0x43f0a0
push 0xf0000000
push 1
push 0
push 0
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x43f132
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x8002
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x43f125
mov eax, dword [esp + 0xc]
push 0
lea edx, [edi + edi]
push edx
push esi
push eax
mov dword [esp + 0x24], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x18]
push ecx
push ebp
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov dword [ebp + 0x10], eax
push esi
mov byte [ebp + 0x14], al
call dword [0x46d004]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
Function at 0x443e50
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x443e75
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x443ebc
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x443ec0
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
jbe 0x443f1e
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
sub ebp, 1
jne 0x443ee3
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x443f61
lea esp, [esp]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x466fda
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x466fdb
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x443f30
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x44455e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46d184]
jne 0x444568
repz ret
jmp fcn.0044b5d7
Function at 0x4559da
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044caaa
and dword [ebp - 4], 0
cmp dword [0x46f55c], 0
mov ebx, eax
jne 0x455a8b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x455b3c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x455b3c
push eax
call fcn.0044ca38
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46f55c], eax
call esi
push eax
call fcn.0044ca38
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46f560], eax
call esi
push eax
call fcn.0044ca38
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46f564], eax
call esi
push eax
call fcn.0044ca38
pop ecx
mov dword [0x46f56c], eax
test eax, eax
je 0x455a8b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044ca38
pop ecx
mov dword [0x46f568], eax
mov eax, dword [0x46f568]
cmp eax, ebx
je 0x455ae3
cmp dword [0x46f56c], ebx
je 0x455ae3
push eax
call fcn.0044cab3
push dword [0x46f56c]
mov esi, eax
call fcn.0044cab3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x455ae3
test edi, edi
je 0x455ae3
call esi
test eax, eax
je 0x455ada
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x455ada
test byte [ebp - 0xc], 1
jne 0x455ae3
or dword [ebp + 0x10], 0x200000
jmp 0x455b1c
mov eax, dword [0x46f560]
cmp eax, ebx
je 0x455b1c
push eax
call fcn.0044cab3
pop ecx
test eax, eax
je 0x455b1c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x455b1c
mov eax, dword [0x46f564]
cmp eax, ebx
je 0x455b1c
push eax
call fcn.0044cab3
pop ecx
test eax, eax
je 0x455b1c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46f55c]
call fcn.0044cab3
pop ecx
test eax, eax
je 0x455b3c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x455b3e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45a758
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x45a789
call fcn.00446b43
mov dword [eax], esi
call fcn.00446b30
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00445136
add esp, 0x14
push 0x16
pop eax
jmp 0x45a7de
test dword [ebp + 0xc], 0xfffffff9
jne 0x45a765
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45a7b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00446b56
pop ecx
call fcn.00446b30
mov eax, dword [eax]
jmp 0x45a7de
test al, 0x10
jne 0x45a7dc
test al, 1
je 0x45a7dc
test byte [ebp + 0xc], 2
je 0x45a7dc
call fcn.00446b43
mov dword [eax], 5
call fcn.00446b30
mov dword [eax], 0xd
jmp 0x45a7ad
xor eax, eax
pop esi
pop ebp
ret
Function at 0x405f41
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdd4], 0
push esi
jne 0x405f78
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f52
mov dword [ecx*4 + 0x42bdd0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f4d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405fa9
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42bdd0]
xor eax, esi
inc ecx
dec edx
jne 0x405f8b
pop edi
not eax
pop esi
ret 0xc

Function at 0x434940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
jmp 0x43495a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x434961
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x434950
mov eax, 1
add ebx, ebx
jne 0x434973
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x434968
jne 0x434984
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x434968
xor ecx, ecx
sub eax, 3
jb 0x434998
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x434a0a
mov ebp, eax
add ebx, ebx
jne 0x4349a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4349b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4349d4
inc ecx
add ebx, ebx
jne 0x4349c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4349b5
jne 0x4349d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4349b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4349f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4349e5
jmp 0x434956
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4349f4
add edi, ecx
jmp 0x434956
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x434a12
cmp byte [edi], 0x12
jne 0x434a12
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x434a17
lea edi, [esi + 0x32000]
mov eax, dword [edi]
or eax, eax
je 0x434a8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x43e74]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x43f54]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x434a44
mov ecx, edi
jns 0x434a73
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x43f5c]
or eax, eax
je 0x434a89
mov dword [ebx], eax
add ebx, 4
jmp 0x434a61
call dword [esi + 0x43f58]
mov ebp, dword [esi + 0x43f60]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x434ac3
sub esp, 0xffffff80
jmp 0x41942f
Function at 0x420b5b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b9a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b9a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b9a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b9a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b9a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401000
Capabilities:
Query environment variable
Query or enumerate registry value
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0x800
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareData_Access_WorldwideDataFlex19.0Defaults
push 0x80000002
call dword cs:[sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4010b1
lea eax, [ebp - 8]
push eax
push 0x8a70c9
push 0
push 0
push str.VdfRootDir
push dword [ebp - 4]
call dword cs:[sym.imp.advapi32.dll_RegQueryValueExA]
push eax
push dword [ebp - 4]
call dword cs:[sym.imp.advapi32.dll_RegCloseKey]
pop eax
test eax, eax
jne 0x4010b1
push str.Bin_
push 0x8a70c9
call dword cs:[sym.imp.msvcrt.dll_strcat]
add esp, 8
push 0x8a70c9
call dword cs:[sym.imp.msvcrt.dll_strlen]
add esp, 4
mov dword [ebp - 8], eax
push ecx
push 0x800
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x8a70c9]
push eax
push str.PATH
call dword cs:[sym.imp.kernel32.dll_GetEnvironmentVariableA]
pop ecx
push 0x8a70c9
push str.PATH
call dword cs:[sym.imp.kernel32.dll_SetEnvironmentVariableA]
push str.vdfvm19.dll
call dword cs:[sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4010fd
push str._FlexRunProgramEx_4
push dword [ebp - 0xc]
call dword cs:[sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4010e3
push str.VPEDemo__08_24_2020_11:51:20__c__STARZEN_TECHNOLOGIES__INC.
call dword cs:[ebp - 0x10]
push dword [ebp - 0xc]
call dword cs:[sym.imp.kernel32.dll_FreeLibrary]
test dword [ebp - 0x10], 0xffffffff
je 0x4010fd
mov eax, 0
jmp 0x401114
push 0x10
push 0
push str.Unable_to_locate_a_compatible_version_of_vdfvm19.dll__version_19.0__or_one_of_its_components.
push 0
call dword cs:[sym.imp.user32.dll_MessageBoxA]
mov eax, 1
push eax
call dword cs:[sym.imp.msvcrt.dll_exit]
mov esp, ebp
pop ebp
ret 0x10