joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004e3b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x10061018]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
mov ebx, dword [0x100c810c]
cmp dword [ebx + 0x28c], 0
push esi
push edi
je 0x1004e4ca
lea esi, [esp + 0x10]
call section..text
mov eax, esi
lea edi, [ebx + 0x173]
push eax
lea esi, [esp + 0x10]
mov eax, edi
call fcn.10001140
push edi
test al, al
jne 0x1004e437
lea ecx, [esp + 0x414]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x10
push str.Error_Plugin3
lea edx, [esp + 0x418]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebx + 0x28c]
cmp eax, dword [esp + 0x10]
je 0x1004e478
lea ecx, [esp + 0x414]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x10
push str.Error_Plugin3
lea edx, [esp + 0x418]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1004e4b8
push edi
lea eax, [esp + 0x414]
push str._s_CRC_error_
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x10
push str.Error_Plugin3
lea ecx, [esp + 0x418]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x1005bee4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004e4ca
call eax
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10056040
mov esp, ebp
pop ebp
ret
Function at 0x1004e4e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x10061018]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
mov ebx, dword [0x100c810c]
cmp dword [ebx + 0x290], 0
push esi
push edi
je 0x1004e5fa
lea esi, [esp + 0x10]
call section..text
mov eax, esi
lea edi, [ebx + 0x193]
push eax
lea esi, [esp + 0x10]
mov eax, edi
call fcn.10001140
push edi
test al, al
jne 0x1004e567
lea ecx, [esp + 0x414]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x10
push str.Error_Plugin4
lea edx, [esp + 0x418]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebx + 0x290]
cmp eax, dword [esp + 0x10]
je 0x1004e5a8
lea ecx, [esp + 0x414]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x10
push str.Error_Plugin4
lea edx, [esp + 0x418]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1004e5e8
push edi
lea eax, [esp + 0x414]
push str._s_CRC_error_
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x10
push str.Error_Plugin4
lea ecx, [esp + 0x418]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x1005bee4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004e5fa
call eax
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10056040
mov esp, ebp
pop ebp
ret
Function at 0x1004e610
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x10061018]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
mov ebx, dword [0x100c810c]
cmp dword [ebx + 0x280], 0
push esi
push edi
je 0x1004e72a
lea esi, [esp + 0x10]
call section..text
mov eax, esi
lea edi, [ebx + 0x113]
push eax
lea esi, [esp + 0x10]
mov eax, edi
call fcn.10001140
push edi
test al, al
jne 0x1004e697
lea ecx, [esp + 0x414]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x10
push str.Error_Plugin5
lea edx, [esp + 0x418]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebx + 0x280]
cmp eax, dword [esp + 0x10]
je 0x1004e6d8
lea ecx, [esp + 0x414]
push str._s_CRC_error_
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x10
push str.Error_Plugin5
lea edx, [esp + 0x418]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1004e718
push edi
lea eax, [esp + 0x414]
push str._s_CRC_error_
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x10
push str.Error_Plugin5
lea ecx, [esp + 0x418]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x1005bee4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004e72a
call eax
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10056040
mov esp, ebp
pop ebp
ret

Function at 0x1004e740
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x10061018]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
push edi
mov edi, dword [0x100c810c]
cmp dword [edi + 0x294], 0
je 0x1004e7f9
lea esi, [esp + 0x10]
call section..text
mov eax, esi
lea ebx, [edi + 0x1b3]
push eax
lea esi, [esp + 0x10]
mov eax, ebx
call fcn.10001140
test al, al
jne 0x1004e7ad
push 0x10
push str.Error
push str.Camera_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [edi + 0x294]
cmp ecx, dword [esp + 0xc]
je 0x1004e7d5
push 0x10
push str.Error
push str.Camera_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1004e7e7
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x1005bee4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004e7f9
call eax
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10056040
mov esp, ebp
pop ebp
ret
Function at 0x1004fb30
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0xe609e8], 5
jne 0x1004fbe1
cmp dword [0x100ccf50], 1
jne 0x1004fbe1
push esi
call fcn.1004fbf0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x100ccf5c]
cmp eax, dword [0x100ccf64]
jbe 0x1004fba9
mov dword [0x100ccf50], 2
mov dword [0x100ccf54], 0
call esi
mov dword [0x100ccf58], eax
call esi
mov dword [0x100ccf5c], eax
mov dword [0x100ccf60], 0
mov dword [0x100ccf64], 0
mov eax, 0x63a180
mov ecx, 0x8793750
pop esi
jmp eax
call esi
sub eax, dword [0x100ccf58]
cmp eax, dword [0x100ccf60]
jb 0x1004fbe0
mov eax, dword [0x100ccf54]
sub eax, 0
je 0x1004fbd4
dec eax
jne 0x1004fbd9
call fcn.1004fe20
call esi
mov dword [0x100ccf58], eax
pop esi
ret
call fcn.1004fdc0
call esi
mov dword [0x100ccf58], eax
pop esi
ret

Function at 0x100501c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100ccf54], 2
jne 0x1005023b
mov edx, dword [0x100ca070]
mov eax, dword [0x100ca06c]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov ax, word [0x100ca074]
lea edx, [ebp - 0x10]
push esi
mov ecx, 0xe
push edx
mov dword [ebp - 0x10], 0x3f30ec1
mov word [ebp - 4], ax
call fcn.1004f8c0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
mov dword [0x100ccf50], 1
mov dword [0x100ccf54], 3
call esi
mov dword [0x100ccf58], eax
call esi
mov dword [0x100ccf5c], eax
mov eax, 0x7530
mov dword [0x100ccf60], eax
mov dword [0x100ccf64], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10050240
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
xor ebx, ebx
cmp dword [0x100ccf54], 3
push esi
jne 0x10050274
cmp dword [0x100ccf6c], ebx
je 0x10050274
lea eax, [ebp - 8]
lea ecx, [ebx + 5]
push eax
mov dword [ebp - 8], 0x51bf05c1
mov byte [ebp - 4], bl
call fcn.1004f8c0
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100ccf50], ebx
mov dword [0x100ccf54], ebx
call esi
mov dword [0x100ccf58], eax
call esi
pop esi
mov dword [0x100ccf60], ebx
mov dword [0x100ccf64], ebx
mov dword [0x100ccf68], ebx
mov dword [0x100ccf6c], ebx
mov dword [0x100ccf5c], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10053290
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
jne 0x100532be
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov cl, byte [ebp + 8]
lea edx, [ebp - 8]
push edx
push eax
push 1
push esi
mov byte [esi], cl
mov dword [ebp - 8], 0
call edi
test eax, eax
je 0x100532b3
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100532f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
jne 0x1005331e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
mov dword [ebp - 8], 0
call edi
test eax, eax
je 0x10053313
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10053350
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 4]
push edx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [ebp - 0x10], cl
mov dword [ebp - 0xf], eax
mov dword [ebp - 4], 0
call edi
test eax, eax
jne 0x10053389
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
push 5
push esi
mov byte [esi + 4], cl
mov dword [ebp - 8], 0
call edi
test eax, eax
je 0x1005337e
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100533c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx esi, si
push edi
push esi
call fcn.10054067
push esi
mov edi, eax
push 0x90
push edi
call sub.MSVCR100.dll_memset
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10053405
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov esp, ebp
pop ebp
ret
push esi
push edi
push ebx
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
push edx
push esi
push ebx
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100533fa
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10053440
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 8
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
jne 0x1005346e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
fld qword [ebp + 8]
lea ecx, [ebp - 8]
fstp qword [esi]
push ecx
push edx
push 8
push esi
mov dword [ebp - 8], 0
call edi
test eax, eax
je 0x10053463
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100534d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [0xe8c578]
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10053535
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0xe8c578]
jne 0x10053557
mov ecx, dword [0xe8c578]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0xe8c578]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov bl, 1
call fcn.10053560
mov edi, dword [0x100c810c]
add edi, 0x81
call fcn.100536b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0xe8c578]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0xe8c578]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
xor bl, bl
call fcn.10053560
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10053820
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, dword [0x8128ac8]
sub esp, 0x34
push ebx
push esi
mov dword [0x100ca0f8], eax
mov ecx, dword [0x7bc4f04]
push edi
mov esi, 0x100ca0b8
mov dword [0x100ca0fc], ecx
call fcn.10053af0
mov edx, dword [0x879340c]
mov dword [0x100ca10c], edx
mov eax, dword [0x8793410]
mov dword [0x100ca114], eax
mov ecx, dword [0xe61e18]
mov eax, dword [0x100ca0fc]
mov dword [0x100ca108], ecx
mov edx, dword [eax + 0xac]
mov dword [0x100ca0b8], edx
mov eax, dword [eax + 0xb0]
mov dword [0x100ca0bc], eax
mov eax, dword [0x100ca0f8]
movsx ecx, word [eax + 0xe]
push eax
push 0x1005ae0c
push 0x100ca0c8
mov dword [0x100ca0c0], ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov edx, dword [0x7bc4f04]
movzx eax, byte [edx + 0x32]
mov ecx, dword [0x8128ac8]
movzx eax, word [ecx + eax*2 + 0x78]
mov edx, 0x105
add esp, 0xc
cmp ax, dx
je 0x10053913
mov ecx, 0x228
cmp ax, cx
je 0x10053913
mov edx, 0x22b
cmp ax, dx
je 0x10053913
fld qword [0x1005cea8]
sub esp, 8
mov esi, 0xd27c88
fstp qword [esp]
call fcn.10053440
fld qword [0x1005cea0]
mov esi, 0xd281c0
fstp qword [esp]
call fcn.10053440
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [0x1005ce98]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x30]
fstp qword [esp + 0x38]
push eax
push 0x40
push 8
xor edi, edi
push 0xd27c88
mov dword [esp + 0x40], edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10053965
fld qword [esp + 0x38]
mov ecx, 0xd27c88
fstp qword [ecx]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
push eax
push 8
push ecx
mov dword [esp + 0x44], edi
call esi
test eax, eax
jne 0x10053967
call ebx
fld qword [0x1005ce90]
lea ecx, [esp + 0x30]
push ecx
fstp qword [esp + 0x3c]
push 0x40
push 8
push 0xd281c0
mov dword [esp + 0x40], edi
call esi
test eax, eax
je 0x100539ab
fld qword [esp + 0x38]
mov edx, 0xd281c0
fstp qword [edx]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
push ecx
push 8
push edx
mov dword [esp + 0x44], edi
call esi
test eax, eax
jne 0x100539ad
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10053b70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call edi
mov eax, dword [ebp - 4]
mov cl, byte [ebp + 8]
lea edx, [ebp - 4]
push edx
push eax
push 1
push esi
mov byte [esi], cl
call edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10053ba0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call edi
fld dword [ebp + 8]
mov edx, dword [ebp - 4]
fstp dword [esi]
lea ecx, [ebp - 4]
push ecx
push edx
push 4
push esi
call edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10053bd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push 8
push esi
call edi
fld qword [ebp + 0xc]
mov edx, dword [ebp + 8]
fstp qword [esi]
lea ecx, [ebp + 8]
push ecx
push edx
push 8
push esi
call edi
pop edi
pop esi
pop ebp
ret

Function at 0x10053c00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call edi
cmp bl, 0xff
je 0x10053c21
mov byte [esi], bl
mov ecx, dword [ebp + 0xc]
sub ecx, esi
sub ecx, 5
lea edx, [ebp - 4]
push edx
mov dword [esi + 1], ecx
mov eax, dword [ebp - 4]
push eax
push 5
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10053c40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10053c80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebx + 5]
push ecx
call dword [sym.imp.MSVCR100.dll_malloc]
push ebx
mov esi, eax
push edi
push esi
call sub.MSVCR100.dll_memcpy
mov edx, edi
sub edx, esi
mov byte [esi + ebx], 0xe9
sub edx, 5
mov dword [esi + ebx + 1], edx
lea eax, [ebx - 5]
push eax
sub esi, edi
lea ecx, [edi + 5]
push 0x90
sub esi, 5
push ecx
mov byte [edi], 0xe9
mov dword [edi + 1], esi
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 4]
add esp, 0x1c
lea edx, [ebp - 4]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10053db0
Capabilities:
Allocate or change rwx memory
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [0x100bedf4]
push edi
push 0x1005c430
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10053eff
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x10053eff
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10053eff
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x10053e18
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
push edi
push ebx
cmp edx, dword [esi + 8]
jne 0x10053e8f
mov eax, dword [esi]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
lea edx, [ecx*4 + 0xc]
cmp eax, edx
jb 0x10053efe
xor ebx, ebx
test ecx, ecx
je 0x10053ef4
lea esp, [esp]
mov edi, dword [esi + ebx*4 + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push eax
push 4
push edi
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc ebx
cmp ebx, dword [esi]
jb 0x10053e50
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
lea edx, [ecx*8 + 0xc]
cmp eax, edx
jb 0x10053efe
mov dword [ebp - 4], 0
test ecx, ecx
je 0x10053ef4
mov eax, dword [ebp - 4]
add eax, eax
add eax, eax
add eax, eax
mov edi, dword [eax + esi + 0x10]
mov ebx, dword [eax + esi + 0xc]
add edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 8]
lea ecx, [ebp - 8]
push ecx
push edx
push 4
push ebx
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [esi]
jb 0x10053eb3
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10054120
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100542c0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100541e4
cmp dword [ebp - 4], 0x50000000
jb 0x10054161
cmp dword [ebp - 4], 0x80000000
ja 0x10054161
mov dword [ebp - 4], 0x4fff0000
jmp 0x1005413a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10054187
jmp 0x100541e4
cmp dword [ebp - 0x14], 0x10000
jne 0x100541ca
cmp dword [ebp - 0x18], 0x10000
jb 0x100541ca
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100541bd
mov eax, dword [ebp - 8]
jmp 0x100541e6
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100541df
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100542c0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1005413a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100541f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100542f0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100542ac
cmp dword [ebp - 4], 0x50000000
jb 0x1005422c
cmp dword [ebp - 4], 0x80000000
ja 0x1005422c
mov dword [ebp - 4], 0x80010000
jmp 0x10054205
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10054252
jmp 0x100542ac
cmp dword [ebp - 0x14], 0x10000
jne 0x10054295
cmp dword [ebp - 0x18], 0x10000
jb 0x10054295
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10054288
mov eax, dword [ebp - 8]
jmp 0x100542ae
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100542a7
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100542f0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10054205
xor eax, eax
mov esp, ebp
pop ebp
ret