joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4038e0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x43298f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov dword [esp + 0x14], 0
mov eax, dword [0x4423ec]
mov dword [esp + 0x20], 1
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea ecx, [esp + 4]
mov byte [esp + 0x20], 3
call fcn.00429256
mov ecx, dword [esp + 0x2c]
xor esi, esi
mov eax, dword [ecx - 8]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x4039a0
push edi
mov al, byte [ecx + esi*2]
mov cl, byte [ecx + esi*2 + 1]
mov byte [esp + 0x10], al
mov byte [esp + 0x14], cl
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
and eax, 0xff
and ecx, 0xff
push 0x442214
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
lea edi, [ecx + eax*2 - 0x6db]
lea ecx, [esp + 0x10]
call fcn.00429454
push edi
push 0
lea ecx, [esp + 0x14]
call fcn.0042971e
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.0042966f
mov ecx, dword [esp + 0x30]
inc esi
mov eax, dword [ecx - 8]
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jl 0x403937
pop edi
lea eax, [esp + 4]
lea ecx, [esp + 0x2c]
push eax
call fcn.00429404
mov edx, dword [esp + 0x2c]
xor esi, esi
mov eax, dword [edx - 8]
test eax, eax
jle 0x403a03
push ebx
mov ebx, dword [esp + 0x34]
mov dl, byte [esi + edx]
xor ecx, ecx
mov cl, bh
xor cl, dl
push ecx
push esi
lea ecx, [esp + 0x10]
call fcn.0042971e
mov edx, dword [esp + 0x30]
movzx ax, byte [esi + edx]
add eax, ebx
mov ebx, 0x58bf
lea ecx, [eax + eax*2]
shl ecx, 4
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*8]
lea eax, [eax + ecx*2]
sub ebx, eax
mov eax, dword [edx - 8]
inc esi
cmp esi, eax
jl 0x4039c0
pop ebx
mov esi, dword [esp + 0x28]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00429040
mov dword [esp + 0x14], 1
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call fcn.004292cb
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.004292cb
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.004292cb
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x403a60
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Get common file path
Get program files directory

Disassembly:
sub esp, 0x12c
mov eax, dword [esp + 0x130]
push ebx
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
push 0
push 0
lea ecx, [esp + 0x14]
push eax
mov bl, 0x65
push ecx
push 0
mov byte [esp + 0x20], 0x6f
mov byte [esp + 0x21], 0x70
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x24], 0
call ebp
cmp eax, 5
je 0x403ac1
cmp eax, 2
je 0x403ac1
cmp eax, 3
je 0x403ac1
cmp eax, 0xb
je 0x403ac1
cmp eax, 0x1b
je 0x403ac1
cmp eax, 0x1f
jne 0x403bb2
mov dl, 0x6c
push esi
push edi
mov cl, 0x74
mov byte [esp + 0x25], dl
mov byte [esp + 0x2f], dl
push 0
lea edx, [esp + 0x3c]
mov byte [esp + 0x1f], cl
mov byte [esp + 0x24], cl
push 0x26
mov al, 0x72
mov cl, 0x78
push edx
push 0
mov byte [esp + 0x28], 0x5c
mov byte [esp + 0x29], 0x49
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0x6e
mov byte [esp + 0x2f], bl
mov byte [esp + 0x31], 0x20
mov byte [esp + 0x32], 0x45
mov byte [esp + 0x33], cl
mov byte [esp + 0x34], 0x70
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], al
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], al
mov byte [esp + 0x3a], 0x5c
mov byte [esp + 0x3b], 0x69
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3e], 0x70
mov byte [esp + 0x40], 0x6f
mov byte [esp + 0x41], al
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], 0x2e
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], cl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
mov eax, dword [esp + 0x148]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
call ebp
pop edi
pop esi
lea ecx, [esp + 0x138]
call fcn.004292cb
pop ebp
pop ebx
add esp, 0x12c
ret 4

Function at 0x4043d0
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435948
push 0x413170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x432cd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push esi
push edi
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00401450
mov dword [esp + 0x14], 1
call fcn.0042f320
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
lea edx, [esp + 0x28]
push edi
push edx
lea ecx, [esp + 0x2c]
call fcn.00402100
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0x18], 2
call fcn.00429040
mov dword [esp + 8], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 1
call fcn.004292cb
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 0
call fcn.00401480
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x406d10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov al, 0x75
mov cl, 0x6f
mov byte [esp + 0x1f], al
mov byte [esp + 0x23], al
mov al, 0x6e
push ebx
mov byte [esp + 0x28], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x26], cl
mov byte [esp + 0x2d], cl
lea eax, [esp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [esp + 0x24]
mov dl, 0x69
xor bl, bl
push eax
push ecx
mov byte [esp + 0x2c], 0x54
mov byte [esp + 0x2d], 0x58
mov byte [esp + 0x2e], 0x47
mov byte [esp + 0x30], dl
mov byte [esp + 0x31], 0x46
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x36], 0x61
mov byte [esp + 0x37], 0x74
mov byte [esp + 0x38], dl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x14], 0x51
mov byte [esp + 0x15], 0x51
mov byte [esp + 0x16], bl
call esi
test eax, eax
je 0x406dc6
lea edx, [esp + 0x10]
push 4
push edx
mov ecx, 0x446e20
call fcn.00423e7d
mov eax, dword [eax]
push eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
lea ecx, [esp + 0x10]
setne byte [esp + 0xb]
call fcn.004292cb
cmp byte [esp + 0xb], bl
je 0x406dc6
pop esi
mov eax, 1
pop ebx
add esp, 0x2c
ret
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0x1c], 0x54
mov byte [esp + 0x1d], 0x4d
mov byte [esp + 0x1e], 0x32
mov byte [esp + 0x1f], 0x30
mov byte [esp + 0x20], 0x31
mov byte [esp + 0x21], 0x33
mov byte [esp + 0x22], bl
call esi
test eax, eax
je 0x406e70
lea eax, [esp + 0x10]
push 4
push eax
mov ecx, 0x446e20
call fcn.00423e7d
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push eax
push ecx
call esi
test eax, eax
lea ecx, [esp + 0x10]
setne byte [esp + 0xb]
call fcn.004292cb
cmp byte [esp + 0xb], bl
je 0x406e34
pop esi
mov eax, 2
pop ebx
add esp, 0x2c
ret
lea edx, [esp + 0x10]
push 0xa
push edx
mov ecx, 0x446e20
call fcn.00423e7d
mov eax, dword [eax]
push eax
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
lea ecx, [esp + 0x10]
setne byte [esp + 0xb]
call fcn.004292cb
cmp byte [esp + 0xb], bl
je 0x406e70
pop esi
mov eax, 3
pop ebx
add esp, 0x2c
ret
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0x24], 0x51
mov byte [esp + 0x25], 0x51
mov byte [esp + 0x26], 0x32
mov byte [esp + 0x27], 0x30
mov byte [esp + 0x28], 0x31
mov byte [esp + 0x29], 0x33
mov byte [esp + 0x2a], bl
call esi
test eax, eax
je 0x406ede
lea eax, [esp + 0x10]
push 4
push eax
mov ecx, 0x446e20
call fcn.00423e7d
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push eax
push ecx
call esi
test eax, eax
lea ecx, [esp + 0x10]
setne byte [esp + 0xb]
call fcn.004292cb
cmp byte [esp + 0xb], bl
je 0x406ede
pop esi
mov eax, 4
pop ebx
add esp, 0x2c
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x2c
ret
Function at 0x406ef0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
mov ecx, dword [eax - 8]
push esi
xor esi, esi
test ecx, ecx
jle 0x406f59
push ebx
mov ebx, dword [sym.imp.USER32.dll_VkKeyScanA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
mov al, byte [esi + eax]
push 0
mov byte [esp + 0x14], al
push 0
mov ecx, dword [esp + 0x18]
push 0
push ecx
call ebx
push eax
call edi
mov edx, dword [esp + 0x1c]
push 0
push 2
push 0
mov al, byte [esi + edx]
mov byte [esp + 0x20], al
mov ecx, dword [esp + 0x20]
push ecx
call ebx
push eax
call edi
push 0x32
call ebp
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, dword [eax - 8]
jl 0x406f16
pop edi
pop ebp
pop ebx
lea ecx, [esp + 0x10]
call fcn.004292cb
pop esi
add esp, 8
ret
Function at 0x422d10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00413670
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x422ddb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x422ddb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x422d8e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x422d99
or bh, 8
and edi, 0x8000000
je 0x422db4
mov eax, dword [0x44bb1c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x422ddb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4231b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4231db
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4231ff
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42321a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4233d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00414ec7
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4233f5
test byte [esp + 8], 2
je 0x4233f5
call fcn.00414f3a
mov dword [eax], 0xd
call fcn.00414f43
mov dword [eax], 5
jmp 0x4233ce
xor eax, eax
ret
Function at 0x426a95
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x426acd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004296fe
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004296d6
jmp 0x426ad9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x426add
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x449840
mov ecx, edi
call fcn.00429454
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x426b30
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x426b43
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004296fe
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004296d6
jmp 0x426b43
mov ecx, esi
call fcn.004287df
test eax, eax
je 0x426b43
push edi
mov ecx, eax
call fcn.00426a95
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x4280e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x428123
call fcn.0042f320
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x428123
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42811a
xor eax, eax
jmp 0x42812b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00428131
pop edi
pop esi
pop ebx
ret 4

Function at 0x42de2c
Capabilities:
Create http request

Disassembly:
mov eax, 0x433500
call fcn.00413848
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], 0x4369a4
jne 0x42de64
call fcn.0042f320
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x42de89
push eax
push dword [esi + 4]
call fcn.0042ea6c
jmp 0x42de95
push esi
push eax
mov ecx, 0x449980
call fcn.0042dea6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x42e157
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x43355f
call fcn.00413848
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0042ac49
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4423ec]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], 0x4369bc
call fcn.00429454
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00429454
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x44bb10
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x462100]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.00401300
mov byte [esp + 0x34], 1
cmp dword [esp + 0x20], 0
mov esi, 8
je 0x401090
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x24], esi
jae 0x401060
lea ebx, [esp + 0x10]
call fcn.00402910
test eax, eax
je 0x401090
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], esi
jae 0x401077
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x3c]
push 1
push 0
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401095
call fcn.00401520
cmp dword [esp + 0x24], esi
jb 0x4010a8
mov edx, dword [esp + 0x10]
push edx
call fcn.004331e0
add esp, 4
xor eax, eax
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x3c]
lea ecx, [eax - 0xc]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
cmp ecx, dword [0x463830]
je 0x4010ec
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4010ec
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.00433555
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004331eb
add esp, 0x2c
ret
Function at 0x401110
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x44bacb
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.00447e90
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x103c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462100]
xor eax, esp
push eax
lea eax, [esp + 0x1054]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1064]
mov ebx, edx
lea esi, [esp + 0x34]
mov edi, ecx
mov dword [esp + 0x14], ebx
call fcn.00401300
mov dword [esp + 0x105c], 0
cmp dword [esp + 0x48], 0
je 0x401237
cmp dword [esp + 0x4c], 8
mov ebx, dword [esp + 0x38]
jae 0x40118c
lea ebx, [esp + 0x38]
call fcn.00402910
test eax, eax
je 0x401233
xor eax, eax
push 0xffe
push eax
lea ecx, [esp + 0x5a]
push ecx
mov word [esp + 0x5c], ax
call fcn.00434ac0
mov edx, dword [esp + 0x1074]
push edx
mov edx, ebp
mov ecx, edi
lea esi, [esp + 0x28]
call fcn.004013e0
mov esi, 8
add esp, 0x10
cmp dword [eax + 0x18], esi
jb 0x4011d7
mov eax, dword [eax + 4]
jmp 0x4011da
add eax, 4
push eax
push 0x45a524
push str._from:_s__gtype:3__apppath:__s___size:normal
mov ecx, 0x800
lea ebx, [esp + 0x5c]
call fcn.00402710
add esp, 0xc
cmp dword [esp + 0x30], esi
jb 0x401209
mov eax, dword [esp + 0x1c]
push eax
call fcn.004331e0
add esp, 4
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], esi
jae 0x401217
lea eax, [esp + 0x38]
push 1
push 0
lea ecx, [esp + 0x58]
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4012b8
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x106c], 0
je 0x4012b3
test ebx, ebx
je 0x40129c
push 0x800
call fcn.0042040b
add esp, 4
mov esi, 0x400
mov ecx, eax
sub edi, eax
jmp 0x401260
lea edx, [esi + 0x7ffffbfe]
test edx, edx
je 0x401280
movzx edx, word [edi + ecx]
test dx, dx
je 0x401280
mov word [ecx], dx
add ecx, 2
sub esi, 1
jne 0x401260
jmp 0x401284
test esi, esi
jne 0x401287
sub ecx, 2
push eax
xor edx, edx
push edx
push 0x569
push ebx
mov word [ecx], dx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4012b8
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edi
call fcn.004026a0
call fcn.004085d0
add esp, 4
jmp 0x4012b8
call fcn.00401520
cmp dword [esp + 0x4c], 8
jb 0x4012cc
mov eax, dword [esp + 0x38]
push eax
call fcn.004331e0
add esp, 4
mov ecx, dword [esp + 0x1054]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x103c]
xor ecx, esp
call fcn.004331eb
add esp, 0x104c
ret
Function at 0x401300
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x214], eax
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0xc], 0
call fcn.00434ac0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Game.exe
push SysReAllocStringLen
mov dword [esp + 0x1c], 0x104
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 8], 0
je 0x40139b
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40139b
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00401760
mov eax, esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004331eb
add esp, 0x218
ret
xor eax, eax
push eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push 0x457c84
mov ecx, esi
mov word [esi + 4], ax
call fcn.004017d0
mov ecx, dword [esp + 0x214]
xor ecx, esp
mov eax, esi
call fcn.004331eb
add esp, 0x218
ret

Function at 0x4013e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x628
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push edi
xor eax, eax
push 0x208
mov edi, ecx
push eax
lea ecx, [esp + 0x222]
push ecx
mov ebx, edx
mov dword [esp + 0x14], 0
mov word [esp + 0x224], ax
call fcn.00434ac0
add esp, 0xc
lea edx, [esp + 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.00434ac0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0
push 0x457c84
lea eax, [esp + 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [esp + 0xc]
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x457af0
push str.main
call edi
lea edx, [esp + 0xc]
push edx
push ebx
push str.title
push str.main
call edi
mov eax, dword [esp + 0x634]
push eax
push 0x457c88
mov ecx, 0x104
lea ebx, [esp + 0x42c]
call fcn.00402710
add esp, 8
lea ecx, [esp + 0xc]
push ecx
mov edx, ebx
push edx
push str.iconid
push str.main
call edi
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
lea eax, [esp + 0xc]
pop edi
lea edx, [eax + 2]
pop ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4014e5
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004017d0
mov ecx, dword [esp + 0x624]
xor ecx, esp
mov eax, esi
call fcn.004331eb
add esp, 0x628
ret