joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cf40
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x480484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0045cca4
mov dword [ebp - 0x14], eax
cmp dword [0xa79c50], esi
jne 0x46d033
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x46cfc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46d113
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x46d113
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46d113
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa79c50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa79c54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa79c58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa79c60], eax
test eax, eax
je 0x46d030
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa79c5c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46d058
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46d04b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46d06d
push 4
pop eax
jmp 0x46d115
cmp dword [ebp - 0x14], esi
je 0x46d06d
push dword [0xa79c50]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46d052
mov eax, dword [0xa79c5c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x46d0cb
cmp dword [0xa79c60], edi
je 0x46d0cb
push eax
call ebx
push dword [0xa79c60]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46d0cb
test eax, eax
je 0x46d0cb
call ecx
test eax, eax
je 0x46d0c0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x46d0c0
test byte [ebp - 8], 1
jne 0x46d0cb
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x46d0fb
mov eax, dword [0xa79c54]
cmp eax, edi
je 0x46d0f8
push eax
call ebx
test eax, eax
je 0x46d0f8
call eax
mov esi, eax
test esi, esi
je 0x46d0f8
mov eax, dword [0xa79c58]
cmp eax, edi
je 0x46d0f8
push eax
call ebx
test eax, eax
je 0x46d0f8
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa79c50]
call ebx
test eax, eax
je 0x46d113
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x46d115
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045c14b
mov esp, ebp
pop ebp
ret
Function at 0x10001030
Capabilities:
Encode data using xor
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc1c
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 8], ecx
push edi
mov byte [ebp - 0x81c], 0
cmp dword [ebx], esi
jbe 0x10001089
lea edi, [ebx + 4]
lea eax, [ebp - 0x81c]
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001060
sub eax, edx
lea ecx, [ebp - 0x81c]
push edi
add eax, ecx
push str.__s__
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
inc esi
add esp, 0xc
add edi, 0x40
cmp esi, dword [ebx]
jb 0x10001052
lea ecx, [ebp - 0x81c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001092
sub ecx, edx
mov byte [ebp + ecx - 0x81d], al
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0xc1c]
push str._licenses_:__s___rent_to_own_:
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
lea ecx, [ebp - 0xc1c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100010c7
sub ecx, edx
mov dword [ebp - 4], 0x3fc
mov eax, ecx
mov byte [ebp - 0x419], cl
shr eax, 0x18
lea edx, [ebp - 4]
mov byte [ebp - 0x41c], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x41b], al
mov eax, ecx
shr eax, 8
push ecx
mov byte [ebp - 0x41a], al
lea eax, [ebp - 0xc1c]
push ecx
push eax
lea ecx, [ebp - 0x418]
call fcn.10001560
mov esi, dword [ebp - 4]
lea eax, [ebp + 8]
push 0
push 0
push 0
push dword [0x1000b004]
add esi, 4
push dword [0x1000b008]
push eax
push dword [section..data]
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
push 0
push esi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp + 8]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
push 0
push 0x14
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
push dword [ebp + 8]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov ebx, dword [ebp - 8]
movups xmm0, xmmword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
push esi
movups xmmword [ebx + 3], xmm0
mov dword [ebx + 0x13], eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebx + 0x17]
mov word [ebx], 0x503
push eax
mov byte [ebx + 2], 0
call sub.msvcrt.dll_memcpy
lea edi, [esi + 0x17]
add esp, 0xc
lea esi, [edi - 2]
xor al, al
xor edx, edx
test esi, esi
je 0x100011c6
mov cl, byte [ebx + edx + 2]
xor cl, al
mov eax, edx
and eax, 7
mov byte [ebx + edx + 2], cl
mov al, byte [eax + 0x1000b018]
xor al, cl
mov byte [ebx + edx + 2], al
inc edx
cmp edx, esi
jb 0x100011a6
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100011d0
Capabilities:
Get common file path
Hash data via bcrypt
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4694
call fcn.10001000
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [ebp - 0x10c]
push esi
push edi
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
push str.com.imaginando._s.
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x4694], 1
push eax
lea eax, [ebp - 0x4690]
push str._sdesktop_license
push eax
call ebx
mov al, byte [edi]
add esp, 0xc
test al, al
je 0x1000129c
mov ecx, dword [ebp - 0x4694]
lea ebx, [ebp - 0x4690]
shl ecx, 6
add ebx, ecx
xor ecx, ecx
cmp al, 0x20
je 0x10001260
nop dword [eax + eax]
inc esi
mov byte [ebp + ecx - 0x18c], al
inc ecx
mov al, byte [edi + esi]
cmp al, 0x20
jne 0x10001250
lea eax, [ebp - 0x18c]
mov byte [ebp + ecx - 0x18c], 0
push eax
lea eax, [ebp - 0x10c]
inc esi
push eax
push str._s_s
push ebx
call dword [sym.imp.msvcrt.dll_sprintf]
mov al, byte [esi + edi]
add esp, 0x10
inc dword [ebp - 0x4694]
add ebx, 0x40
test al, al
jne 0x10001245
mov ebx, dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [ebp - 0x4694]
push eax
lea ecx, [ebp - 0x690]
call fcn.10001030
add esp, 4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x290]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push str._s_License
push eax
call ebx
add esp, 0xc
lea eax, [ebp + 0xc]
push 0
push 0
push 0
push dword [0x1000b010]
push dword [0x1000b014]
push eax
push dword [0x1000b00c]
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001300
push 0
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
push 0
push 0x20
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
push dword [ebp + 0xc]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov byte [ebp - 0x8c], 0x2e
lea edi, [ebp - 0x8b]
xor esi, esi
movzx eax, byte [ebp + esi - 0x44]
push eax
push str._02x
push edi
call ebx
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x20
jb 0x10001342
lea ecx, [ebp - 0x290]
mov byte [ebp + esi*2 - 0x8b], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001370
lea eax, [ebp - 0x8c]
sub ecx, edx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x290]
add eax, ecx
push str.Imaginando_s_s
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
lea eax, [ebp - 0x290]
push 0x100070f4
push eax
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
lea eax, [ebp - 0x690]
push esi
push 1
push dword [ebp - 4]
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
push esi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100013e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x2c
push esi
push edi
cmp eax, 1
jne 0x10001515
lea eax, [ebp + 0xc]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftCryptography_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push str.MachineGuid
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [ebp - 0x28]
movzx ecx, byte [ebp - 0x2c]
add ecx, eax
mov dword [0x1000b01c], 0
movzx eax, byte [ebp - 0x2b]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x27]
add ecx, eax
movzx eax, byte [ebp - 0x2a]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x26]
add ecx, eax
movzx eax, byte [ebp - 0x29]
push 0
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x25]
push 0
push str.SHA1
add ecx, eax
push section..data
mov dword [0x1000b018], ecx
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
mov edi, dword [sym.imp.bcrypt.dll_BCryptGetProperty]
lea eax, [ebp + 0xc]
push 0
push eax
push 4
push 0x1000b004
push str.ObjectLength
push dword [section..data]
call edi
push dword [0x1000b004]
mov esi, dword [sym.imp.msvcrt.dll_malloc]
call esi
add esp, 4
mov dword [0x1000b008], eax
push 0
push 0
push str.SHA256
push 0x1000b00c
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
push 0
lea eax, [ebp + 0xc]
push eax
push 4
push 0x1000b010
push str.ObjectLength
push dword [0x1000b00c]
call edi
push dword [0x1000b010]
call esi
add esp, 4
mov dword [0x1000b014], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
jne 0x1000154e
mov edi, dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push eax
push dword [section..data]
call edi
push dword [0x1000b008]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
add esp, 4
push 0
push dword [0x1000b00c]
call edi
push dword [0x1000b014]
call esi
add esp, 4
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10001b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x10001d46
cmp dword [esi + 0x20], 0
je 0x10001d46
cmp dword [esi + 0x24], 0
je 0x10001d46
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10001d46
cmp dword [eax], esi
jne 0x10001d46
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x10001bd3
cmp eax, 0x39
je 0x10001bd3
cmp eax, 0x45
je 0x10001bd3
cmp eax, 0x49
je 0x10001bd3
cmp eax, 0x5b
je 0x10001bd3
cmp eax, 0x67
je 0x10001bd3
cmp eax, 0x71
je 0x10001bd3
cmp eax, 0x29a
jne 0x10001d46
push edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
test ecx, ecx
jns 0x10001c0c
neg ecx
mov dword [edi + 0x18], ecx
cmp ecx, 2
mov eax, 0x2a
mov edx, 0x39
cmove eax, edx
mov dword [edi + 4], eax
push 0
jne 0x10001c2e
xor edx, edx
xor ecx, ecx
call fcn.10005d00
jmp 0x10001c37
xor edx, edx
xor ecx, ecx
call fcn.10005a80
mov dword [esi + 0x30], eax
mov ecx, edi
lea eax, [edi + 0x94]
mov dword [edi + 0x28], 0xfffffffe
mov dword [edi + 0xb18], eax
lea eax, [edi + 0x988]
mov dword [edi + 0xb24], eax
lea eax, [edi + 0xa7c]
mov dword [edi + 0xb30], eax
xor eax, eax
mov dword [edi + 0xb20], 0x1000770c
mov dword [edi + 0xb2c], 0x10007c30
mov dword [edi + 0xb38], 0x10007720
mov word [edi + 0x16b8], ax
mov dword [edi + 0x16bc], eax
call fcn.100040d0
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0x84]
add esp, 0xc
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x1000716a]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x10007168]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x1000716c]
mov dword [esi + 0x90], eax
movzx eax, word [ecx*4 + 0x1000716e]
mov dword [esi + 0x7c], eax
xor eax, eax
pop edi
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret
Function at 0x404197
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422010]
jne 0x4041a1
repz ret
jmp fcn.0040552e

Function at 0x4073f4
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4227d0]
je 0x40740f
inc edi
cmp edi, 0x17
jb 0x407400
cmp edi, 0x17
jae 0x40758f
push ebp
push 3
call fcn.0040a545
cmp eax, 1
pop ecx
je 0x40755b
push 3
call fcn.0040a545
test eax, eax
pop ecx
jne 0x407443
cmp dword [0x422004], 1
je 0x40755b
cmp ebx, 0xfc
je 0x40758e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x426888
push ebp
call fcn.00409a19
add esp, 0xc
test eax, eax
je 0x407479
push esi
push esi
push esi
push esi
push esi
call fcn.004090ce
add esp, 0x14
push 0x104
mov esi, 0x4268a1
push esi
push 0
mov byte [0x4269a5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4074bd
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00409a19
add esp, 0xc
test eax, eax
je 0x4074bd
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004090ce
add esp, 0x14
push esi
call fcn.00404700
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x407502
push esi
call fcn.00404700
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x426b9c
push 0x41a9ac
sub ecx, eax
push ecx
push eax
call fcn.00409966
add esp, 0x14
test eax, eax
je 0x407502
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004090ce
add esp, 0x14
jmp 0x407504
xor esi, esi
push 0x41a9a8
push ebx
push ebp
call fcn.004098ae
add esp, 0xc
test eax, eax
je 0x407524
push esi
push esi
push esi
push esi
push esi
call fcn.004090ce
add esp, 0x14
push dword [edi*8 + 0x4227d4]
push ebx
push ebp
call fcn.004098ae
add esp, 0xc
test eax, eax
je 0x407546
push esi
push esi
push esi
push esi
push esi
call fcn.004090ce
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040a388
add esp, 0xc
jmp 0x40758e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40758e
cmp ebp, 0xffffffff
je 0x40758e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4227d4]
push dword [esi]
call fcn.00404700
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40a388
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040624d
xor ebx, ebx
cmp dword [0x426f54], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40a45e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40a53e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40a53e
push eax
call fcn.004061df
mov dword [esp], 0x41b39c
push edi
mov dword [0x426f54], eax
call esi
push eax
call fcn.004061df
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x426f58], eax
call esi
push eax
call fcn.004061df
mov dword [0x426f5c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00407181
test eax, eax
pop ecx
pop ecx
je 0x40a42c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004090ce
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40a45e
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004061df
cmp eax, ebx
pop ecx
mov dword [0x426f64], eax
je 0x40a45e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004061df
pop ecx
mov dword [0x426f60], eax
mov eax, dword [0x426f60]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40a4e3
cmp dword [0x426f64], ecx
je 0x40a4e3
push eax
call fcn.00406256
push dword [0x426f64]
mov esi, eax
call fcn.00406256
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40a4e3
cmp edi, ebx
je 0x40a4e3
call esi
cmp eax, ebx
je 0x40a4b0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a4b0
test byte [ebp - 0x18], 1
jne 0x40a4e3
lea eax, [ebp - 0x10]
push eax
call fcn.004071b8
test eax, eax
pop ecx
je 0x40a4cb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004090ce
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40a4da
or dword [ebp + 0x10], 0x200000
jmp 0x40a51e
or dword [ebp + 0x10], 0x40000
jmp 0x40a51e
mov eax, dword [0x426f58]
cmp eax, dword [ebp - 8]
je 0x40a51e
push eax
call fcn.00406256
cmp eax, ebx
pop ecx
je 0x40a51e
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40a51e
mov eax, dword [0x426f5c]
cmp eax, dword [ebp - 8]
je 0x40a51e
push eax
call fcn.00406256
cmp eax, ebx
pop ecx
je 0x40a51e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x426f54]
call fcn.00406256
cmp eax, ebx
pop ecx
je 0x40a53e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a540
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414c90
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x414ca7
mov eax, 0xfffffff8
jmp 0x414ce2
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0x21
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x414ccd
mov eax, 1
jmp 0x414ce2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x414cdf
mov eax, 0x321
jmp 0x414ce2
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 8

Function at 0x414cf0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x414d07
mov eax, 0xfffffff8
jmp 0x414d42
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x414d2d
mov eax, 1
jmp 0x414d42
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x414d3f
mov eax, 0x321
jmp 0x414d42
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 8

Function at 0x414ee0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
jne 0x414ef9
mov eax, 0xfffffff8
jmp 0x414f39
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x414f1f
mov eax, 1
jmp 0x414f39
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x2efe
jne 0x414f36
or eax, 0xffffffff
jmp 0x414f39
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 0xc

Function at 0x414f40
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x422010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xc], 0
jne 0x414f6c
mov eax, 0xfffffff8
jmp 0x414fbb
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x54], 0
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0
push 5
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x414fa5
or eax, 0xffffffff
jmp 0x414fbb
lea ecx, [ebp - 0x48]
push ecx
call fcn.00404181
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404197
mov esp, ebp
pop ebp
ret 4
Function at 0x415010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0x80000001
push str.HKLM_
mov eax, dword [ebp + 8]
push eax
call fcn.0040b4dd
add esp, 8
test eax, eax
je 0x415045
mov ecx, dword [ebp + 8]
add ecx, 0xa
mov dword [ebp + 8], ecx
mov dword [ebp - 0x14], 0x80000002
lea edx, [ebp - 8]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x415067
mov eax, dword [ebp + 0x10]
jmp 0x4150ae
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4150a1
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4150c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 1
mov eax, dword [ebp + 0x10]
mov word [eax], 0
mov dword [ebp - 0x14], 0x80000001
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x415100
xor eax, eax
jmp 0x415141
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], ecx
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x415134
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x415150
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x422010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x838], ecx
mov eax, dword [ebp - 0x838]
cmp dword [eax + 0xc], 0
jne 0x415179
xor eax, eax
jmp 0x4151f0
mov dword [ebp - 0x830], 0x820
mov dword [ebp - 0x834], 0
lea ecx, [ebp - 0x834]
push ecx
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0x828]
push eax
push str.Link64_WebWebWeb
push 0xffff
mov ecx, dword [ebp - 0x838]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x82c], 0
jne 0x4151cf
xor eax, eax
jmp 0x4151f0
push 0x41e730
lea eax, [ebp - 0x828]
push eax
call fcn.004039d0
add esp, 8
test eax, eax
jne 0x4151eb
xor eax, eax
jmp 0x4151f0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404197
mov esp, ebp
pop ebp
ret