joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407b50
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x204
mov eax, dword [0x4c87c0]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x214]
push 0x100
lea eax, [esp + 0x10]
push eax
push 0x59
push edi
call ebx
xor ecx, ecx
cmp word [esp + 0xc], cx
lea eax, [esp + 0xc]
je 0x407bac
jmp 0x407ba0
add eax, 2
add ecx, 1
cmp word [eax], 0
jne 0x407ba0
push ecx
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00404610
mov eax, 0x49edac
xor ecx, ecx
add eax, 2
add ecx, 1
cmp word [eax], 0
jne 0x407bc0
push ecx
push 0x49edac
mov ecx, esi
call fcn.00407000
push 0x100
lea edx, [esp + 0x10]
push edx
push 0x5a
push edi
call ebx
xor ecx, ecx
cmp word [esp + 0xc], cx
lea eax, [esp + 0xc]
je 0x407c01
add eax, 2
add ecx, 1
cmp word [eax], 0
jne 0x407bf5
push ecx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00407000
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00465e78
add esp, 0x204
ret 8

Function at 0x40f8b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x204
mov eax, dword [0x4c87c0]
xor eax, esp
mov dword [esp + 0x200], eax
push esi
mov esi, dword [esp + 0x20c]
push 0
push 0x2b
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40f93e
xor ecx, ecx
cmp word [esp + 4], cx
lea eax, [esp + 4]
je 0x40f8fc
mov edi, edi
add eax, 2
add ecx, 1
cmp word [eax], 0
jne 0x40f8f0
push ecx
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00404610
mov eax, str.AdobeHelp
xor ecx, ecx
add eax, 2
add ecx, 1
cmp word [eax], 0
jne 0x40f910
push ecx
push str.AdobeHelp
mov ecx, esi
call fcn.00407000
cmp dword [0x4c64cc], 0xffffffff
jne 0x40f93e
mov edx, dword [esi + 0x14]
add edx, 1
mov dword [0x4c64cc], edx
mov ecx, dword [esp + 0x204]
pop esi
xor ecx, esp
call fcn.00465e78
add esp, 0x204
ret 4
Function at 0x40fa60
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x496170
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4c87c0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c87c0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
xor ebp, ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
mov dword [esp + 0x70], ebp
mov eax, str.help.html
xor ecx, ecx
jmp 0x40fad0
add eax, 2
add ecx, 1
cmp word [eax], bp
jne 0x40fad0
push ecx
push str.help.html
mov ecx, edx
call fcn.00404610
cmp dword [esi + 0x18], 8
jb 0x40faf3
mov esi, dword [esi + 4]
jmp 0x40faf6
add esi, 4
push ebp
push 0x80
push 3
push ebp
push ebp
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x18], ebx
jne 0x40fb28
push 0x49f9f0
mov ecx, edi
call fcn.00407530
jmp 0x40fc68
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
add eax, 1
push eax
call fcn.004217e2
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x14]
push ebp
lea eax, [esp + 0x28]
push eax
push ecx
push esi
push ebx
mov byte [esp + 0x84], 1
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40fc89
push str._title_
push esi
call fcn.00466e50
push str.__title_
push esi
mov ebx, eax
call fcn.00466e50
add esp, 0x10
cmp ebx, ebp
je 0x40fbc8
cmp eax, ebp
je 0x40fbc8
add ebx, 7
mov edi, eax
lea edx, [esp + 0x2c]
sub edi, ebx
push edx
call fcn.0040f960
add esp, 4
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 2
call fcn.00404520
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
call fcn.00404030
mov edi, dword [esp + 0x1c]
push str._url_
push esi
call fcn.00466e50
push str.__url_
push esi
mov ebx, eax
call fcn.00466e50
add esp, 0x10
cmp ebx, ebp
je 0x40fc23
cmp eax, ebp
je 0x40fc23
mov edi, eax
add ebx, 5
lea eax, [esp + 0x2c]
sub edi, ebx
push eax
call fcn.0040f960
add esp, 4
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebp
push eax
mov byte [esp + 0x7c], 3
call fcn.00404520
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
call fcn.00404030
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x50]
push ecx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebp
mov ecx, edi
mov word [edi + 4], bp
call fcn.00404520
push esi
call fcn.004217dd
add esp, 4
cmp dword [esp + 0x60], 8
jb 0x40fc68
mov edx, dword [esp + 0x4c]
push edx
call fcn.004217dd
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00465e78
add esp, 0x60
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40fc27
Function at 0x4115b0
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x496428
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4c87c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
call fcn.00411510
mov eax, dword [eax]
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x4c9fc8], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411619
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x4c9fc8]
push 4
push 0
push 0
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 1
add esi, 4
push esi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00449b79
mov dword [esp + 0x24], 0
call fcn.004248bb
test eax, eax
je 0x41165d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
test eax, eax
jne 0x411661
xor eax, eax
jmp 0x411664
mov eax, dword [eax + 0x20]
push edi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004499aa
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x412990
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x496808
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c87c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00418400
xor ebx, ebx
push 0x412910
push 0x412900
push 0x3fd
push 0xc
lea eax, [esi + 0x38]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esi], vtable.devtech_private::FastArray.0
mov byte [esi + 8], 1
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.00466f64
mov dword [esi + 0x3014], ebx
mov dword [esi + 0x3018], ebx
mov dword [esi + 0x301c], ebx
mov dword [esi + 0x3020], ebx
mov dword [esi + 0x3024], ebx
mov byte [esi + 0x3028], 1
mov dword [esi + 0x302c], ebx
mov byte [esi + 0x3030], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x417530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x497160
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c87c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call fcn.004147f0
add esp, 0x10
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.0041c880
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 2
call fcn.0041c8c0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x426a7d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0043a372
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x426ab4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042669f
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x42b219
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42b252
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042b1c1
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004256a6
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42d17f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42d1c2
call fcn.0043a372
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42d1c2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42d1dd
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042cd39
test ebx, ebx
mov esi, eax
je 0x42d1db
test edi, edi
je 0x42d1db
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42dc31
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x498577
call fcn.0046796c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42dc56
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42dca2
call fcn.0042e213
push eax
lea ecx, [ebp - 0x10]
call fcn.00401700
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00421951
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401340
mov eax, esi
call fcn.00467a44
ret 8
Function at 0x432d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x432d86
call fcn.0043a372
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x432d86
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x432dc9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x432db2
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x432db2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x432dc6
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x447dfe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0043a372
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x447e29
xor eax, eax
jmp 0x447ecd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x447e22
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x447e22
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004217b2
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x447e7e
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x447e6d
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.00446a51
push edi
mov ebx, eax
call fcn.004217dd
test ebx, ebx
pop ecx
je 0x447ec0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.004471dc
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.004472f8
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x465e78
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c87c0]
jne 0x465e82
repz ret
jmp fcn.0046fb6c
Function at 0x47a4fb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0046e18a
xor ebx, ebx
cmp dword [0x4ccac8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x47a5d0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x47a53b
xor eax, eax
jmp 0x47a694
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x47a534
push eax
call fcn.0046e127
mov dword [esp], 0x4aabe8
push edi
mov dword [0x4ccac8], eax
call esi
push eax
call fcn.0046e127
mov dword [esp], 0x4aabd4
push edi
mov dword [0x4ccacc], eax
call esi
push eax
call fcn.0046e127
mov dword [0x4ccad0], eax
lea eax, [ebp - 8]
push eax
call fcn.00467f22
test eax, eax
pop ecx
pop ecx
je 0x47a59e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004663f6
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x47a5d0
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0046e127
cmp eax, ebx
pop ecx
mov dword [0x4ccad8], eax
je 0x47a5d0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046e127
pop ecx
mov dword [0x4ccad4], eax
mov eax, dword [0x4ccad4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x47a649
cmp dword [0x4ccad8], esi
je 0x47a649
push eax
call fcn.0046e193
pop ecx
call eax
cmp eax, ebx
je 0x47a616
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4ccad8]
call fcn.0046e193
pop ecx
call eax
test eax, eax
je 0x47a616
test byte [ebp - 0x18], 1
jne 0x47a649
lea eax, [ebp - 0xc]
push eax
call fcn.00467fd1
test eax, eax
pop ecx
je 0x47a631
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004663f6
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x47a640
or dword [ebp + 0x10], 0x200000
jmp 0x47a67a
or dword [ebp + 0x10], 0x40000
jmp 0x47a67a
mov eax, dword [0x4ccacc]
cmp eax, esi
je 0x47a67a
push eax
call fcn.0046e193
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x47a67a
mov eax, dword [0x4ccad0]
cmp eax, esi
je 0x47a67a
push dword [ebp - 4]
push eax
call fcn.0046e193
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4ccac8]
call fcn.0046e193
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49390e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4c87c0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00493786
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.00466dd0
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 0x49395d
cmp dword [ebp - 0x1c], 5
jb 0x493975
jmp 0x493971
cmp dword [ebp - 0x10], 1
jne 0x493975
cmp dword [ebp - 0x1c], 4
ja 0x493971
jne 0x493975
cmp dword [ebp - 0x18], 0
jbe 0x493975
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4b2a00
call fcn.00493543
test eax, eax
jge 0x493996
mov byte [0x4c9f78], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00465e78
add ebp, 0x78
leave
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x220f40f0
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x24ed339b
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x77b95a84
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x63f465fe
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x401750
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x401776
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40180a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4017c5
cmp eax, 0x40
je 0x4017c5
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401769
cmp eax, 0x40
je 0x401769
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x401769
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]
Function at 0x401f00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x402f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebp
push edi
mov eax, dword [esp + 0x6c]
xor edi, edi
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], edi
mov word [esp + 0x4a], di
mov dword [esp + 0x4c], edi
mov eax, dword [eax - 8]
cmp eax, edi
mov dword [esp + 0x64], edi
mov ebp, 1
je 0x401fc8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push eax
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x74]
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x401f97
xor ebp, ebp
push esi
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0x74]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0040289c
pop esi
pop ebx
mov eax, ebp
pop edi
pop ebp
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0xffffffff
call fcn.0040289c
mov ecx, dword [esp + 0x5c]
pop edi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x60
ret