joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42686d
Capabilities:
Get user security identifier

Disassembly:
push 0x30
mov eax, 0x6ceeca
call fcn.00573bfd
mov esi, edx
mov dword [ebp - 0x3c], esi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], 7
push ebx
xor eax, eax
mov dword [ebp - 0x1c], ebx
push 0x80
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
call fcn.00423f0c
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0x80
push eax
push esi
push edi
push ebx
mov dword [ebp - 0x34], 0x44
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
jne 0x426934
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x426932
cmp dword [ebp - 0x34], 0x44
ja 0x426937
mov eax, dword [ebp - 0x30]
cmp eax, 0x80
jbe 0x42690d
lea ecx, [ebp - 0x2c]
cmp eax, dword [ebp - 0x1c]
ja 0x426903
push eax
call fcn.00409bb6
jmp 0x42690d
sub eax, dword [ebp - 0x1c]
push ebx
push eax
call fcn.00409bd3
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
setne bl
lea ecx, [ebp - 0x2c]
call fcn.004023f9
mov al, bl
call fcn.00573ba7
ret

Function at 0x4269a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x7b2e5c]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
push edi
push 8
mov esi, ecx
mov dword [esp + 0x10], 0x10
pop ecx
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4269ea
push 0x14
pop eax
jmp 0x426a21
push ecx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x2c]
call fcn.0042686d
pop ecx
test al, al
jne 0x426a01
push 0x15
jmp 0x4269e7
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
call fcn.00426947
push eax
mov ecx, esi
call fcn.00409b0f
lea ecx, [esp + 0x10]
call fcn.00402475
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.005730d5
mov esp, ebp
pop ebp
ret
Function at 0x4279b6
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x427b53
mov edx, 0x10000000
cmp eax, 0x7c
je 0x427b53
cmp eax, 0x29
jne 0x4279f3
cmp dword [esi + 0x10], 0
jne 0x427b53
cmp eax, eax
jne 0x4279f3
test dword [esi + 0x50], edx
je 0x427b59
cmp eax, 0x2e
jne 0x427a0e
push 5
lea ecx, [esi + 0x24]
call fcn.0041fe93
mov ecx, esi
call fcn.0042798d
jmp 0x427b3d
cmp eax, 0x5c
jne 0x427a63
mov ecx, esi
call fcn.0042798d
test byte [esi + 0x50], 0x80
je 0x427a57
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x427a3f
push 4
lea ecx, [esi + 0x24]
call fcn.0041fe93
mov ecx, esi
call fcn.0042798d
jmp 0x427b44
cmp eax, 0x42
jne 0x427a57
push 4
lea ecx, [esi + 0x24]
call fcn.0041fe93
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x427a33
mov ecx, esi
call fcn.0042811d
jmp 0x427b3d
cmp eax, 0x5b
jne 0x427ac6
mov ecx, esi
call fcn.0042798d
lea ecx, [esi + 0x24]
call fcn.004292f8
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x427a90
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042798d
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x427aae
cmp eax, 0x5d
jne 0x427aae
push eax
lea ecx, [esi + 0x24]
call fcn.0042934a
mov ecx, esi
call fcn.0042798d
mov ecx, esi
call fcn.00429112
cmp dword [esi + 0x4c], 0x5d
je 0x427a02
push 4
jmp 0x427b5b
cmp eax, 0x28
jne 0x427ae3
mov ecx, esi
call fcn.0042798d
mov ecx, esi
call fcn.0042820a
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x427b59
jmp 0x427b32
cmp eax, 0x5e
jne 0x427aef
push 2
jmp 0x427a2b
cmp eax, 0x24
jne 0x427afb
push 3
jmp 0x427a2b
cmp eax, 0x2a
je 0x427b4f
cmp eax, 0x2b
je 0x427b4f
cmp eax, 0x3f
je 0x427b4f
cmp eax, 0x7b
je 0x427b4f
cmp eax, 0x7d
jne 0x427b19
test dword [esi + 0x50], edx
je 0x427b4b
cmp eax, 0x5d
jne 0x427b23
test dword [esi + 0x50], edx
je 0x427abf
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004283e9
mov bl, 1
mov ecx, esi
call fcn.0042798d
test bl, bl
je 0x427b44
mov ecx, esi
call fcn.0042830f
mov cl, 1
jmp 0x4279bd
push 6
jmp 0x427b5b
push 0xa
jmp 0x427b5b
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.0041e4d3
int3
Function at 0x42b5b3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.004508a3
push 0x785ba8
mov edi, dword [eax + 0xc]
movzx eax, si
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x42b66d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x42b66d
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.0068d150
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x42b651
lea ecx, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
and dword [ecx], 0
push ecx
push ebx
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x42b653
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
inc eax
jmp 0x42b66f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43da82
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x43dad5
push esi
push dword [ebp + 8]
call fcn.0043dc68
mov edi, eax
test edi, edi
je 0x43dad0
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43dad0
mov eax, dword [ebp - 8]
jmp 0x43dae7
mov eax, dword [ebp + 0x10]
jmp 0x43dae7
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc

Function at 0x440b69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x440bae
call fcn.004508a3
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x440bae
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x440bca
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044ebf1
mov ebx, eax
test edi, edi
je 0x440bc8
test esi, esi
je 0x440bc8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4415e6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4416a4
cmp dword [esi + 0x20], 0
je 0x4416a4
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4416a4
cmp dword [ebp + 8], 0
je 0x4416a4
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.004508a3
push 0x6e2d70
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x441675
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4416a4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004c0790
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x441695
test edi, edi
je 0x441695
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x4416a0
mov ecx, esi
call fcn.00441388
mov eax, ebx
jmp 0x4416a6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x446045
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x6d0177
call fcn.00573bc9
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x44606b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4460cb
call fcn.00447cb1
push eax
lea ecx, [ebp - 0x10]
call fcn.00403358
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x6e0bc0]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00699f53
push eax
call fcn.0042a30e
add esp, 0x14
test esi, esi
je 0x4460be
push esi
call fcn.006992a0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402cca
mov eax, ebx
call fcn.00573b92
ret 8

Function at 0x446923
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x44694e
cmp dword [ebx + 0x80], 0
jne 0x44694e
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.004508a3
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.00446bdf
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x446988
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004508a3
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4469bf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004469de
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x448f97
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x448fe1
call fcn.004508a3
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x448fde
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x449031
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x44900e
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x6e0bc0]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x44900e
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x44902f
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x6e0bc0]
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x45769f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x4576b9
call fcn.004508a3
mov esi, dword [eax + 0xc]
push 0x785ba8
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x45770f
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45770f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4576ee
xor esi, esi
jmp 0x457704
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00457718
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x457711
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4c21c6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x4c221c
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4c21f5
call fcn.0042f17c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4c220a
call fcn.0042f17c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4c221c
call fcn.0042f17c
call fcn.004508a3
cmp dword [eax + 0x3c], 0
je 0x4c2231
push edi
mov ecx, ebx
call fcn.004c18f6
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004c2403
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4c225a
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4c2266
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4eb6f8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.00445c21
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.004eb911
cmp esi, 3
je 0x4eb736
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x4eb77f
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4eb759
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00440c3e
jmp 0x4eb76a
push 0xff
mov ecx, esi
call fcn.0040331c
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0043dda4
jmp 0x4eb7a3
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4eb7a3
push dword [esi]
push dword [ebp - 4]
call fcn.004519f2
pop edi
pop esi
leave
ret 0xc

Function at 0x4eb868
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004eb911
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4eb8b0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00440c3e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0043dda4
jmp 0x4eb8bb
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004519f2
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x53b05a
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0056e596
call fcn.004508f7
cmp dword [eax + 0x14], 0
jne 0x53b075
mov ecx, esi
pop esi
jmp fcn.0053a385
pop esi
ret

Function at 0x53d22a
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.006a02a3
pop ecx
test eax, eax
jne 0x53d26c
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0040ab12
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x53d232
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret

Function at 0x555a90
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call sym.JiSuSetup.exe_private:_static_void___cdecl_Json::Path::invalidPath_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_
call fcn.004508f7
cmp dword [eax + 0x14], 0
jne 0x555aab
mov ecx, esi
pop esi
jmp fcn.0055530c
pop esi
ret
Function at 0x57ba80
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0057ba90
Function at 0x57e560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x57e585
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x57e59d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [esi + ebp]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x57e5cb
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [edi + eax - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x57e60a
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x57e6de
sub edx, 0x10000
js 0x57e6de
movzx eax, word [esi + ecx - 1]
cmp eax, ebx
jne 0x57e5f0
mov eax, dword [esp + 4]
movzx eax, word [eax + ecx]
cmp eax, dword [esp + 0x10]
jne 0x57e5f0
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [edi + eax + 0x108]
lea esi, [esi + eax + 0x108]
mov eax, dword [esi + edx]
xor eax, dword [edi + edx]
jne 0x57e661
mov eax, dword [esi + edx + 4]
xor eax, dword [edi + edx + 4]
jne 0x57e65e
add edx, 8
jne 0x57e645
jmp 0x57e6cf
add edx, 4
test eax, 0xffff
jne 0x57e66e
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edi + edx]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x57e6cf
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x57e6a2
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x57e5f0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x57e6de
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi + eax - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x57e5f0
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x57e6ef
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x5d9790
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x5d97b7
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x5d97a6
pop edi
movzx eax, dl
pop esi
ret
Function at 0x5fc1e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, 0x400
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, 0x80
mov esi, edx
mov ecx, edi
mov byte [ebp], 0
cmp dword [esp + 0x18], ecx
cmovle ecx, dword [esp + 0x18]
test eax, eax
cmovg esi, eax
cmp esi, edx
cmovg esi, edx
mov dword [esp + 0x14], esi
test ecx, ecx
jle 0x5fc235
mov ebx, dword [esp + 0x1c]
mov edx, ebp
sub ebx, ebp
mov esi, ecx
mov al, byte [ebx + edx]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub esi, 1
jne 0x5fc223
mov esi, dword [esp + 0x14]
movzx ebx, byte [ecx + ebp - 1]
cmp ecx, edi
jge 0x5fc25a
mov edx, ebp
movzx eax, byte [edx]
lea edx, [edx + 1]
add eax, ebx
movzx eax, al
movzx ebx, byte [eax + 0x73f6a8]
mov byte [ecx + ebp], bl
inc ecx
cmp ecx, edi
jl 0x5fc240
mov ecx, dword [esp + 0x14]
lea ebx, [esi + 7]
sar ebx, 3
neg ecx
sub edi, ebx
and ecx, 7
movzx eax, byte [edi + ebp]
lea esi, [edi + ebp]
mov edx, 0xff
sar edx, cl
and edx, eax
movzx ecx, byte [edx + 0x73f6a8]
mov byte [esi], cl
test edi, edi
je 0x5fc2a8
nop dword [eax + eax]
movzx eax, byte [esi + ebx - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x73f6a8]
mov byte [esi], cl
sub edi, 1
jne 0x5fc290
lea esi, [ebp + 0xfc]
mov edi, 0x40
lea edx, [ebp + 0x7e]
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
sub edi, 1
jne 0x5fc2b6
pop edi
pop esi
pop ebp
pop ebx
ret