joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a5270
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.Fox_
lea edi, [esi - 0xa0000]
push edi
jmp 0x4a528a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a5291
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a5280
mov eax, 1
add ebx, ebx
jne 0x4a52a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a52b4
jne 0x4a52d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a52d3
dec eax
add ebx, ebx
jne 0x4a52c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a5298
add ebx, ebx
jne 0x4a52cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a5325
xor ecx, ecx
sub eax, 3
jb 0x4a52eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a535a
sar eax, 1
mov ebp, eax
jmp 0x4a52f6
add ebx, ebx
jne 0x4a52f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a52c4
inc ecx
add ebx, ebx
jne 0x4a5304
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a52c4
add ebx, ebx
jne 0x4a5311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a5306
jne 0x4a5322
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a5306
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a5344
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a5336
jmp 0x4a5286
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a5344
add edi, ecx
jmp 0x4a5286
pop esi
mov edi, esi
mov ecx, 0x234
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a5362
cmp byte [edi], 1
jne 0x4a5362
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 0x4a5367
lea edi, [esi + 0xa3000]
mov eax, dword [edi]
or eax, eax
je 0x4a53df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa9ac4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa9b78]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a5394
mov ecx, edi
jns 0x4a53c3
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 + 0xa9b7c]
or eax, eax
je 0x4a53d9
mov dword [ebx], eax
add ebx, 4
jmp 0x4a53b1
call dword [esi + 0xa9b8c]
mov ebp, dword [esi + 0xa9b80]
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 0x4a5413
sub esp, 0xffffff80
jmp 0x403325
Function at 0xac4940
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb08cb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0xb22014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0xb23074
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00ad7f00
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0xb22a8c
push eax
call fcn.00ad7f00
mov esi, dword [0xb23084]
xor ebx, ebx
mov edi, dword [0xb23088]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0xb262d0], bl
mov eax, ebx
mov ecx, 0xb23074
cmovae ecx, dword [0xb23074]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0xb263e0], al
inc ebx
cmp ebx, 0x100
jl 0xac49c0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0xb262d0]
movzx eax, byte [esi + 0xb263e0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0xac4a14
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0xb262d0]
mov byte [esi + 0xb262d0], al
inc esi
mov byte [edi + 0xb262d0], dl
cmp esi, 0x100
jl 0xac49f0
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00ac4590
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0xac4a69
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xac4a5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xac4abf
push edx
push ecx
call fcn.00add569
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0xac4aab
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xac4aa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xac4abf
push edx
push ecx
call fcn.00add569
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00af6b7a
int3
Function at 0xac7050
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0xb22014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x4c500c3
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0xac7239
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0xac7239
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00af4000
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x4c30314
nop
test eax, eax
je 0xac7239
push 4
push 0x1000
push 4
push 0
call 0x4c40dcb
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x4c3000c
nop
test eax, eax
je 0xac7239
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0xb18d48
push dword [esp + 0x30]
call 0x4c5016d
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0xac715c
push 0xb18d4c
push 0xb18d64
call 0x4c40b08
nop
push eax
call 0x4c300b9
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x4c301ee
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0xac7239
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x4c50000
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0xac71f3
mov dword [esp + 0xc], eax
call fcn.00ac6ea0
push eax
call 0x4c40b02
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x4c50000
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0xac71a2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x4c50000
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x4c30393
nop
push dword [esp + 0x24]
call 0x4c40bb8
nop
push 0x8000
push 0
push esi
call 0x4c40ea0
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00adcef4
mov esp, ebp
pop ebp
ret
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.00466540
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 [0x5655bc]
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.00463a30
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.0046c925
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.00463a1b
add esp, 0x10c
ret 8
Function at 0x4029b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5116c8
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x5655bc]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push edi
mov eax, dword [0x5655bc]
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 0x53ae68
mov byte [ecx + 4], bl
call fcn.00401e80
push ebx
mov byte [esp + 0x644], 3
call fcn.00467ded
push eax
call fcn.004684c5
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.00463a30
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 0x402b11
push 0x410
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22a], bx
mov word [esp + 0x22c], bx
call fcn.00463a30
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 0x402aee
cmp eax, ebx
je 0x402aee
lea edx, [esp + 0x220]
push edx
mov ecx, edi
mov word [esp + eax*2 + 0x224], bx
call fcn.00403bc0
jmp 0x402b11
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402af5
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 0x402b48
lea ebp, [eax - 1]
cmp ebp, dword [edi + 0x14]
jbe 0x402b25
call fcn.00463c1e
cmp dword [edi + 0x18], 8
jb 0x402b30
mov eax, dword [edi + 4]
jmp 0x402b33
lea eax, [edi + 4]
cmp word [eax + ebp*2], 0x5c
je 0x402b48
push 1
push 0x53ae6c
mov ecx, edi
call fcn.004040c0
cmp dword [esi + 0x38], ebx
jne 0x402b5b
push 3
push 0x53ae70
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.00463a1b
add esp, 0x634
ret
Function at 0x402b90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x511621
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
mov eax, dword [0x5655bc]
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 0x402bdf
cmp dword [esi + 0x58], ebp
jb 0x402bd5
mov eax, dword [esi + 0x44]
jmp 0x402bd8
lea eax, [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x74], 0x10
jb 0x402bf1
mov eax, dword [esi + 0x60]
push eax
call fcn.0045a61c
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 0x402c14
mov eax, dword [esi + 0x44]
push eax
call fcn.0045a61c
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 0x402c37
mov eax, dword [esi + 0x28]
push eax
call fcn.0045a61c
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 0x402c5e
mov eax, dword [esi + 0xc]
push eax
call fcn.0045a61c
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 0x404360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x511781
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x5655bc]
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.004023c0
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call fcn.00404250
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.004023c0
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], 1
jb 0x404403
mov edx, dword [esp + 0x14]
push edx
call fcn.0045a61c
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 0x404420
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x511781
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x5655bc]
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.004023c0
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 0x404480
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004040c0
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.004023c0
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], 1
jb 0x4044d7
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0045a61c
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 0x404ac0
Capabilities:
Get http content length

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
je 0x404aff
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 0x404aff
mov eax, dword [esp]
xor edx, edx
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret
Function at 0x405800
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 0x405833
or eax, 0xffffffff
jmp 0x405943
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 0x405877
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x405943
cmp dword [ebp - 0xc], 0
je 0x40588f
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x405943
cmp dword [ebp - 0x14], 1
je 0x4058a6
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x405943
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
call fcn.0045a621
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.00463a30
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 0x405919
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0045a61c
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x405943
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00409460
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0045a61c
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 0x409cc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5655bc]
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.00463a30
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.00403bc0
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x4c
call fcn.00403bc0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5655bc]
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.00463a30
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.00403bc0
push 0x513e5c
mov ecx, dword [ebp - 0x214]
add ecx, 0x274
call fcn.00403bf0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret

Function at 0x40a650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5655bc]
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.00463a30
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.00463a1b
mov esp, ebp
pop ebp
ret 4
Function at 0x40a6e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509e51
mov eax, dword fs:[0]
push eax
mov eax, 0x1344
call fcn.004656d0
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1340], ecx
lea ecx, [ebp - 0x1254]
call fcn.004122a0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x1340]
call fcn.0040a650
mov dword [ebp - 4], 0
push 0x513e68
push 0x513e80
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x1308]
push edx
call fcn.00404420
add esp, 0xc
mov dword [ebp - 0x1344], eax
mov eax, dword [ebp - 0x1344]
mov dword [ebp - 0x1348], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1348]
push ecx
lea edx, [ebp - 0x1324]
push edx
call fcn.00404420
add esp, 0xc
mov dword [ebp - 0x134c], eax
mov eax, dword [ebp - 0x134c]
mov dword [ebp - 0x1350], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1350]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403ba0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1324]
call fcn.00401cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1308]
call fcn.00401cc0
lea ecx, [ebp - 0x2c]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a889
mov dword [ebp - 0x12e8], 0
mov dword [ebp - 0x12ec], 0
push 1
push 0x40
push 0x60
lea ecx, [ebp - 0x2c]
call fcn.00401e70
push eax
lea ecx, [ebp - 0x12e4]
call fcn.0040d160
mov byte [ebp - 4], 3
push 2
push 0
lea ecx, [ebp - 0x12e4]
call fcn.0040cd10
lea edx, [ebp - 0x133c]
push edx
lea ecx, [ebp - 0x12e4]
call fcn.0040cd90
mov ecx, eax
call fcn.0040ce30
mov dword [ebp - 0x12e8], eax
push 0
mov eax, dword [ebp - 0x12e8]
sub eax, 0x1224
push eax
lea ecx, [ebp - 0x12e4]
call fcn.0040cd10
push 0x1224
mov ecx, dword [ebp - 0x1340]
add ecx, 0x2b4
push ecx
lea ecx, [ebp - 0x12e4]
call fcn.0040ccf0
lea ecx, [ebp - 0x12e4]
call fcn.0040d2c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12e4]
call fcn.0040cc40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret