joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ad0e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xe609e8], 5
jne 0x100ad272
cmp dword [0x103046d4], 2
je 0x100ad272
cmp byte [0x102fbb0e], 0
push ebx
push esi
push edi
mov edi, dword [0x101ee7b4]
jne 0x100ad157
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x103046d4], 1
mov dword [0x103046d0], 0
call esi
mov dword [0x103046cc], eax
call esi
mov dword [0x103046c8], eax
mov dword [0x103046c4], 0x7530
mov dword [0x103046c0], edi
mov eax, dword [0xe8cb7c]
xor esi, esi
mov dword [0x103046bc], 0
mov ecx, 0x402bc0
mov byte [ebp - 0x108], 0xc1
mov byte [ebp - 0x106], 0x14
movzx eax, byte [eax + 8]
mov dword [0x103046b8], eax
mov byte [ebp - 0x105], 0
mov ebx, 4
cmp esi, 0x190
jae 0x100ad20a
mov edi, 6
lea eax, [ebp - 0x100]
sub edi, eax
push esi
call ecx
mov ecx, eax
mov eax, 0x96a4c0
call eax
test eax, eax
je 0x100ad1fc
cmp byte [eax + 0x30c], 0
je 0x100ad1fc
movzx ecx, word [eax + 0x7e]
mov eax, ecx
mov byte [ebp - 0x10b], cl
shr eax, 8
mov byte [ebp - 0x10c], al
lea eax, [edi + ebx]
lea eax, [ebp + eax - 0x104]
cmp eax, 0x100
ja 0x100ad20a
mov ax, word [ebp - 0x10c]
mov word [ebp + ebx - 0x104], ax
add ebx, 2
inc byte [ebp - 0x105]
inc esi
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100ad1a5
push 0xffffffffffffffff
mov byte [ebp - 0x107], bl
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x14
call fcn.100a9ee0
add esp, 0x10
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100ad184
mov dword [0x81f6b6c], 0
mov ecx, dword [0x8128ac8]
pop edi
pop esi
pop ebx
movq xmm0, qword [ecx]
movq qword [0x103046ec], xmm0
mov ax, word [ecx + 8]
mov word [0x103046f4], ax
mov al, byte [ecx + 0xa]
mov byte [0x103046f6], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
Function at 0x100ad8d0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10186d78
push 0x10122c50
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1018b06c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14c], eax
push dword [ebp + 8]
push str..PhysicalDrive_d
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x150], esi
cmp esi, 0xffffffff
je 0x100ada9a
mov dword [ebp - 0x134], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x144], xmm0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
push 0
lea eax, [ebp - 0x130]
push eax
push 8
lea eax, [ebp - 0x144]
push eax
push 0xc
lea eax, [ebp - 0x13c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100ad9b4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100ada9a
push dword [ebp - 0x140]
call fcn.100d591e
mov edi, eax
mov dword [ebp - 0x148], edi
push dword [ebp - 0x140]
push 0
push edi
call fcn.10123cc0
add esp, 0x10
push 0
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x140]
push edi
push 0xc
lea eax, [ebp - 0x13c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100ada16
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100d5685
add esp, 4
jmp 0x100ada9a
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100ada01
mov dword [ebp - 4], 0
add eax, edi
push eax
push 0x100
push dword [ebp - 0x14c]
call fcn.10134985
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100d5685
add esp, 4
mov dword [ebp - 0x148], 0x8123
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100ada9c
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100af540
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160b40
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
push 0x1017c434
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1000bb40
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x102f8b58]
lea ecx, [ebp - 0x48]
call fcn.10071bd0
push 0x100af500
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10082150
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x100af5f0
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100af5e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af70f
push edx
push ecx
call fcn.100d5624
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x100af63d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100af633
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100af714
push edx
push ecx
call fcn.100d5624
add esp, 8
push str.Data__KGData__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x102f8b54
call fcn.100a4330
push 0x10178bcf
push str.StartLoadJewelStack
push 0x102f8b54
call fcn.100a44f0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
push 0x40
push 6
push 0x7dc964
call esi
mov eax, 0x7dc964
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dc964
call esi
push 0x100af3d0
push 0x7dc964
push 0xe9
call fcn.100b1680
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x7dd634
call esi
mov eax, 0x7dd634
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dd634
call esi
push 0x100af4d0
push 0x7dd634
push 0xe9
call fcn.100b1680
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
call fcn.1012c43c
call fcn.1012c43c
int3
Function at 0x100b0de0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
mov esi, ecx
mov dword [ebp - 0x10], edx
push edi
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100b0e29
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x10]
push esi
call fcn.101231c0
add esp, 0xc
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b0e13
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100d52b0
mov esp, ebp
pop ebp
ret

Function at 0x100b0e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 8]
mov byte [ebp - 0x14], 0xe9
push eax
mov esi, ecx
mov dword [ebp - 8], 0
push 0x40
sub edx, esi
push 5
sub edx, 5
push esi
mov dword [ebp - 0x13], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100b0ebe
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov al, byte [ebp - 0x10]
mov byte [esi + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b0ea9
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100d52b0
mov esp, ebp
pop ebp
ret

Function at 0x100b0f00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push esi
mov byte [ebp - 0x14], al
mov esi, ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
sub edx, esi
push 5
sub edx, 5
push esi
mov dword [ebp - 0x13], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100b0f50
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov al, byte [ebp - 0x10]
mov byte [esi + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b0f3b
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
Function at 0x100b0ff0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [0xe8c578]
mov esi, ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100b1100
push edi
mov edi, dword [0xe8c578]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x100b10f0
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
mov ecx, esi
call fcn.100b1140
push 0x1fc
lea eax, [ebp - 0x200]
push 0
push eax
call fcn.10123cc0
mov dword [ebp - 0x200], 0x1fc
add esp, 0xc
mov dword [ebp - 0x1f8], 0x444
xor ecx, ecx
mov eax, dword [0xe8c578]
mov dword [ebp - 0x1fc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1f4], 0x13
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1f0], 0x445
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x60], 0x1388
nop
mov al, byte [ecx + str.Game_has_been_minimized]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x161], al
test al, al
jne 0x100b10b0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x101ee591]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x5d], al
test al, al
jne 0x100b10d0
lea eax, [ebp - 0x200]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
push 5
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
mov ecx, esi
call fcn.100b1140
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
Function at 0x100b1540
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 8]
mov ebx, ecx
push eax
push 0x40
push 2
push ebx
mov di, dx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov word [ebx], di
push eax
push dword [ebp - 8]
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100d52b0
mov esp, ebp
pop ebp
ret

Function at 0x100b1590
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 8]
mov ebx, ecx
push eax
push 0x40
push 4
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov dword [ebx], edi
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100d52b0
mov esp, ebp
pop ebp
ret

Function at 0x100b15e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 8]
movss dword [ebp - 0xc], xmm1
push eax
push 0x40
mov edi, ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [edi], xmm0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100d52b0
mov esp, ebp
pop ebp
ret

Function at 0x100b1630
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movsd qword [edi], xmm0
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100d52b0
mov esp, ebp
pop ebp
ret

Function at 0x100b1680
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x100b16ac
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
Function at 0x100b16e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push 0x40
push ebx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push esi
mov esi, dword [ebp - 0xc]
push esi
call fcn.101231c0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100d52b0
mov esp, ebp
pop ebp
ret

Function at 0x100b1740
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push edi
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push ebx
push eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
mov edi, dword [ebp - 0xc]
push edi
call fcn.10123cc0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100d52b0
mov esp, ebp
pop ebp
ret

Function at 0x100b17a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 8]
mov esi, edx
push eax
push 0x40
mov ebx, ecx
mov dword [ebp - 0xc], esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
add esi, 5
setb cl
neg ecx
or ecx, esi
push ecx
call fcn.1012be19
push dword [ebp - 0xc]
mov esi, eax
push ebx
push esi
call fcn.101231c0
mov eax, dword [ebp - 0xc]
mov ecx, ebx
sub ecx, esi
sub ecx, 5
mov byte [eax + esi], 0xe9
mov dword [eax + esi + 1], ecx
add eax, 0xfffffffb
push eax
sub esi, ebx
mov byte [ebx], 0xe9
lea eax, [ebx + 5]
sub esi, 5
push 0x90
push eax
mov dword [ebx + 1], esi
call fcn.10123cc0
add esp, 0x1c
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
Function at 0x100b18a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [0x102fc7f4]
test edx, 0xffff0000
jne 0x100b1994
push ebx
push 0x1017dea8
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x100b1993
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x100b1993
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x100b1993
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x100b1989
mov ecx, dword [edi + 4]
mov eax, dword [edi]
push ebx
push esi
cmp ecx, dword [edi + 8]
jne 0x100b1954
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 4]
lea ecx, [edx*4 + 0xc]
cmp eax, ecx
jb 0x100b1992
xor esi, esi
test edx, edx
je 0x100b1989
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + esi*4 + 0xc]
mov edx, ebx
call fcn.100b1590
inc esi
cmp esi, dword [edi]
jb 0x100b1934
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 4]
lea ecx, [edx*8 + 0xc]
cmp eax, ecx
jb 0x100b1992
xor esi, esi
test edx, edx
je 0x100b1989
mov ebx, dword [ebp + 8]
mov edx, dword [edi + esi*8 + 0x10]
mov ecx, dword [edi + esi*8 + 0xc]
add edx, ebx
call fcn.100b1590
inc esi
cmp esi, dword [edi]
jb 0x100b1975
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100b19a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1018b06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x13], al
mov al, byte [ebp + 0x10]
push esi
mov byte [ebp - 0x12], al
mov esi, ecx
mov eax, dword [edx]
mov dword [ebp - 0x11], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push esi
mov byte [ebp - 0x14], 0xf
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100b19f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov ax, word [ebp - 0x10]
mov word [esi + 4], ax
mov al, byte [ebp - 0xe]
mov byte [esi + 6], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b19e2
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100d52b0
mov esp, ebp
pop ebp
ret
Function at 0x100da960
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x28]
sub edx, 8
test ebx, ebx
je case.default.0x100da99a
mov eax, ebx
and eax, 0xfffffffc
mov eax, dword [eax + 0x38]
test eax, eax
jns 0x100da98d
mov ecx, dword [esi + 0x1c]
sub ecx, eax
cmp edx, ecx
jb 0x100da9dd
cmp edx, dword [esi + 0x1c]
jbe case.default.0x100da99a
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 7
jmp dword [ecx*4 + 0x100daac0]
movzx ecx, byte [eax - 3]
mov eax, 0xfffffff8
shl ecx, 3
sub eax, ecx
add edx, eax
jmp 0x100da9cc
cmp dword [edx - 8], 1
jne case.0x100da99a.3
mov ebx, dword [ebx + 0x34]
jmp case.0x100da99a.3
and eax, 0xfffffff8
sub edx, eax
test ebx, ebx
jne 0x100da978
test edi, edi
jne 0x100daa8b
jmp 0x100daa85
test edi, edi
je 0x100daa7f
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x28], eax
lea eax, [edx + 8]
push ecx
push esi
mov dword [esi + 0x10], eax
call fcn.100daff0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, ebx
pop ebx
ret
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x1c]
add eax, 8
push eax
push esi
mov dword [esi + 0x10], eax
call fcn.100daff0
add esp, 8
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x100daab8
push esi
call eax
add esp, 4
push 1
call fcn.10144b02
nop
mov eax, dword [0xb9100da9]
test eax, -1447882739
or eax, 0xda9c710
adc byte [ecx + 0x34100da9], ah
stosb byte es:[edi], al
or eax, 0xda9be10
invalid
invalid
invalid
invalid
invalid
Function at 0x100de5c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, esi
sub eax, ebx
push edi
mov edi, dword [esp + 0x1c]
sub eax, 0x40
push edi
sar eax, 2
push eax
push ebx
call fcn.100ddce0
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x100de677
lea ebp, [ebx + 0x40]
sub esi, 4
cmp esi, ebp
jbe case.0x100de648.17
mov eax, dword [esi]
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ebx, cl
mov cx, word [edx*2 + 0x1016c038]
and cx, 7
cmp cx, 2
jne 0x100de62f
cmp edi, ebx
jb 0x100de5f2
cmp edx, 0x2a
jne case.0x100de648.17
shr eax, 0x10
cmp edi, eax
ja 0x100de5f2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
cmp cx, 1
jne 0x100de5f2
cmp ebx, edi
jne 0x100de5f2
add edx, 0xfffffff0
cmp edx, 0x27
ja case.0x100de648.17
movzx ecx, byte [edx + 0x100de754]
jmp dword [ecx*4 + 0x100de740]
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, esi
shr edi, 0x10
sub eax, ecx
sub eax, 0x40
push edi
sar eax, 2
push eax
push ecx
call fcn.100ddce0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x100de5f2
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov eax, str.local
pop ebx
ret
mov ecx, dword [esp + 0x14]
shr eax, 0x10
not eax
pop edi
mov ecx, dword [ecx + 0x10]
pop esi
pop ebp
pop ebx
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x10]
add ecx, 0x10
mov dword [eax], ecx
mov eax, str.global
ret
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [esp + 0x14]
not edx
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x20]
add edx, 0x10
mov dword [ecx], edx
mov ecx, dword [esi - 4]
cmp cl, 0x10
jne 0x100de6f2
shr ecx, 8
movzx edx, cl
lea ecx, [ebx + 1]
cmp edx, ecx
jne 0x100de6f2
shr eax, 8
xor eax, dword [esi - 4]
test eax, 0xffff0000
jne 0x100de6f2
pop edi
pop esi
pop ebp
mov eax, str.method
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, str.field
pop ebx
ret
mov ecx, dword [esp + 0x14]
shr eax, 0x10
mov edx, dword [ecx + 0x38]
test edx, edx
jne 0x100de71f
mov eax, dword [esp + 0x20]
mov edx, 0x10178bcf
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov eax, str.upvalue
pop ebx
ret
test eax, eax
je 0x100de72f
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x100de723
sub eax, 1
jne 0x100de723
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov eax, str.upvalue
pop ebx
ret