joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e90fd
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x57a120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
call dword [sym.imp.ole32.dll_OleInitialize]
push str.SeDebugPrivilege
call fcn.004de140
mov ebx, esi
pop ecx
cmp dword [ebp + 8], ebx
je 0x4e91d3
push str.CapCut.exe
call fcn.004e0536
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4e91d3
push str.pc_uninstall_prompt
lea ecx, [ebp - 0x34]
call fcn.00404b10
push str.pc_uninstall_prompt_details
lea ecx, [ebp - 0x1c]
call fcn.00404b10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004d9018
mov ecx, eax
call fcn.004d7b30
mov esi, dword [eax]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004d9018
mov ecx, eax
call fcn.004d7b30
push 1
push esi
push dword [eax]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x38]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004c77e2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004c77e2
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004062e0
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.004062e0
cmp esi, 2
je 0x4e930a
xor esi, esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
push str.Jianying_start_delete_shortcut..._
push 0x57dca8
call fcn.004e6efa
pop ecx
pop ecx
mov ecx, edi
call fcn.004e8208
push str.Jianying_end_delete_shortcut...
push 0x57dca8
call fcn.004e6efa
push str.Jianying_start_delete_File...
push 0x57dca8
call fcn.004e6efa
add esp, 0x10
mov ecx, edi
call fcn.004e7fa8
push str.Jianying_end_delete_File...
push 0x57dca8
call fcn.004e6efa
pop ecx
pop ecx
mov ecx, edi
call fcn.004e8105
test ebx, ebx
je 0x4e9243
mov ecx, edi
call fcn.004e8b44
mov ecx, edi
call fcn.004e8aab
push dword [edi + 0x1c]
call fcn.004de0b9
pop ecx
mov ecx, edi
call fcn.004e94ce
push eax
push str.uninstall_deep_link_ret:__d
push 0x57dca8
call fcn.004e6efa
add esp, 0xc
mov ecx, edi
cmp dword [ebp + 8], 0
je 0x4e92d0
call fcn.004e81fa
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.004c69bb
add eax, 0x10
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004e20f3
pop ecx
pop ecx
push str.JYPacket
lea ecx, [ebp - 0x38]
call fcn.004c67ff
push str._Old
lea ecx, [ebp - 0x38]
call fcn.004c67ff
push 1
push 1
push dword [ebp - 0x38]
call fcn.004ddbee
mov ecx, dword [ebp - 0x38]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004c77e2
push dword [edi + 0x18]
mov ecx, edi
call fcn.004e7a16
jmp 0x4e92d8
push dword [edi + 0x18]
call fcn.004e7d8e
push esi
push esi
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [edi]
mov ecx, edi
push esi
push esi
push 1
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f3b66
mov esp, ebp
pop ebp
ret 4
push 0
call fcn.004fd197
int3
Function at 0x4e9323
Capabilities:
Create thread

Disassembly:
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push esi
push 0x4e858c
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x14], eax
inc ecx
test eax, eax
cmovne edi, ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x4e9349
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x57a120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push str.CapCut.exe
mov dword [ebp - 0xd8], esi
call fcn.004e0536
pop ecx
test eax, eax
je 0x4e948a
push edi
push 7
pop edi
xor ebx, ebx
mov dword [ebp - 0x20], edi
push ebx
xor eax, eax
mov dword [ebp - 0x24], ebx
mov esi, 0x55d048
mov word [ebp - 0x34], ax
push esi
lea ecx, [ebp - 0x34]
call fcn.00407440
push ebx
xor eax, eax
mov dword [ebp - 8], edi
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], ax
call fcn.00407440
push str.pc_uninstall_prompt
lea ecx, [ebp - 0x64]
call fcn.00404b10
push str.pc_cc_pro_running_close_before_uninstall
lea ecx, [ebp - 0x4c]
call fcn.00404b10
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.004d9018
mov ecx, eax
call fcn.004d7b30
mov edi, dword [eax]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004d9018
mov ecx, eax
call fcn.004d7b30
lea ecx, [ebp - 0xc8]
mov esi, dword [eax]
mov dword [ebp - 0xcc], vtable.CMessageBox.0
call fcn.004e7749
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xcc]
push ebx
push edi
push esi
push dword [eax + 0x20]
mov eax, dword [ebp - 0xcc]
call dword [eax]
lea ecx, [ebp - 0xc8]
call fcn.004e78bf
mov ecx, dword [ebp - 0xd0]
lea ecx, [ecx - 0x10]
call fcn.004c77e2
mov ecx, dword [ebp - 0xd4]
lea ecx, [ecx - 0x10]
call fcn.004c77e2
xor esi, esi
lea ecx, [ebp - 0x4c]
push ebx
inc esi
push esi
call fcn.004062e0
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.004062e0
push ebx
push esi
lea ecx, [ebp - 0x1c]
call fcn.00406930
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.00406930
xor eax, eax
pop edi
jmp 0x4e94bc
mov ecx, esi
call fcn.004e9323
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push esi
push 0x4e9503
push ebx
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x10], eax
inc ecx
test eax, eax
cmovne ebx, ecx
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004f3b66
mov esp, ebp
pop ebp
ret 8
Function at 0x4ec02c
Capabilities:
Create process on windows
Create process suspended
Get comspec environment variable
Query environment variable
Resume thread
Self delete
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x878
mov eax, dword [0x57a120]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
lea eax, [ebp - 0x414]
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x878]
push edi
push eax
call fcn.004f3a90
xor eax, eax
mov dword [ebp - 0x878], esi
push 0x10
mov word [ebp - 0x848], ax
lea eax, [ebp - 0x834]
push edi
push eax
mov dword [ebp - 0x84c], 1
call fcn.004f3a90
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x824]
push str._s__c_del__s
push eax
call fcn.004fbc06
add esp, 0x28
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x878]
push eax
push edi
push edi
push 4
push edi
push edi
push edi
lea eax, [ebp - 0x824]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4ec103
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4ec13e
mov edi, 0x80
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x40
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f3b66
mov esp, ebp
pop ebp
ret
Function at 0x4ecc07
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x57a120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x410], eax
xor eax, eax
push 0x60
push eax
push esi
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x408], eax
call ebx
mov edi, eax
test edi, edi
jne 0x4ecc70
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x4ecc70
call fcn.004cb62d
mov esi, eax
jmp 0x4ecd11
push dword [ebp - 0x410]
push dword [ebp - 0x40c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4ecc90
call fcn.004cb62d
jmp 0x4ecd04
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4ecc89
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x4eccb6
mov esi, 0x8007000e
jmp 0x4ecd06
push eax
lea ecx, [ebp - 0x408]
call fcn.004ebc1b
cmp dword [ebp - 0x408], 0
je 0x4eccaf
push esi
push dword [ebp - 0x408]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x4ecc89
mov eax, dword [ebp - 0x408]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x418]
push dword [ebp - 0x408]
call fcn.004ecacc
mov esi, eax
test edi, edi
je 0x4ecd11
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x4ecd2a
lea ecx, [ebp - 0x408]
call fcn.004ec280
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f3b66
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ee7f7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
call fcn.004c5a90
push eax
lea ecx, [ebp - 4]
call fcn.004c65c1
lea eax, [ebp - 4]
push eax
lea ecx, [edi + 0x40]
call fcn.004eae7d
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], 0
jne 0x4ee82d
push 0
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi - 0x10]
call fcn.004c77e2
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x521acf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x57a120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0050a1c3
mov dword [ebp - 0x14], eax
cmp dword [0x57f19c], esi
jne 0x521bc2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x521b4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x521ca2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x521ca2
push 0x55a47c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x521ca2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x57f19c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x57f1a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x57f1a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x57f1ac], eax
test eax, eax
je 0x521bbf
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x57f1a8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x521be7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x521bda
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x521bfc
push 4
pop eax
jmp 0x521ca4
cmp dword [ebp - 0x14], esi
je 0x521bfc
push dword [0x57f19c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x521be1
mov eax, dword [0x57f1a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x521c5a
cmp dword [0x57f1ac], edi
je 0x521c5a
push eax
call ebx
push dword [0x57f1ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x521c5a
test eax, eax
je 0x521c5a
call ecx
test eax, eax
je 0x521c4f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x521c4f
test byte [ebp - 8], 1
jne 0x521c5a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x521c8a
mov eax, dword [0x57f1a0]
cmp eax, edi
je 0x521c87
push eax
call ebx
test eax, eax
je 0x521c87
call eax
mov esi, eax
test esi, esi
je 0x521c87
mov eax, dword [0x57f1a4]
cmp eax, edi
je 0x521c87
push eax
call ebx
test eax, eax
je 0x521c87
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x57f19c]
call ebx
test eax, eax
je 0x521ca2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x521ca4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f3b66
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6cc87b8d
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7e620456
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x89c008], 0x8088405
inc edx
mov dword [ebx + 0x89c008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e5d4
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
add edx, edx
inc edx
test edx, edx
js 0x41e5f0
mov ecx, dword [eax + edx*4]
dec edx
push ecx
jns 0x41e5e9
mov dword [ebp + 0x10], esp
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea ebx, [ecx + 1]
mov eax, ebx
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ebx, ebx
jle 0x41e62a
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp ebx, 1
jle 0x41e651
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp ebx, 2
jle 0x41e678
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp ebx, 3
jle 0x41e69f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x24], eax
sub dword [ebp - 0x30], 1
sbb dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [esi + 0x20]
xor edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
xor eax, eax
mov dword [ebp - 8], eax
mov word [ebp - 2], 0
mov word [ebp - 2], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 8], esp
and esp, 0xfffffff0
push 0x33
call fcn.0041e6df

Function at 0x41e774
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
cmp dword [ebp + 8], 0
je 0x41e7e5
cmp dword [ebp + 0x10], 0
jne 0x41e78a
cmp dword [ebp + 0xc], 0
je 0x41e7e5
cmp dword [ebp + 0x14], 0
je 0x41e7e5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0x33
call fcn.0041e7a5
pop ecx
pop ecx
pop ebp
ret

Function at 0x41e7ec
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
cmp dword [ebp + 8], 0
je 0x41e870
cmp dword [ebp + 0x10], 0
jne 0x41e804
cmp dword [ebp + 0xc], 0
je 0x41e870
cmp dword [ebp + 0x14], 0
je 0x41e870
mov byte [ebp - 9], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0x33
call fcn.0041e823
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x41e878
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x33
call fcn.0041e893
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x88054a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x880551
ret
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x8818af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0x89e54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0x89e54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0x89d378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8818b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret