joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417cd7
Capabilities:
Create process on windows

Disassembly:
push 0x54
mov eax, 0x6c6fdf
call fcn.005635a8
push 0x7791fc
mov ecx, str.Utils::StartPrcess
xor ebx, ebx
push ecx
push str.INFO:
push 0xd2
mov dword [ebp - 4], ebx
mov eax, 0x7bcdec
cmp dword [0x7bce00], 0x10
push ecx
cmovae eax, dword [0x7bcdec]
push str.e:hongzhenqiancode03_jisubrowser_yindao_codeqinghouinstallerutils_system_system.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 1
call fcn.004175fc
push 0x44
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.00686080
xor eax, eax
mov dword [ebp - 0x60], 0x44
lea edi, [ebp - 0x1c]
add esp, 0x30
stosd dword es:[edi], eax
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae ecx, dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp + 8]
call fcn.00402470
mov al, 1
call fcn.00563571
ret
Function at 0x417d73
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c7005
mov eax, dword fs:[0]
push eax
mov eax, 0x8074
call fcn.00563780
mov eax, dword [0x7aae5c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
cmp dword [0x7bce00], 0x10
mov ecx, str.Utils::ExecutExeAtNewProcess
push 0x7791fc
push ecx
push str.INFO:
push 0x134
push ecx
mov eax, 0x7bcdec
cmovae eax, dword [0x7bcdec]
push str.e:hongzhenqiancode03_jisubrowser_yindao_codeqinghouinstallerutils_system_system.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 1
call fcn.004175fc
or dword [ebp - 0x802c], 0xffffffff
lea eax, [ebp - 0x8080]
push 0x44
pop edi
push edi
push 0
push eax
call fcn.00686080
mov dword [ebp - 0x8080], edi
xor eax, eax
lea edi, [ebp - 0x803c]
stosd dword es:[edi], eax
push 0x7fff
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x8010]
xor edi, edi
push edi
push eax
call fcn.00686080
add esp, 0x3c
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x417e30
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x8010]
push 0x77d5e8
push eax
call fcn.00419505
xor ecx, ecx
lea eax, [ebp - 0x8010]
add esp, 0xc
cmp dword [ebx + 0x10], edi
cmove eax, ecx
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x417e5d
mov ecx, dword [esi]
lea edx, [ebp - 0x803c]
push edx
lea edx, [ebp - 0x8080]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x417f0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x8028]
call fcn.0040223b
push 0x10
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x14], ecx
jb 0x417ea1
mov eax, dword [eax]
cmp dword [ebx + 0x14], ecx
jb 0x417ea8
mov ebx, dword [ebx]
cmp dword [esi + 0x14], ecx
jb 0x417eaf
mov esi, dword [esi]
cmp dword [0x7bce00], ecx
mov ecx, 0x7bcdec
push 0x7791fc
cmovae ecx, dword [0x7bcdec]
push eax
push 0x77b778
push ebx
push str._strArgv:
push esi
push str.CreateProcessA_failed__strExe:
push str.ERROR:
push 0x14e
push str.Utils::ExecutExeAtNewProcess
push str.e:hongzhenqiancode03_jisubrowser_yindao_codeqinghouinstallerutils_system_system.cpp
push ecx
push str.MYSD_ErrMsg_JiSu
push 2
call fcn.004175fc
add esp, 0x38
lea ecx, [ebp - 0x8028]
call fcn.00402470
or eax, 0xffffffff
jmp 0x417f49
push 0xffffffffffffffff
push dword [ebp - 0x803c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x802c]
push eax
push dword [ebp - 0x803c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x803c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x8038]
call esi
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00562ab4
leave
ret
Function at 0x417f63
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x7bce00], 0x10
mov eax, 0x7bcdec
push ebx
cmovae eax, dword [0x7bcdec]
push esi
push edi
push 0x7791fc
mov dword [ebp - 8], ecx
mov esi, edx
mov ecx, str.Utils::QueryValue
push ecx
push str.INFO:
push 0x161
push ecx
push str.e:hongzhenqiancode03_jisubrowser_yindao_codeqinghouinstallerutils_system_system.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 1
call fcn.004175fc
mov eax, dword [ebp - 8]
xor ebx, ebx
add esp, 0x24
mov dword [ebp - 4], ebx
mov edi, ebx
cmp dword [eax + 0x10], ebx
je 0x4180b6
cmp dword [esi + 0x10], ebx
je 0x4180b6
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x417fd5
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4180b6
push 0x7023a8
push eax
call fcn.0056331d
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4180bd
cmp dword [esi + 0x14], 0x10
jb 0x41800a
mov esi, dword [esi]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x4180a1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push str.VarFileInfoTranslation
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x4180a1
mov eax, dword [ebp - 0x14]
push 0x7023a8
push 0x80
movzx esi, word [eax]
movzx eax, word [eax + 2]
shl esi, 0x10
or esi, eax
call fcn.0056331d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4180a1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0x10
jb 0x418069
mov eax, dword [eax]
push eax
push esi
push str.StringFileInfo_08lx_s
push 0x80
push edi
call fcn.0040a7a5
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x41809d
push dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
call fcn.00402496
mov byte [ebp - 4], 1
push ebx
call fcn.0041e184
pop ecx
test edi, edi
je 0x4180b3
push edi
call fcn.0041e184
pop ecx
mov ebx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
xor ebx, ebx
jmp 0x4180b6
Function at 0x4181a1
Capabilities:
Create directory

Disassembly:
push 0x64
mov eax, 0x6c6455
call fcn.005635dc
push 0xf
xor ebx, ebx
pop eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x40], bl
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004094a9
push ecx
push 2
push ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.0041007c
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.004094d1
lea ecx, [ebp - 0x58]
call fcn.00402470
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push 3
push eax
lea ecx, [ebp - 0x58]
call fcn.0041007c
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004094d1
lea ecx, [ebp - 0x58]
call fcn.00402470
push ebx
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.0040ead7
push ecx
mov esi, eax
lea ecx, [ebp - 0x70]
push esi
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.0041007c
push 0x5c
push 1
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00410cd9
push eax
lea ecx, [ebp - 0x58]
call fcn.00402324
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x40]
call fcn.00402303
lea ecx, [ebp - 0x58]
call fcn.00402470
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00402470
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ebx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0068f7c8
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x4182a3
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0068f835
pop ecx
push ecx
push dword [ebp - 0x18]
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041007c
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.004094d1
lea ecx, [ebp - 0x70]
call fcn.00402470
test esi, esi
jns 0x41821e
lea ecx, [ebp - 0x40]
call fcn.00402470
lea ecx, [ebp - 0x28]
call fcn.00402470
call fcn.00563586
ret

Function at 0x418357
Capabilities:
Delete file
Move file

Disassembly:
cmp dword [ecx + 0x10], 0x104
jb 0x418363
xor al, al
ret
cmp dword [ecx + 0x14], 0x10
jb 0x41836b
mov ecx, dword [ecx]
push 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
setne al
ret
Function at 0x41915a
Capabilities:
Get user security identifier

Disassembly:
push 0x30
mov eax, 0x6c7174
call fcn.005635dc
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.00417c0e
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 0x419221
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41921f
cmp dword [ebp - 0x34], 0x44
ja 0x419224
mov eax, dword [ebp - 0x30]
cmp eax, 0x80
jbe 0x4191fa
lea ecx, [ebp - 0x2c]
cmp eax, dword [ebp - 0x1c]
ja 0x4191f0
push eax
call fcn.00409578
jmp 0x4191fa
sub eax, dword [ebp - 0x1c]
push ebx
push eax
call fcn.00409595
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.004023f4
mov al, bl
call fcn.00563586
ret

Function at 0x41928d
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x7aae5c]
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 0x4192d7
push 0x14
pop eax
jmp 0x41930e
push ecx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x2c]
call fcn.0041915a
pop ecx
test al, al
jne 0x4192ee
push 0x15
jmp 0x4192d4
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
call fcn.00419234
push eax
mov ecx, esi
call fcn.004094d1
lea ecx, [esp + 0x10]
call fcn.00402470
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.00562ab4
mov esp, ebp
pop ebp
ret
Function at 0x41af95
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.00440266
push 0x77e320
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 0x41b04f
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 0x41b04f
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.00685b00
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 0x41b033
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 0x41b035
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 0x41b051
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42d444
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 0x42d497
push esi
push dword [ebp + 8]
call fcn.0042d62a
mov edi, eax
test edi, edi
je 0x42d492
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 0x42d492
mov eax, dword [ebp - 8]
jmp 0x42d4a9
mov eax, dword [ebp + 0x10]
jmp 0x42d4a9
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 0x43052e
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 0x430573
call fcn.00440266
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x430573
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x43058f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043e5b3
mov ebx, eax
test edi, edi
je 0x43058d
test esi, esi
je 0x43058d
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x430fab
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 0x431069
cmp dword [esi + 0x20], 0
je 0x431069
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431069
cmp dword [ebp + 8], 0
je 0x431069
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00440266
push 0x6dbd68
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 0x43103a
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 0x431069
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.004b016b
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x43105a
test edi, edi
je 0x43105a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x431065
mov ecx, esi
call fcn.00430d4d
mov eax, ebx
jmp 0x43106b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x435a09
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x6c8287
call fcn.005635a8
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x435a2f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x435a8f
call fcn.00437676
push eax
lea ecx, [ebp - 0x10]
call fcn.00403468
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 [0x6d9bbc]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00692203
push eax
call fcn.00419cf0
add esp, 0x14
test esi, esi
je 0x435a82
push esi
call fcn.00691550
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402dcf
mov eax, ebx
call fcn.00563571
ret 8

Function at 0x4362e7
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 0x436312
cmp dword [ebx + 0x80], 0
jne 0x436312
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00440266
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.004365a3
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 0x43634c
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.00440266
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 0x436383
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.004363a2
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 0x438959
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 0x4389a3
call fcn.00440266
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4389a0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4389f3
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 0x4389d0
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x6d9bbc]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x4389d0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x4389f1
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x6d9bbc]
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x447062
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 0x44707c
call fcn.00440266
mov esi, dword [eax + 0xc]
push 0x77e320
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4470d2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4470d2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4470b1
xor esi, esi
jmp 0x4470c7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004470db
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x4470d4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4b1ba1
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 0x4b1bf7
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4b1bd0
call fcn.0041eb38
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4b1be5
call fcn.0041eb38
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4b1bf7
call fcn.0041eb38
call fcn.00440266
cmp dword [eax + 0x3c], 0
je 0x4b1c0c
push edi
mov ecx, ebx
call fcn.004b12d1
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004b1dde
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4b1c35
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4b1c41
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 0x4db0d2
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.004355e6
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.004db2eb
cmp esi, 3
je 0x4db110
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x4db159
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4db133
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00430603
jmp 0x4db144
push 0xff
mov ecx, esi
call fcn.0040342c
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0042d766
jmp 0x4db17d
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 0x4db17d
push dword [esi]
push dword [ebp - 4]
call fcn.004413b5
pop edi
pop esi
leave
ret 0xc

Function at 0x4db242
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.004db2eb
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4db28a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00430603
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0042d766
jmp 0x4db295
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004413b5
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x52aa3d
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0055df75
call fcn.004402ba
cmp dword [eax + 0x14], 0
jne 0x52aa58
mov ecx, esi
pop esi
jmp fcn.00529d68
pop esi
ret

Function at 0x52cc0c
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.00698551
pop ecx
test eax, eax
jne 0x52cc4e
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.0040a7a5
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x52cc14
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 0x54546c
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call sym.JiSuSetup.exe_public_virtual:_void___thiscall_Json::CharReader::destructor_void_
call fcn.004402ba
cmp dword [eax + 0x14], 0
jne 0x545487
mov ecx, esi
pop esi
jmp fcn.00544ce8
pop esi
ret

Function at 0x56a720
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056a730