joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002354b
Capabilities:
Read .ini file

Disassembly:
push 0xd5c
mov eax, 0x100e913c
call fcn.10077460
mov edi, 0x104
push edi
xor ebx, ebx
lea eax, [ebp - 0x114]
push ebx
push eax
mov dword [ebp - 0xd68], ecx
call fcn.10077be0
mov esi, 0x206
push esi
lea eax, [ebp - 0x72a]
push ebx
push eax
mov word [ebp - 0x72c], bx
call fcn.10077be0
add esp, 0x18
lea ecx, [ebp - 0xd64]
call fcn.1001cd28
lea eax, [ebp - 0x72c]
push eax
lea ecx, [ebp - 0xd64]
mov dword [ebp - 4], ebx
call fcn.1001e1a5
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x72c]
push eax
call fcn.100195d0
mov ebx, dword [ebp - 0xd68]
pop ecx
pop ecx
lea eax, [ebp - 0x114]
add ebx, 4
push eax
mov ecx, ebx
call fcn.1001b0b4
and word [ebp - 0x31c], 0
push esi
lea eax, [ebp - 0x31a]
push 0
push eax
call fcn.10077be0
and word [ebp - 0x524], 0
push esi
lea eax, [ebp - 0x522]
push 0
push eax
call fcn.10077be0
add esp, 0x18
push str.WanNengWBInfo.ini
call fcn.100058ef
mov ecx, eax
call fcn.10017bf1
push eax
lea eax, [ebp - 0x31c]
push 0x100f2d4c
push eax
call fcn.100054f5
add esp, 0x10
lea eax, [ebp - 0x31c]
push eax
push edi
lea eax, [ebp - 0x524]
push eax
push 0x1011e03c
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, 0x100f6d78
push edi
mov ecx, ebx
call fcn.1001b0b4
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.100195d0
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.1001b0b4
push str._tShuRuFa
mov ecx, ebx
call fcn.1001b0b4
push 0x100f6e0c
mov ecx, ebx
call fcn.1001b0b4
and word [ebp - 0xb3c], 0
push esi
lea eax, [ebp - 0xb3a]
push 0
push eax
call fcn.10077be0
push 0x100f4d24
push 0x100f4d2c
lea eax, [ebp - 0xb3c]
push str._s._s
push eax
call fcn.100054f5
add esp, 0x1c
push edi
mov ecx, ebx
call fcn.1001b0b4
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0xb3c]
push eax
call fcn.100195d0
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.1001b0b4
and word [ebp - 0x934], 0
push esi
lea eax, [ebp - 0x932]
push 0
push eax
call fcn.10077be0
add esp, 0xc
call fcn.100058ef
mov ecx, eax
call fcn.10017c21
push eax
push 0x104
lea eax, [ebp - 0x934]
push eax
push 0x1011e03c
push str.UserID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
mov ecx, ebx
call fcn.1001b0b4
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x934]
push eax
call fcn.100195d0
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.1001b0b4
push edi
mov ecx, ebx
call fcn.1001b0b4
lea eax, [ebp - 0xb58]
push eax
call fcn.1001b53f
pop ecx
cmp dword [ebp - 0xb40], 8
mov eax, dword [ebp - 0xb54]
mov byte [ebp - 4], 1
jae 0x100237a2
lea eax, [ebp - 0xb54]
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.100195d0
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.1001b0b4
push 0
push 1
lea ecx, [ebp - 0xb58]
call fcn.10001fc0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd64]
call sym.Plugin.dll_CleanUpPluginSystemManager
call fcn.100774e3
ret
Function at 0x100249b0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
jne 0x100249c0
xor eax, eax
jmp 0x100249e9
push ebx
mov ebx, dword [esp + 0x10]
push dword [ebx]
push edi
push 1
push dword [esp + 0x20]
call fcn.1007dcbe
add esp, 0x10
cmp eax, edi
mov dword [esi], eax
jne 0x100249e0
xor eax, eax
jmp 0x100249e8
push dword [ebx]
call fcn.1007da32
pop ecx
pop ebx
pop edi
pop esi
ret

Function at 0x100249ec
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
jne 0x100249fc
xor eax, eax
jmp 0x10024a25
push ebx
mov ebx, dword [esp + 0x10]
push dword [ebx]
push edi
push 1
push dword [esp + 0x20]
call fcn.10077f4b
add esp, 0x10
cmp eax, edi
mov dword [esi], eax
jne 0x10024a1c
xor eax, eax
jmp 0x10024a24
push dword [ebx]
call fcn.1007da32
pop ecx
pop ebx
pop edi
pop esi
ret
Function at 0x10024f56
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x10024f6f
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + ecx - 4]
mov dword [ebp - 4], ecx
lea esi, [eax + edi]
jmp 0x10024f92
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x10024f97
inc esi
cmp esi, dword [ebp - 4]
jb 0x10024f89
mov eax, esi
sub eax, edi
cmp esi, dword [ebp - 4]
mov dword [ebp - 8], eax
jae 0x1002508c
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x10024feb
xor edx, edx
mov cl, byte [esi + 4]
test cl, cl
mov dword [ebp + 0xc], eax
je 0x10024fc2
cmp cl, 0xff
jne 0x10025016
xor ebx, ebx
mov bh, cl
movzx ecx, byte [esi + 2]
mov bl, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
cmp dword [ebp + 0x18], 0
je 0x10025024
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x1002502b
dec ecx
shl edx, cl
and edx, 7
je 0x10024fb3
movzx ecx, byte [edx + 0x100f6f00]
mov ebx, esi
sub ebx, ecx
cmp byte [edx + 0x100f6ef8], 0
mov cl, byte [ebx + 4]
je 0x10025013
test cl, cl
je 0x10025013
cmp cl, 0xff
jne 0x10024fb3
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x10024f84
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x1002505f
movzx edi, byte [edx + 0x100f6f00]
push 0x18
shl edi, 3
pop ecx
sub ecx, edi
mov eax, ebx
shr eax, cl
test al, al
je 0x1002504a
cmp al, 0xff
jne 0x1002505c
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, edi
xor edi, edi
inc edi
shl edi, cl
dec edi
xor edi, ebx
jmp 0x10024fdd
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 1], bl
add eax, 5
jmp 0x10024f84
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

Function at 0x10028677
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x1002867f
mov dword [ecx*4 + 0x1013ce60], eax
inc ecx
cmp ecx, 0x100
jl 0x1002867a
mov edx, 0x800
jmp 0x100286cc
mov eax, dword [ecx*4 + 0x1013ca60]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x1013ce60]
inc ecx
mov dword [ecx*4 + 0x1013ce5c], eax
cmp ecx, edx
jb 0x100286ab
mov dword [0x1013ee60], 0x10025239
call fcn.100251a6
test eax, eax
pop esi
jne 0x100286ee
mov dword [0x1013ee60], 0x100252cf
ret
Function at 0x10029825
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
push str.DownloadApp_begin
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edi, edi
cmp byte [ebp + 0x10], 0
je 0x10029863
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
call fcn.1007e1c6
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, dword [ebp - 0x20]
pop ecx
pop ecx
mov eax, 0x100f703c
jne 0x10029868
mov eax, 0x100f7038
push eax
push dword [ebp + 0xc]
lea ebx, [esi + 0x10]
push ebx
call fcn.1007d9e2
add esp, 0xc
test eax, eax
je 0x10029883
push 2
jmp 0x10029952
push dword [esi + 4]
call fcn.100b80a0
push dword [ebp + 8]
push 0x2712
push dword [esi + 4]
call fcn.100b7f30
push 0
push 0x2c
push dword [esi + 4]
call fcn.100b7f30
push 0x10029741
push 0x4e2b
push dword [esi + 4]
call fcn.100b7f30
push esi
push 0x2711
push dword [esi + 4]
call fcn.100b7f30
push edi
push 0x15
push dword [esi + 4]
call fcn.100b7f30
add esp, 0x40
push 0
push 0x2b
push dword [esi + 4]
call fcn.100b7f30
push 0x10029788
push 0x4e58
push dword [esi + 4]
call fcn.100b7f30
push esi
push 0x2749
push dword [esi + 4]
call fcn.100b7f30
and dword [esi + 0x1c], 0
and dword [esi + 0x20], 0
mov byte [esi + 8], 1
mov dword [esi + 0xc], edi
call fcn.1007e0d4
push dword [esi + 4]
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], 0
call fcn.100b7f60
push dword [ebx]
mov esi, eax
call fcn.10077db5
and dword [ebx], 0
add esp, 0x2c
test esi, esi
jne 0x1002993b
xor eax, eax
jmp 0x10029953
cmp esi, 0x2a
jne 0x10029945
xor eax, eax
inc eax
jmp 0x10029953
push str.DownloadApp_end
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 3
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1002b3eb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x18]
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebx + 0x368], eax
mov dword [ebx + 0x36c], esi
je 0x1002b424
push dword [ebp + 0x10]
lea ecx, [ebx + 0x38]
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x34], eax
lea eax, [ebx + 0x10]
push eax
mov ecx, 0x10137b90
call fcn.1002b3b6
mov ecx, dword [ebx + 0x368]
cmp ecx, esi
jne 0x1002b447
mov eax, dword [ebx + 0x28]
jmp 0x1002b454
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const]
lea ecx, [ebp - 0x10]
mov dword [ebp + 0x10], eax
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_]
push esi
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x88
push SysReAllocString
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp + 0x10]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x1002b493
push edi
call esi
mov edi, eax
push edi
call esi
test eax, eax
jne 0x1002b48e
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x1002c776
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.10055642
mov esi, dword [eax + 8]
push 0x100f47c4
push str.PreviewSkinBK.png
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1002c806
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebx
push eax
call fcn.1007a170
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
push dword [ebp - 4]
call fcn.1002c710
test eax, eax
pop ecx
pop ecx
pop ebx
je 0x1002c806
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x12c], eax
pop edi
pop esi
leave
ret
Function at 0x1002e1b8
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0xc18
lea ebp, [esp - 4]
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0xc18], eax
push 0x48
mov eax, 0x100e967a
call fcn.100773f7
mov esi, ecx
mov dword [ebp - 0x14], esi
add esi, 0x120
push esi
lea ecx, [ebp]
call fcn.10003c90
xor edi, edi
mov ebx, 0x206
push ebx
lea eax, [ebp + 0xa12]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp + 0xa10], di
call fcn.10077be0
push ebx
lea eax, [ebp + 0x80a]
push edi
push eax
mov word [ebp + 0x808], di
call fcn.10077be0
add esp, 0x18
lea eax, [ebp + 0xa10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [esi + 0x18], 8
jb 0x1002e244
mov esi, dword [esi + 4]
jmp 0x1002e247
add esi, 4
lea eax, [ebp + 0x808]
push eax
push esi
call fcn.10019d63
pop ecx
pop ecx
lea eax, [ebp + 0xa10]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10001df0
lea eax, [ebp + 0x808]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 1
call fcn.10003cf0
lea ecx, [ebp - 0x1c]
call fcn.10001bc0
lea eax, [ebp + 0xa10]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.10001df0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 3
jae 0x1002e2a3
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x54]
call fcn.10001df0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.10001c60
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x54]
movzx ebx, al
call fcn.10001fc0
push edi
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.10001fc0
cmp ebx, edi
je 0x1002e390
mov eax, dword [ebp - 0x14]
push 0x7ce
mov dword [eax + 0x11c], esi
lea eax, [ebp + 0x3a]
push edi
push eax
mov word [ebp + 0x38], di
call fcn.10077be0
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp dword [ebp + 0x34], 8
jae 0x1002e311
lea eax, [ebp + 0x20]
push eax
push str.WnSkinInst.exe
call fcn.100058ef
mov ecx, eax
call fcn.10017bf1
push eax
lea eax, [ebp + 0x38]
push str._s_s__untie__s
push eax
call fcn.100054f5
lea eax, [ebp + 0x38]
push eax
call fcn.10019b10
add esp, 0x18
call fcn.100058ef
mov ecx, eax
call fcn.10017c2f
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
mov ebx, 0x100f2490
push ebx
push str.IsModifyUIStyle64
mov edi, str.SetModify
push edi
mov dword [ebp - 0x10], eax
call esi
push dword [ebp - 0x10]
push ebx
push str.IsModifyUIStyle
push edi
call esi
push dword [ebp - 0x10]
push ebx
push str.IsTempModifyUIStyle64
push edi
call esi
push dword [ebp - 0x10]
push ebx
push str.IsTempModifyUIStyle
push edi
call esi
xor esi, esi
inc esi
xor edi, edi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x14]
push edi
push edi
push 0x52d
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10001c50
push edi
push esi
lea ecx, [ebp + 0x1c]
call fcn.10001fc0
push edi
push esi
lea ecx, [ebp]
call fcn.10001fc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc18]
xor ecx, ebp
call fcn.100773e8
add ebp, 0xc1c
leave
ret
Function at 0x1002f48a
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x1002f47b
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
ret
Function at 0x1003027c
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x1003026d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi], eax
pop esi
je 0x100302aa
cmp eax, 0xffffffff
je 0x100302aa
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov esi, ecx
mov word [ebp - 0x20c], di
call fcn.10077be0
add esp, 0xc
push edi
push 0x26
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
lea edi, [esi + 0x3c]
push eax
mov ecx, edi
call fcn.10003cc0
mov esi, 0x1011e01c
push esi
mov ecx, edi
call fcn.10003cf0
push str.Hao123Picture
mov ecx, edi
call fcn.10003cf0
push esi
mov ecx, edi
call fcn.10003cf0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100773e8
leave
ret
Function at 0x100303db
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
sub esp, 0x448
lea ebp, [esp - 4]
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x448], eax
push 0x44
mov eax, 0x100e9a1b
call fcn.100773f7
mov eax, dword [ebp + 0x454]
mov edi, ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.10001bc0
xor ebx, ebx
mov esi, 0x206
push esi
lea eax, [ebp + 0x242]
push ebx
push eax
mov dword [ebp - 4], ebx
mov word [ebp + 0x240], bx
call fcn.10077be0
push esi
lea eax, [ebp + 0x3a]
push ebx
push eax
mov word [ebp + 0x38], bx
call fcn.10077be0
add esp, 0x18
lea eax, [ebp + 0x240]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1003053c
lea eax, [ebp + 0x38]
push eax
push dword [ebp - 0x10]
call fcn.10019d63
pop ecx
pop ecx
lea eax, [ebp + 0x240]
push eax
lea ecx, [ebp - 0x34]
call fcn.10001df0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.10001df0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.10001c60
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x50]
call fcn.10001fc0
push ebx
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.10001fc0
lea eax, [ebp + 0x240]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10001df0
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.10003cf0
mov ecx, edi
call fcn.10030355
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp]
push eax
call fcn.1001b179
pop ecx
pop ecx
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 4
jae 0x100304fc
lea eax, [ebp + 4]
cmp dword [edi + 0x54], 8
jb 0x10030507
mov edi, dword [edi + 0x40]
jmp 0x1003050a
add edi, 0x40
push ebx
push eax
push edi
call fcn.10029409
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp dword [ebp + 0x34], 8
jae 0x10030521
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push esi
lea ecx, [ebp]
call fcn.10001f70
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.10001fc0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10001c50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x448]
xor ecx, ebp
call fcn.100773e8
add ebp, 0x44c
leave
ret 4
Function at 0x100313e1
Capabilities:
Create thread

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
call fcn.1002d231
mov ecx, eax
call fcn.1002d604
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x100313d2
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
ret 4
Function at 0x10032471
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x10032462
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
ret

Function at 0x100325a6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor edi, edi
push 0x206
mov dword [esi + 0x324], eax
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.10077be0
push 0x100f2164
lea eax, [ebp - 0x20c]
push str._s_______
push eax
call fcn.100054f5
add esp, 0x18
push edi
push edi
push edi
mov eax, 0x7530
push eax
push eax
push 0x108
push 0xce0000
lea eax, [ebp - 0x20c]
push eax
push edi
mov ecx, esi
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
lea eax, [esi + 0x314]
push eax
push edi
push esi
push 0x1003254a
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x310], eax
xor ecx, ebp
pop esi
call fcn.100773e8
leave
ret
Function at 0x1003495c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0x591
push esi
mov esi, ecx
jne 0x10034975
call fcn.10032870
jmp 0x100349ee
cmp dword [ebp + 8], 0x590
jne 0x100349ee
cmp dword [esi + 0x328], 0
je 0x100349ee
cmp dword [esi + 0x32c], 0
je 0x100349ee
push ebx
push edi
call fcn.1001c37f
mov edi, eax
call fcn.1001c4f8
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
sub ecx, eax
sub eax, dword [ebp - 4]
push 0
add eax, ebx
cdq
push ecx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
sub eax, edx
sar eax, 1
push ecx
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
add eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebx
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x10034c15
Capabilities:
Create thread

Disassembly:
push esi
push 1
push 1
push 1
mov eax, 0x7530
push eax
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [esi + 0x314]
push eax
xor eax, eax
push eax
push esi
push 0x10034c01
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x310], eax
pop esi
ret