Function at 0x102b830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10d81c4
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x115e76c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x58], 0
jne 0x102b88e
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x5c], 0
jne 0x102b88e
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x60], 0
jne 0x102b88e
push 0x1e7
push 0x10fbc80
call fcn.0100a6d0
test eax, eax
je 0x102b88e
int3
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x60]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x2c], ecx
call fcn.01014200
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x58], 0
je 0x102b8e0
call fcn.01014200
mov dword [ebp - 0x1c], eax
push 5
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x102b8f3
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x102b901
or eax, 0xffffffff
jmp 0x102bb2b
mov ecx, dword [ebp - 0x3c]
call fcn.0102b760
mov dword [ebp - 0x24], eax
call fcn.0102dce0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x24], 0
je 0x102b997
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x24], eax
je 0x102b997
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x102b997
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.010142b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x102b997
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x128]
call edx
test eax, eax
je 0x102b997
mov ecx, dword [ebp - 0x18]
call fcn.01041ee0
test eax, eax
je 0x102b997
push 0
mov ecx, dword [ebp - 0x18]
call fcn.01041f50
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0102dc00
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0102d2a0
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0102b070
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x102ba58
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x3c]
and eax, 0x10
je 0x102ba38
mov dword [ebp - 0x34], 4
mov ecx, dword [ebp - 0x3c]
call fcn.01041790
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
and ecx, 0x100
je 0x102ba05
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.010352d0
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ecx + 0x44]
je 0x102ba38
push 0x220
push 0x10fbcb8
call fcn.0100a6d0
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x102ba38
int3
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x20], 0
je 0x102ba58
push 0x97
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x3c]
call fcn.01041db0
jmp 0x102ba9b
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x102bab2
push 1
mov ecx, dword [ebp - 0x18]
call fcn.01041f50
cmp dword [ebp - 0x14], 0
je 0x102bac4
push 1
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x24], 0
je 0x102bae2
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x3c]
cmp eax, dword [ecx + 0x20]
jne 0x102bae2
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x68]
call eax
mov ecx, dword [ebp - 0x3c]
call fcn.0102b7d0
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x58], 0
jne 0x102bb09
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x5c], 0
je 0x102bb12
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0102c490
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x58], 0
je 0x102bb25
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret