joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403160
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
mov ecx, 0x662122b4
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x3c0954de
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40164e
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x311cfcc]
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x311cf24]
test esi, esi
je 0x401694
push ebx
xor ebx, ebx
cmp eax, 0x959
jne 0x40167f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, edi
call fcn.004014f2
add edi, 8
dec esi
je 0x401693
mov eax, dword [0x311cfcc]
jmp 0x401667
pop ebx
pop edi
pop esi
ret 4
Function at 0x40d069
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a36c]
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.00404ed5
mov dword [ebp - 0x14], eax
cmp dword [0x823680], esi
jne 0x40d15c
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d0e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d23c
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d23c
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d23c
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x823680], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x823684], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x823688], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x823690], eax
test eax, eax
je 0x40d159
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x82368c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d181
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d174
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d196
push 4
pop eax
jmp 0x40d23e
cmp dword [ebp - 0x14], esi
je 0x40d196
push dword [0x823680]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d17b
mov eax, dword [0x82368c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d1f4
cmp dword [0x823690], edi
je 0x40d1f4
push eax
call ebx
push dword [0x823690]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d1f4
test eax, eax
je 0x40d1f4
call ecx
test eax, eax
je 0x40d1e9
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 0x40d1e9
test byte [ebp - 8], 1
jne 0x40d1f4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d224
mov eax, dword [0x823684]
cmp eax, edi
je 0x40d221
push eax
call ebx
test eax, eax
je 0x40d221
call eax
mov esi, eax
test esi, esi
je 0x40d221
mov eax, dword [0x823688]
cmp eax, edi
je 0x40d221
push eax
call ebx
test eax, eax
je 0x40d221
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x823680]
call ebx
test eax, eax
je 0x40d23c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d23e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040415b
mov esp, ebp
pop ebp
ret
Function at 0x4afb50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f000]
push edi
or ebp, 0xffffffff
jmp 0x4afb72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4afb79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4afb68
mov eax, 1
add ebx, ebx
jne 0x4afb8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4afb9c
jne 0x4afbbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4afbbb
dec eax
add ebx, ebx
jne 0x4afba8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4afb80
add ebx, ebx
jne 0x4afbb7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4afc0d
xor ecx, ecx
sub eax, 3
jb 0x4afbd3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4afc42
sar eax, 1
mov ebp, eax
jmp 0x4afbde
add ebx, ebx
jne 0x4afbde
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4afbac
inc ecx
add ebx, ebx
jne 0x4afbec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4afbac
add ebx, ebx
jne 0x4afbf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4afbee
jne 0x4afc0a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4afbee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4afc2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4afc1e
jmp 0x4afb6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4afc2c
add edi, ecx
jmp 0x4afb6e
pop esi
mov edi, esi
mov ecx, 0x407
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4afc4a
cmp byte [edi], 5
jne 0x4afc4a
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 0x4afc4f
lea edi, [esi + 0xac000]
mov eax, dword [edi]
or eax, eax
je 0x4afcc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xaffd8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb00f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4afc7c
mov ecx, edi
jns 0x4afcab
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 + 0xb00f8]
or eax, eax
je 0x4afcc1
mov dword [ebx], eax
add ebx, 4
jmp 0x4afc99
call dword [esi + 0xb00f4]
mov ebp, dword [esi + 0xb00fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x4afcfb
sub esp, 0xffffff80
jmp 0x412d8d
Function at 0x4073e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461134], 0
jne 0x407420
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4073f6
mov dword [ecx*4 + 0x461130], eax
inc ecx
cmp ecx, 0x100
jl 0x4073f1
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x40744d
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461130]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40742e
not eax
pop ebp
ret 0xc

Function at 0x401fdc
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x15f4
mov edx, dword [ebp - 0x18]
ror edx, 1
add eax, edx
push ebp
push eax
call sub.USER32.dll_EnumWindows
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40121c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x40121c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40120b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x401204
test edi, edi
je 0x401204
push ebx
push eax
push edi
call fcn.004651e0
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [esp + 0x10]
push ebx
mov ecx, esi
call fcn.00401230
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 0xc

Function at 0x401b00
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
mov eax, dword [0x5635bc]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x114]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
push 0x104
mov ebx, ecx
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.00462710
add esp, 0xc
cmp dword [esi + 0x18], 8
lea ebp, [esi + 4]
jb 0x401b4d
mov eax, dword [ebp]
jmp 0x401b4f
mov eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 1
call edi
cmp dword [esi + 0x18], 8
jb 0x401b72
mov ecx, dword [ebp]
jmp 0x401b74
mov ecx, ebp
xor ebp, ebp
push ebp
push ebp
push eax
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
push ecx
push ebp
push 1
call edi
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
push eax
lea edx, [esp + 0x18]
call fcn.00401950
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push ebp
push esi
push 0x4018d0
push ebp
push ebp
mov dword [esp + 0x28], ebp
call fcn.0046b355
add esp, 0x18
cmp eax, ebp
mov dword [esi + 0xc], eax
pop edi
je 0x401be6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401bde
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], ebp
mov eax, dword [ebx + 4]
mov al, byte [eax + 4]
jmp 0x401bec
mov ecx, dword [ebx + 4]
mov al, byte [ecx + 4]
jmp 0x401bec
mov edx, dword [ebx + 4]
mov al, byte [edx + 4]
mov ecx, dword [esp + 0x114]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004626fa
add esp, 0x10c
ret 8
Function at 0x402850
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50fd08
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x5635bc]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push edi
mov eax, dword [0x5635bc]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi], ebx
mov eax, 7
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x10], esi
mov word [esi + 0xc], bx
lea edi, [esi + 0x24]
mov dword [esp + 0x640], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov word [edi + 4], bx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
lea ecx, [esi + 0x5c]
mov byte [esp + 0x640], 2
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x538ce8
mov byte [ecx + 4], bl
call fcn.00401e80
push ebx
mov byte [esp + 0x644], 3
call fcn.00466b1a
push eax
call fcn.004671c3
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.00462710
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x4029b1
push 0x410
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22a], bx
mov word [esp + 0x22c], bx
call fcn.00462710
add esp, 0xc
push 0x208
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x40298e
cmp eax, ebx
je 0x40298e
lea edx, [esp + 0x220]
push edx
mov ecx, edi
mov word [esp + eax*2 + 0x224], bx
call fcn.00403a80
jmp 0x4029b1
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402995
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.004020d0
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x4029e8
lea ebp, [eax - 1]
cmp ebp, dword [edi + 0x14]
jbe 0x4029c5
call fcn.004628fe
cmp dword [edi + 0x18], 8
jb 0x4029d0
mov eax, dword [edi + 4]
jmp 0x4029d3
lea eax, [edi + 4]
cmp word [eax + ebp*2], 0x5c
je 0x4029e8
push 1
push 0x538cec
mov ecx, edi
call fcn.00403f60
cmp dword [esi + 0x38], ebx
jne 0x4029fb
push 3
push 0x538cf0
mov ecx, edi
call fcn.004020d0
mov eax, esi
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.004626fa
add esp, 0x634
ret
Function at 0x402a30
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x50fc61
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
mov eax, dword [0x5635bc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x18], 2
cmp dword [esi + 0x54], ebx
mov ebp, 8
je 0x402a7f
cmp dword [esi + 0x58], ebp
jb 0x402a75
mov eax, dword [esi + 0x44]
jmp 0x402a78
lea eax, [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x74], 0x10
jb 0x402a91
mov eax, dword [esi + 0x60]
push eax
call fcn.004dfe66
add esp, 4
mov dword [esi + 0x74], 0xf
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov byte [esp + 0x18], 1
cmp dword [esi + 0x58], ebp
jb 0x402ab4
mov eax, dword [esi + 0x44]
push eax
call fcn.004dfe66
add esp, 4
mov dword [esi + 0x58], 7
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
mov byte [esp + 0x18], bl
cmp dword [esi + 0x3c], ebp
jb 0x402ad7
mov eax, dword [esi + 0x28]
push eax
call fcn.004dfe66
add esp, 4
mov dword [esi + 0x3c], 7
mov dword [esi + 0x38], ebx
mov word [esi + 0x28], bx
mov dword [esp + 0x18], 0xffffffff
cmp dword [esi + 0x20], ebp
jb 0x402afe
mov eax, dword [esi + 0xc]
push eax
call fcn.004dfe66
add esp, 4
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], ebx
mov word [esi + 0xc], bx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x404200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50fdc1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x5635bc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00402390
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call fcn.00404090
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.00402390
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], 1
jb 0x4042a3
mov edx, dword [esp + 0x14]
push edx
call fcn.004dfe66
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x4042c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x50fdc1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x5635bc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00402390
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], 1
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404320
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00403f60
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.00402390
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], 1
jb 0x404377
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004dfe66
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x404cd0
Capabilities:
Get http content length

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
je 0x404d0f
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x20000005
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x404d0f
mov eax, dword [esp]
xor edx, edx
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret
Function at 0x4050a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4050d3
or eax, 0xffffffff
jmp 0x4051e3
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jne 0x405117
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4051e3
cmp dword [ebp - 0xc], 0
je 0x40512f
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x4051e3
cmp dword [ebp - 0x14], 1
je 0x405146
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4051e3
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
call fcn.004594ac
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00462710
add esp, 0xc
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4051b9
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004dfe66
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x4051e3
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00408d50
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004dfe66
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4095b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00462710
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x214]
add ecx, 0x30
call fcn.00403a80
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x4c
call fcn.00403a80
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret

Function at 0x409cb0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00462710
add esp, 0xc
push 0
push 0x26
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x214]
add ecx, 0x274
call fcn.00403a80
push 0x511e58
mov ecx, dword [ebp - 0x214]
add ecx, 0x274
call fcn.00403ab0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret

Function at 0x409f40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00462710
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401c80
mov eax, dword [ebp - 0x214]
or eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret 4