joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401da7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401dd8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x401dd4
cmp esi, eax
jae 0x401dd8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x401dc4
cmp esi, eax
jb 0x401dde
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x40213f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0040207e
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004028c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x40218e
cmp dword [ebp - 0x1c], 5
jb 0x4021a6
jmp 0x4021a2
cmp dword [ebp - 0x10], 1
jne 0x4021a6
cmp dword [ebp - 0x1c], 4
ja 0x4021a2
jne 0x4021a6
cmp dword [ebp - 0x18], 0
jbe 0x4021a6
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x40514c
call fcn.00401f31
test eax, eax
jge 0x4021c7
mov byte [0x406498], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004028a9
add ebp, 0x78
leave
ret

Function at 0x4028a9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x4028b3
repz ret
jmp fcn.004032a9
Function at 0x403ab0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403b20
add edi, 0xfffffff0
lea eax, [edi + 0xc]
or ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403afa
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
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 0x403b1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
pop ecx
ret
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x403b58
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b53
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [ebp - 0x10]
jmp 0x403b93
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push 0
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
ja 0x403bb4
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b8c
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
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 0x403bac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403be7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x403c07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x403c20
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x70]
mov eax, dword [esi - 0xc]
push edi
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
cmp eax, esi
je 0x403c4d
cmp word [eax], 0x5c
je 0x403c57
sub eax, 2
cmp eax, esi
jne 0x403c40
cmp word [eax], 0x5c
jne 0x403dc5
xor ebx, ebx
cmp eax, ebx
je 0x403dc7
sub eax, esi
sar eax, 1
mov ebp, eax
mov edx, dword [0x406094]
mov eax, dword [edx + 0xc]
mov ecx, 0x406094
call eax
mov edx, dword [0x406094]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x406094
call eax
push 0x40
mov edi, eax
lea ecx, [esp + 0x34]
push ebx
add edi, 0x10
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], 0x44
call fcn.004028c0
mov ecx, dword [esp + 0x84]
add esp, 0xc
cmp ecx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x403cea
cmp word [ecx], bx
je 0x403cea
call fcn.00401460
mov edx, dword [esp + 0x78]
mov ebx, eax
push edx
lea eax, [esp + 0x14]
call fcn.00401510
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x74]
sub eax, ebp
push ecx
sub eax, 1
lea ecx, [esp + 0x1c]
call fcn.00401170
mov edx, dword [eax]
push edi
push edx
push str._s__s
lea ecx, [esp + 0x20]
call fcn.00401790
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x403d65
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x403dbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x64]
add esp, 0x60
ret
xor ebx, ebx
or ebp, 0xffffffff
jmp 0x403c67
Function at 0x401110
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push esi
push edi
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov dword [esp + 0x18], 0
call fcn.004010b0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x401180
mov eax, dword [esp + 8]
test eax, eax
jbe 0x401180
mov ecx, dword [esp + 0x18]
push 0x408028
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x401180
mov edx, dword [esp + 8]
push esi
push 1
push edx
push edi
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x401c10
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
mov al, byte [0x408228]
push ebx
push esi
push edi
mov byte [esp + 0xc], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x114]
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
push esi
push str._s_rmevents.exe
stosb byte es:[edi], al
mov edi, dword [sym.imp.MSVCRT.dll__snprintf]
push 0x103
push ecx
mov ebx, 1
call edi
lea edx, [esp + 0x1c]
push edx
call fcn.00401040
add esp, 0x14
test al, al
jne 0x401c89
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0xc]
push 0x4080bc
push ecx
push 0x83
push eax
call fcn.00401110
add esp, 0x10
mov ebx, eax
push esi
push str._sTools
lea edx, [esp + 0x14]
push 0x103
push edx
call edi
add esp, 0x10
lea eax, [esp + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
push str._sTools_rmto3260.dll
lea ecx, [esp + 0x14]
push 0x103
push ecx
call edi
lea edx, [esp + 0x1c]
push edx
call fcn.00401040
add esp, 0x14
test al, al
jne 0x401cfa
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0xc]
push 0x4080bc
push ecx
push 0x84
push eax
call fcn.00401110
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x104
ret 4
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x104
ret 4
Function at 0x401d10
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0x104
mov al, byte [0x408228]
push ebx
push esi
push edi
mov byte [esp + 0xc], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x114]
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
push esi
push str._sevents.txt
stosb byte es:[edi], al
mov edi, dword [sym.imp.MSVCRT.dll__snprintf]
push 0x103
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call ebx
push str.RealMediaEditor
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x401dc9
push esi
push str._s_rmevents.exe
lea eax, [esp + 0x14]
push 0x103
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
call ebx
push esi
push str._sTools_rmto3260.dll
lea edx, [esp + 0x14]
push 0x103
push edx
call edi
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call ebx
push esi
push str._sTools
lea ecx, [esp + 0x14]
push 0x103
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
add esp, 0x104
ret 4
Function at 0x404aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x404aba
call fcn.00404a70
call sub.MFC42.DLL_AfxGetModuleState
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
and edx, 0xffff
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x404b0f
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x7c]
mov eax, dword [eax + 0x20]
push 9
push 0x10
push str.CPicture_Error
push str.FindResource___Failed_t
push eax
call dword [sym.imp.USER32.dll_MessageBoxExA]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x404b55
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x7c]
mov eax, dword [eax + 0x20]
push 9
push 0x10
push str.CPicture_Error
push str.LoadResource___Failed_t
push eax
call dword [sym.imp.USER32.dll_MessageBoxExA]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x404b90
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x7c]
mov eax, dword [eax + 0x20]
push 9
push 0x10
push str.CPicture_Error
push str.LockResource___Failed_t
push eax
call dword [sym.imp.USER32.dll_MessageBoxExA]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov ecx, esi
push edi
push ebx
call fcn.00404c20
test eax, eax
je 0x404bb7
mov dword [esp + 0xc], 1
mov eax, dword [esi + 4]
mov dword [esi + 0xc], edi
test eax, eax
je 0x404c05
mov ecx, dword [eax]
lea edi, [esi + 8]
push edi
push eax
call dword [ecx + 0x1c]
mov eax, dword [esi + 4]
add esi, 0x10
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x9ec
push 0x60
push eax
call ebx
mov ecx, dword [esi]
push 0x9ec
push 0x60
push ecx
mov dword [edi], eax
call ebx
mov dword [esi], eax
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x4016e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ba276
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, edi
call fcn.00414080
mov ecx, edi
mov dword [esi + 0x14], eax
call fcn.00414080
mov ecx, edi
mov dword [esi + 0x18], eax
call fcn.00414080
mov dword [esi + 0x1c], eax
push 8
lea eax, [esi + 0x20]
push eax
mov ecx, edi
call fcn.00414100
push 8
lea ecx, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.00414100
push 8
lea edx, [esi + 0x30]
push edx
mov ecx, edi
call fcn.00414100
push 0x50
lea eax, [esi + 0x38]
push eax
mov ecx, edi
call fcn.00414100
push 8
lea ecx, [esi + 0xa48]
push ecx
mov ecx, edi
call fcn.00414100
push 8
lea edx, [esi + 0xa50]
push edx
mov ecx, edi
call fcn.00414100
mov ecx, edi
call fcn.00414080
mov ecx, edi
mov dword [esi + 0xa58], eax
call fcn.00414080
mov ecx, edi
mov dword [esi + 0xa5c], eax
call fcn.00414080
mov ecx, edi
mov dword [esi + 0xa60], eax
call fcn.00414080
mov ecx, edi
mov dword [esi + 0xa64], eax
call fcn.00414080
mov ecx, edi
mov dword [esi + 0xa68], eax
call fcn.00414080
mov ecx, edi
mov dword [esi + 0xa6c], eax
call fcn.00414050
mov ecx, edi
mov byte [esi + 0xaa0], al
call fcn.00414080
mov ecx, dword [esi + 0xc]
test ecx, ecx
mov dword [esi + 0xaa8], eax
je 0x4017ed
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0xaa4]
test ecx, ecx
je 0x401807
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0xaa4], 0
mov ecx, edi
call fcn.00414050
cmp al, 1
jne 0x401887
push 0x20
call fcn.004901f0
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x401833
mov ecx, eax
call fcn.00401000
jmp 0x401835
xor eax, eax
mov ecx, dword [esi + 8]
push 0
push ecx
mov ecx, dword [esi + 4]
mov dword [esi + 0xc], eax
mov edx, dword [eax]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call dword [edx + 8]
mov ecx, edi
call fcn.00414080
mov edx, dword [esi + 0xc]
mov ecx, edi
mov dword [edx + 4], eax
call fcn.00414080
mov ecx, dword [esi + 0xc]
mov dword [ecx + 8], eax
mov ecx, edi
call fcn.004140a0
mov edx, dword [esi + 0xc]
fstp dword [edx + 0xc]
mov eax, dword [esi + 0xc]
push 8
add eax, 0x18
push eax
mov ecx, edi
call fcn.00414100
mov ecx, edi
call fcn.00414050
cmp al, 1
jne 0x40191a
push 0x20
call fcn.004901f0
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 1
je 0x4018b7
mov ecx, eax
call fcn.00401000
jmp 0x4018b9
xor eax, eax
mov ecx, dword [esi + 8]
push 0
push ecx
mov ecx, dword [esi + 4]
mov dword [esi + 0xaa4], eax
mov edx, dword [eax]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call dword [edx + 8]
mov ecx, edi
call fcn.00414080
mov edx, dword [esi + 0xaa4]
mov ecx, edi
mov dword [edx + 4], eax
call fcn.00414080
mov ecx, dword [esi + 0xaa4]
mov dword [ecx + 8], eax
mov ecx, edi
call fcn.004140a0
mov edx, dword [esi + 0xaa4]
fstp dword [edx + 0xc]
mov eax, dword [esi + 0xaa4]
push 8
add eax, 0x18
push eax
mov ecx, edi
call fcn.00414100
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x418bf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb2eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0044ecc0
xor ebx, ebx
lea edi, [esi + 0x468]
mov dword [esi], method.Sexy::ButtonListener.virtual_0
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [ebp - 4], ebx
mov byte [edi + 4], bl
lea ecx, [esi + 0x484]
push ebx
mov byte [ebp - 4], 1
call fcn.0042da70
lea ecx, [esi + 0x4a0]
mov byte [ebp - 4], 2
call fcn.0043e8d0
lea ecx, [esi + 0xe60]
call fcn.0042e930
mov dword [esi + 0xf74], 0xf
mov dword [esi + 0xf70], ebx
mov byte [esi + 0xf60], bl
mov eax, str.Dynomite
mov byte [ebp - 4], 4
mov dword [esi + 0x18d8], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x418c88
sub eax, ecx
push eax
push str.Dynomite
lea ecx, [esi + 0x260]
call fcn.00406680
mov eax, str.Dynomite_Deluxe
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x418cb0
sub eax, ecx
push eax
push str.Dynomite_Deluxe
lea ecx, [esi + 0x2f0]
call fcn.00406680
mov eax, str.2.70
mov byte [esi + 0xf7c], bl
mov byte [esi + 0x22c], 1
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x418ce0
sub eax, ecx
push eax
push str.2.70
lea ecx, [esi + 0x2d4]
call fcn.00406680
mov eax, str.PopCapDynomite
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x418d02
sub eax, ecx
push eax
push str.PopCapDynomite
lea ecx, [esi + 0x30c]
call fcn.00406680
mov eax, 0x4c4537
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x418d24
sub eax, ecx
push eax
push 0x4c4537
mov ecx, edi
call fcn.00406680
push 0xb48
mov byte [esi + 0x43b], bl
mov dword [esi + 0xf54], ebx
mov dword [esi + 0x224], 0x280
mov dword [esi + 0x228], 0x1e0
call fcn.004901f0
add esp, 4
mov dword [ebp - 0x14], eax
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x418d7b
mov ecx, eax
call fcn.00429d70
jmp 0x418d7d
xor eax, eax
lea ecx, [esi + 0x484]
mov byte [ebp - 4], 4
mov dword [esi + 0x49c], eax
call fcn.0042dac0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xf48], 1
mov dword [esi + 0xf4c], ebx
mov dword [esi + 0xf50], 2
mov byte [esi + 0xf58], bl
mov dword [esi + 0xf84], ebx
mov byte [esi + 0x1970], bl
call edi
push eax
lea ecx, [esi + 0x4a0]
call fcn.0043e790
call edi
shr eax, 1
push eax
lea ecx, [esi + 0xe60]
call fcn.0042e950
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x16f4], ebx
mov dword [esi + 0xf78], ebx
mov dword [esi + 0xfb0], ebx
mov dword [esi + 0x3a8], ebx
pop edi
mov dword [esi + 0x3ac], 0x3fe00000
mov dword [esi + 0x3b0], 0x33333333
mov dword [esi + 0x3b4], 0x3feb3333
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41db60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbeb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0xcc]
xor ebx, ebx
push ebx
push str.Dynedit.exe
call fcn.004ba04b
add esp, 8
cmp eax, 0xffffffff
jne 0x41dcab
push esi
mov esi, 0xf
mov eax, str.Okay
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41dbb7
sub eax, edx
push eax
push str.Okay
lea ecx, [ebp - 0x60]
call fcn.00406680
mov eax, str.Could_not_find_the_Dynomite_level_editor._nPlease_visit_www.popcap.com_for_information_on_how_to_download_and_install_the_Dynomite_Level_Editor.
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41dbe2
sub eax, esi
push eax
push str.Could_not_find_the_Dynomite_level_editor._nPlease_visit_www.popcap.com_for_information_on_how_to_download_and_install_the_Dynomite_Level_Editor.
lea ecx, [ebp - 0x44]
call fcn.00406680
mov eax, str.No_Editor
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41dc12
sub eax, esi
push eax
push str.No_Editor
lea ecx, [ebp - 0x28]
call fcn.00406680
mov edx, dword [edi]
push 3
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea eax, [ebp - 0x28]
push eax
push 1
push 0xc
mov ecx, edi
mov byte [ebp - 4], 2
call dword [edx + 0xb8]
mov eax, dword [ebp - 0x10]
mov esi, 0x10
cmp eax, esi
jb 0x41dc61
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0049f22c
add esp, 4
cmp dword [ebp - 0x2c], esi
mov edi, 0xf
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
jb 0x41dc80
mov edx, dword [ebp - 0x40]
push edx
call fcn.0049f22c
add esp, 4
cmp dword [ebp - 0x48], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
pop esi
jb 0x41dcc4
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0049f22c
add esp, 4
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0xac]
push 1
push str.DYNEDIT.EXE
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4224b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc4f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x18]
xor ebx, ebx
push ebx
mov ecx, edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4c7964
call fcn.0042da70
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
call fcn.0042a080
mov dword [esi + 0x74], 0xf
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 4], ecx
mov ecx, edi
mov byte [ebp - 4], 2
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.0042dac0
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x80], bl
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x14], ebx
pop edi
mov dword [esi + 0x78], 0xffffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8