joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003f18
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x100051a8
sub eax, eax
test esi, esi
je 0x10003ff0
sub eax, 1
test ecx, ecx
je 0x10003fee
test esi, 3
je 0x10003f56
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x10003f3b
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x10003fd5
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x10003f60
mov ecx, edx
test ecx, ecx
je 0x10003fee
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x10003fdb
not eax
mov dword [esp + 0x1c], eax
popal
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x10004029
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + section..data]
inc esi
xor eax, edx
dec ecx
jne 0x10004014
xor eax, 0xffffffff
pop esi
leave
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4014b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x4014c0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4014d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x401500
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x44e040]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x40157a
xor eax, eax
cmp ecx, ebp
je 0x401562
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x401588
cmp ecx, ebp
je 0x40161b
push ecx
jmp 0x401615
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x4015ea
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00401500
mov ebx, eax
cmp ebx, ebp
jne 0x401638
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x4015b0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4015fd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.004013f0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40161b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004216dc
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x401647
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x40161d
Function at 0x401b10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x439800
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x44e040]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x401b8f
call fcn.004011b0
mov esi, eax
jmp 0x401c71
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x401bab
call fcn.004011b0
jmp 0x401c68
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x401bc4
call fcn.004011b0
jmp 0x401c68
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x401bf8
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x401be6
lea eax, [ebp]
call fcn.00403d30
lea esi, [ebp - 0x1c]
call fcn.00403ae0
mov eax, 0x8007000e
jmp 0x401c83
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00403bb0
mov dword [ebp - 4], 1
jmp 0x401c21
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x401c2f
mov esi, 0x8007000e
jmp 0x401c6a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x401c4d
call fcn.004011b0
jmp 0x401c68
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.00402980
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x401c81
lea eax, [ebp]
call fcn.00403d30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004216dc
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403770
Capabilities:
Check mutex on windows

Disassembly:
push str.GlobalB4500EA7_BD76_4f65_869F_886F6CDB6DA1dtl2014
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x4512a0], eax
test eax, eax
jne 0x4037b2
push str.GlobalB4500EA7_BD76_4f65_869F_886F6CDB6DA1dtl2014
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4512a0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4037f4
cmp eax, 5
je 0x4037f4
mov al, 1
ret
push esi
push 0
push 0x43f620
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x4037f3
push esi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
jne 0x4037f3
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push eax
push 0xf120
push 0x112
push esi
call edi
push 0
push 0x64
push 0x8bb8
push esi
call edi
pop edi
pop esi
xor al, al
ret

Function at 0x403a30
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push edi
call esi
push eax
push str.cmdline:___S_
push 0x64
push str..OneKeyInst.cpp
push 8
call fcn.004383d0
push eax
call fcn.00437ce0
add esp, 0x18
lea eax, [esp + 8]
push eax
call esi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [esp + 8]
mov edi, eax
push ecx
call fcn.00403a90
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov al, 1
pop esi
pop ecx
ret
Function at 0x406450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a858
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x44e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4509b0]
test eax, eax
je 0x40649a
push 0
push 0
push 0
push 0x3af2
call eax
mov ebx, 1
mov dword [ebp - 4], ebx
call fcn.00403c40
lea ecx, [ebp - 0x34]
call fcn.0040d7f0
mov edi, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], edi
jb 0x4064c2
mov esi, dword [eax + 4]
jmp 0x4064c5
lea esi, [eax + 4]
call fcn.004383d0
push esi
push str.open__S_begin
push 0x135
push str..main_frame.cpp
push 4
push eax
call fcn.00437ce0
add esp, 0x18
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1c], edi
jb 0x4064f9
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00421709
add esp, 4
call fcn.00403c40
lea ecx, [ebp - 0x34]
call fcn.0040d7f0
cmp dword [eax + 0x18], edi
jb 0x406510
mov eax, dword [eax + 4]
jmp 0x406513
add eax, 4
push 0xa
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x1c], edi
jb 0x406538
mov edx, dword [ebp - 0x30]
push edx
call fcn.00421709
add esp, 4
or esi, 0xffffffff
mov dword [ebp - 4], esi
call fcn.00403c40
lea ecx, [ebp - 0x50]
call fcn.0040d7f0
mov dword [ebp - 4], 5
cmp dword [eax + 0x18], edi
jb 0x40655c
mov eax, dword [eax + 4]
jmp 0x40655f
add eax, 4
push eax
push str.open__S_succ.
push 0x13c
push str..main_frame.cpp
push 4
call fcn.004383d0
push eax
call fcn.00437ce0
add esp, 0x18
mov dword [ebp - 4], esi
cmp dword [ebp - 0x38], edi
jb 0x406593
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00421709
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], cx
mov ecx, dword [ebp - 0x18]
push 0
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004216dc
mov esp, ebp
pop ebp
ret 4
Function at 0x407f60
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a818
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x44e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00403c40
lea ecx, [ebp - 0x2c]
call fcn.0040d540
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x407fa7
mov eax, dword [eax + 4]
jmp 0x407faa
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
cmp dword [ebp - 0x14], edi
jb 0x407fc4
mov eax, dword [ebp - 0x28]
push eax
call fcn.00421709
add esp, 4
test esi, esi
je 0x40800e
mov dword [ebp - 4], 0
call fcn.00403c40
lea ecx, [ebp - 0x2c]
call fcn.0040d540
cmp dword [eax + 0x18], edi
jb 0x407fe6
mov eax, dword [eax + 4]
jmp 0x407fe9
add eax, 4
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x14], edi
jb 0x40800e
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00421709
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409310
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x439cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x44e040]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.0040a2f0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409366
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [esp + 0x14]
call fcn.00409170
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.0040a2f0
cmp dword [esp + 0x24], 8
jb 0x4093ae
mov edx, dword [esp + 0x10]
push edx
call fcn.00421709
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x40af40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43971e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x44e040]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push esi
push edi
mov eax, dword [0x44e040]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
mov esi, ecx
lea ecx, [esp + 0x14]
xor ebx, ebx
push ecx
mov dword [esp + 0x28], ebx
push eax
mov dword [esp + 0x30], esi
mov edi, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00436990
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
shrd ecx, eax, 0xa
mov dword [esp + 0x24], ecx
shr eax, 0xa
mov dword [esp + 0x1c], ecx
mov ecx, eax
mov dword [esp + 0x20], eax
and eax, 0x7fffffff
mov dword [esp + 0x28], eax
and ecx, 0x80000000
add esp, 8
fild qword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x2c]
fild qword [esp + 0x1c]
fchs
faddp st(1)
fmul qword [0x443180]
fstp qword [edi]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov dword [esp + 0xc4], 1
fld qword [edi]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x34]
push str._.2lf_GB
push edx
call dword [sym.imp.DTLUI.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
add esp, 0x10
lea ecx, [esp + 0x2c]
call dword [sym.imp.DTLUI.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], cx
mov ecx, eax
lea edx, [ecx + 2]
lea esp, [esp]
mov di, word [ecx]
add ecx, 2
cmp di, bx
jne 0x40b040
sub ecx, edx
sar ecx, 1
push ecx
call fcn.0040b1e0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 1
mov byte [esp + 0xc4], bl
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004216dc
add esp, 0xb8
ret 4
Function at 0x40d5a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [0x44e040]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xd0
lea ecx, [esp + 0x3c]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.00425110
add esp, 0xc
lea edx, [esp + 0x38]
push edx
push 0xd0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ecx, 9
mov esi, str.C:OneKeyDownLoads
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
cmp word [esp + 0x38], di
je 0x40d66c
mov ebx, dword [sym.imp.USER32.dll_CharUpperW]
lea esi, [esp + 0x38]
lea ecx, [ecx]
push esi
call ebx
movzx eax, word [esi]
mov ecx, 0x41
cmp cx, ax
je 0x40d65f
mov edx, 0x42
cmp dx, ax
je 0x40d65f
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x40d65f
mov ecx, esi
call fcn.0040da40
fcomp qword [0x4515c8]
fnstsw ax
test ah, 0x41
jne 0x40d65f
mov ax, word [esi]
mov ecx, esi
mov word [esp + 0x10], ax
call fcn.0040da40
fstp qword [0x4515c8]
inc edi
cmp word [esp + edi*8 + 0x38], 0
lea esi, [esp + edi*8 + 0x38]
jne 0x40d610
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d673
mov esi, dword [esp + 0xc]
sub eax, edx
sar eax, 1
push eax
add esi, 0x7c
lea eax, [esp + 0x14]
call fcn.0040b1e0
mov edi, 8
cmp dword [esi + 0x18], edi
jb 0x40d6a2
mov eax, dword [esi + 4]
jmp 0x40d6a5
lea eax, [esi + 4]
push eax
call fcn.00436450
add esp, 4
test al, al
jne 0x40d6ca
cmp dword [esi + 0x18], edi
jb 0x40d6bc
mov esi, dword [esi + 4]
jmp 0x40d6bf
add esi, 4
push 0
push esi
call fcn.00436610
add esp, 8
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004216dc
mov esp, ebp
pop ebp
ret 4
Function at 0x40d7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439c5e
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x44e040]
xor eax, esp
mov dword [esp + 0x2b0], eax
push esi
push edi
mov eax, dword [0x44e040]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
push 0x206
push eax
lea ecx, [esp + 0xbe]
mov dword [esp + 0x14], 0
push ecx
mov dword [esp + 0x1c], esi
mov word [esp + 0xc0], ax
call fcn.00425110
lea edx, [esp + 0x20]
push edx
call fcn.00438710
mov edi, 8
add esp, 0x10
cmp dword [eax + 0x18], edi
jb 0x40d870
mov eax, dword [eax + 4]
jmp 0x40d873
add eax, 4
push eax
lea eax, [esp + 0xb8]
push 0x104
push eax
call fcn.00422303
add esp, 0xc
cmp dword [esp + 0x2c], edi
jb 0x40d89c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00421709
add esp, 4
lea edx, [esp + 0xb4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_]
push str.SoftMgrMain.exe
lea ecx, [esp + 0x34]
mov dword [esp + 0x2cc], 1
call dword [sym.imp.DTLUI.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
lea ecx, [esp + 0x30]
call dword [sym.imp.DTLUI.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], cx
mov ecx, eax
lea edi, [ecx + 2]
jmp 0x40d900
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40d900
sub ecx, edi
sar ecx, 1
push ecx
call fcn.0040b1e0
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], 1
mov byte [esp + 0x2c8], 0
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.004216dc
add esp, 0x2c0
ret
Function at 0x40faa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a5d1
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x44e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, ecx
cmp dword [edi + 0x3c], 8
mov dword [ebp - 0x180], eax
jb 0x40fae7
mov eax, dword [edi + 0x28]
jmp 0x40faea
lea eax, [edi + 0x28]
xor ebx, ebx
xor ecx, ecx
mov word [ebp - 0x138], cx
mov ecx, eax
mov dword [ebp - 0x124], 7
mov dword [ebp - 0x128], ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40fb10
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x13c]
call fcn.0040b1e0
mov dword [ebp - 4], ebx
xor edx, edx
mov dword [ebp - 0x140], 7
mov dword [ebp - 0x144], ebx
mov word [ebp - 0x154], dx
push 0x38
lea eax, [ebp - 0x1b8]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.00425110
mov eax, 8
add esp, 0xc
mov dword [ebp - 0x1bc], 0x3c
mov dword [ebp - 0x1b8], 0x40
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1b0], ebx
cmp dword [ebp - 0x124], eax
jb 0x40fb98
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x1ac], ecx
jmp 0x40fba4
lea edx, [ebp - 0x138]
mov dword [ebp - 0x1ac], edx
cmp dword [edi + 0x20], eax
jb 0x40fbb4
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1a8], eax
jmp 0x40fbbd
lea ecx, [edi + 0xc]
mov dword [ebp - 0x1a8], ecx
mov edx, dword [edi]
push 0x103
lea eax, [ebp - 0x11f]
push ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x19c], ebx
mov esi, dword [edx + 4]
push eax
mov byte [ebp - 0x120], bl
call fcn.00425110
mov ecx, dword [str.lanuch_setup]
add esp, 0xc
push ebx
push esi
push ecx
push str.http:__soft.160.com_service_ClientStat.ashx_act_ssid_dscid9999uid_dpcid
lea edx, [ebp - 0x120]
push 0x104
push edx
call fcn.004216eb
add esp, 0x18
call fcn.00412b40
lea ecx, [ebp - 0x120]
push ecx
mov esi, eax
call fcn.00412df0
lea edx, [ebp - 0x1bc]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor eax, eax
mov dword [ebp - 0x15c], 7
mov dword [ebp - 0x160], ebx
mov word [ebp - 0x170], ax
mov byte [ebp - 4], 3
mov ecx, dword [edi]
mov edx, dword [ebp - 0x184]
push 0xffffffffffffffff
mov dword [ebp - 0x17c], ecx
push ebx
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x178], edx
call fcn.0040a2f0
mov edi, dword [ebp - 0x180]
lea eax, [ebp - 0x17c]
push eax
add edi, 0x34
call fcn.00410030
mov esi, 8
cmp dword [ebp - 0x15c], esi
jb 0x40fcd9
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.00421709
add esp, 4
jmp 0x40fcd9
cmp dword [ebp - 0x140], esi
jb 0x40fcf0
mov edx, dword [ebp - 0x154]
push edx
call fcn.00421709
add esp, 4
xor eax, eax
mov dword [ebp - 0x140], 7
mov dword [ebp - 0x144], ebx
mov word [ebp - 0x154], ax
cmp dword [ebp - 0x124], esi
jb 0x40fd20
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.00421709
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004216dc
mov esp, ebp
pop ebp
ret 4