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

Disassembly:
push ecx
mov eax, dword [edi + 0x3a8]
push ebx
push esi
push ecx
lea esi, [edi + 0x3a8]
sub eax, 0x10
mov dword [esp + 0xc], esp
mov ebx, esp
push eax
call fcn.00402640
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0042fa70
add esp, 4
test eax, eax
jne 0x40e420
push 0x10
push 0x4acb88
push 0x4acb94
mov ecx, edi
call fcn.00457438
push edi
call fcn.00410b90
pop esi
pop ebx
pop ecx
ret
push ecx
mov eax, esp
mov dword [esp + 0xc], esp
push str.gameyxdown.dat
lea ecx, [edi + 0x2f0]
push ecx
push eax
call fcn.004145b0
add esp, 0xc
call fcn.0042fa70
add esp, 4
test eax, eax
je 0x40e4ba
mov edx, dword [edi + 0x39c]
cmp dword [edx - 0xc], 0
je 0x40e4ba
mov eax, dword [esi]
push 0x5c
push eax
call fcn.0046c74c
add esp, 8
test eax, eax
jne 0x40e46a
or eax, 0xffffffff
jmp 0x40e46e
sub eax, dword [esi]
sar eax, 1
inc eax
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00401e10
mov ebx, dword [esp + 8]
mov ecx, dword [edi + 0x3a4]
mov edx, dword [esi]
push 1
push ebx
push ecx
push edx
push 0x4ab7c0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e4d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
pop ebx
pop ecx
ret
push 0x10
push 0x4acb88
push 0x4acbc8
mov ecx, edi
call fcn.00457438
push edi
call fcn.00410b90
pop esi
pop ebx
pop ecx
ret

Function at 0x40e4e0
Capabilities:
Create process on windows

Disassembly:
push ecx
push str.http:__bbs.box.kuaila.com
lea ecx, [esp + 4]
call fcn.00401c60
mov eax, dword [esp]
push 1
push 0
push 0
push eax
push 0x4ab7c0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e525
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ecx
ret

Function at 0x40e530
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49e9e8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4c8a00]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
push str.http:__api.yxdown.com_qdq_redirect.aspx_softid
lea ecx, [esp + 8]
call fcn.00401c60
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0
mov eax, dword [eax + 0x3a0]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.004026b0
push 0xa
push str.typemore
lea ecx, [esp + 0xc]
call fcn.004026b0
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push 0x4ab7c0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e5cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 4
Function at 0x40f790
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4a0578
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x4c8a00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 1
mov edi, dword [esp + 0x20]
call fcn.004539a3
mov eax, dword [eax + 4]
push 0x4aca04
push edi
push str.Main
mov ecx, eax
call fcn.00450e26
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x3b0]
push eax
call fcn.00402260
lea ecx, [esp + 0x20]
push ecx
lea edx, [esi + 0x2f0]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.004144f0
add esp, 0xc
lea ecx, [esi + 0x3ac]
push eax
mov byte [esp + 0x18], 2
call fcn.00402260
mov byte [esp + 0x14], 1
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f837
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push esi
push 0x40f980
push 0
push 0
mov dword [esi + 0x350], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f8a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 8

Function at 0x40f8c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4a0538
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4c8a00]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [esp + 0x10], 0
lea ecx, [esi + 0x3b0]
push 0x4ab640
mov dword [0x4ce1a8], 1
mov dword [esi + 0x350], eax
call fcn.00402540
lea edx, [esp + 0x14]
lea ecx, [esi + 0x3ac]
push edx
call fcn.00402260
push 0
push 0
push esi
push 0x40f980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f961
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8
Function at 0x40fc80
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x49e6d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c8a00]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
push eax
push 0x4aa5c0
push 1
push 0
push 0x4aa5d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x40fcf4
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0xc
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x2f0]
sub eax, 0x10
push eax
call fcn.00402640
add eax, 0x10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 0
mov eax, dword [eax - 0xc]
push 0
dec eax
push eax
lea ecx, [esp + 0x2c]
call fcn.004147b0
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x24]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x24]
call eax
test edi, edi
je 0x40fd5e
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push edi
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4aa680
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jge 0x40fdb6
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fda1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0xc
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x40fd77
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0xc
Function at 0x410b90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a04d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x4c8a00]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x34c], 0
je 0x410d93
call fcn.0044d2b5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410be1
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x410c1f
push 0x100
lea ecx, [esp + 0x18]
call fcn.004025f0
mov esi, dword [esp + 0x14]
push 0x100
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0046c323
add esp, 8
test eax, eax
jl 0x410d89
cmp eax, dword [esi - 8]
jg 0x410d89
xor ecx, ecx
push ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4abe8c
call fcn.00401c60
push ecx
lea ebp, [esi - 0x10]
mov dword [esp + 0x24], esp
mov edi, esp
push ebp
mov byte [esp + 0x34], 1
call fcn.00402640
add eax, 0x10
lea edx, [esp + 0x1c]
add esp, 4
mov dword [edi], eax
push edx
mov byte [esp + 0x34], 0
call fcn.0041e540
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x2c], 2
call fcn.00414150
call fcn.0044d2b5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410cbd
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x28], 3
mov edx, dword [ecx + 0x3a0]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push str.http:__www.yxdown.com_AboutUs_wtfk.html_typeqdqversion_s._s
push ecx
call fcn.00402850
mov esi, dword [esp + 0x28]
add esp, 0x10
push 1
push 0
push 0
push esi
push 0x4ab7c0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410d2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410d52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410db0
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 4
push 0x80070057
call fcn.004010b0
mov eax, dword [eax + 0x2f0]
push 1
push 0
push eax
push str.explorer.exe
push 0x4ab7c0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 4
Function at 0x417550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
call fcn.004539a3
mov esi, dword [eax + 0xc]
movzx eax, word [esp + 0x10]
push 0x4ad6b4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41757d
pop edi
pop esi
pop ebp
ret 8
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41759d
pop ebx
pop edi
pop esi
pop ebp
ret 8
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.00479280
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [esp + 0x18]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x4175f4
lea eax, [esi + 4]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x4175f6
xor esi, esi
push edi
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop ebx
xor eax, eax
cmp dword [ebp], eax
pop edi
pop esi
setne al
pop ebp
ret 8

Function at 0x417b80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x417b90
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 0x417ba0
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 0x417bd0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x4c8a00]
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 0x417c4a
xor eax, eax
cmp ecx, ebp
je 0x417c32
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 0x417c58
cmp ecx, ebp
je 0x417ceb
push ecx
jmp 0x417ce5
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 0x417cba
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00417bd0
mov ebx, eax
cmp ebx, ebp
jne 0x417d08
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 0x417c80
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417ccd
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.00417b20
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417ceb
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.0046c016
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417d17
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x417ced
Function at 0x4181e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x49fa10
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c8a00]
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 - 0x20], edi
cmp edi, ebx
jne 0x41825f
call fcn.00417900
mov esi, eax
jmp 0x418349
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 0x41827b
call fcn.00417900
jmp 0x418340
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x418294
call fcn.00417900
jmp 0x418340
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x4182c8
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x4182b6
lea eax, [ebp]
call fcn.0041a050
lea ecx, [ebp - 0x1c]
call fcn.00419eb0
mov eax, 0x8007000e
jmp 0x418362
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00419f80
mov dword [ebp - 4], 1
jmp 0x4182f9
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x418307
mov esi, 0x8007000e
jmp 0x418342
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x418325
call fcn.00417900
jmp 0x418340
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.00419070
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x418360
lea eax, [ebp]
call fcn.0041a050
lea esp, [esp]
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.0046c016
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41a0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a20ef
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c8a00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0045dd27
xor edi, edi
push 0xa
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], edi
call fcn.0045442d
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.0045442d
mov dword [esi + 0x4c], vtable.CArray_struct_stLnkItem__struct_stLnkItem__.0
mov dword [esi + 0x50], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 3
call fcn.0045dd27
mov byte [esp + 0x14], 4
call fcn.0044d2b5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41a12b
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x74], eax
push esi
mov byte [esp + 0x18], 5
call fcn.0041a200
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x41a160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e359
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c8a00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], 3
mov eax, dword [edi + 0x74]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a1ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [edi + 0x60]
call fcn.0045dede
lea esi, [edi + 0x4c]
call fcn.0041c530
lea ecx, [edi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0045455e
lea ecx, [edi + 0x14]
mov byte [esp + 0x14], 0
call fcn.0045455e
mov ecx, edi
mov dword [esp + 0x14], 0xffffffff
call fcn.0045dede
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x41b6e0
Capabilities:
Create pipe
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49f928
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebp
push esi
push edi
mov eax, dword [0x4c8a00]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
call fcn.0044d2b5
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41b728
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
push esi
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0xa4], esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x40], 1
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, esi
je 0x41b84b
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x14]
xor edx, edx
lea ecx, [esp + 0x34]
push ecx
mov word [esp + 0x78], dx
lea edx, [esp + 0x48]
push edx
push esi
push esi
push 0x20
push 1
push esi
push esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
push ebx
push esi
mov dword [esp + 0x98], 0x101
mov dword [esp + 0xa4], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
je 0x41b84b
cmp dword [esp + 0xa4], esi
jne 0x41b84b
push ebx
lea ecx, [esp + 0x20]
call fcn.00401c60
mov eax, dword [esp + 0x34]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
je 0x41b812
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41b82b
mov ecx, dword [esp + 0x34]
push ecx
call edi
mov edx, dword [esp + 0x38]
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
call edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b84b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41b85a
push eax
call edi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x41b869
push eax
call edi
mov dword [esp + 0x14], esi
lea eax, [ebp - 0x10]
mov dword [esp + 0x9c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b890
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x90
ret 4