Function at 0x10129330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019f660
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x10211a50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
push 0xf0
movzx eax, word [ebp + 8]
push eax
mov ecx, 0x10217de0
call fcn.10105970
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x74], 0
je 0x101293c8
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, 0x10217de0
call fcn.10105970
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x101293c8
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x84], eax
push 5
movzx eax, word [ebp + 8]
push eax
mov ecx, 0x10217de0
call fcn.10105970
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x10129898
mov ecx, dword [ebp - 0x78]
push ecx
mov ecx, 0x10217de0
call fcn.10105970
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x7c], 0
je 0x10129890
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x10129886
mov eax, dword [ebp - 0x40]
push eax
call fcn.10131320
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.1012ace0
add esp, 4
mov dx, word [eax]
mov word [ebp - 0x60], dx
mov eax, dword [ebp - 0x40]
push eax
call fcn.1012d6d0
add esp, 4
mov dword [ebp - 0x24], eax
push 5
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 4
call fcn.1012fb20
mov ecx, eax
call fcn.1015a260
mov dword [ebp - 0x44], eax
xor edx, edx
mov word [ebp - 0x2c], dx
jmp 0x10129490
mov ax, word [ebp - 0x2c]
add ax, 1
mov word [ebp - 0x2c], ax
movzx ecx, word [ebp - 0x2c]
movzx edx, word [ebp - 0x60]
cmp ecx, edx
jge 0x10129884
cmp dword [ebp - 0x28], 0
je 0x101294b1
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
jmp 0x101294bb
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x10]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.101312b0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10129855
mov dword [ebp - 0x8c], 0
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.1012d640
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x34]
call fcn.1011e4a0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
je 0x101295f4
mov edx, dword [ebp - 0x3c]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x101295d9
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.100eedd0
add esp, 8
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x1012957d
call fcn.101277e0
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10122880
jmp 0x10129884
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x8c]
push eax
call fcn.100eedd0
add esp, 8
mov dword [ebp - 0x94], eax
xor ecx, ecx
jne 0x10129596
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x88]
push edx
call fcn.1014ed80
add esp, 0x10
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x34]
call fcn.10124b40
push eax
push 1
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
jmp 0x101295f4
mov dword [ebp - 0x30], 0x8007000e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10122880
jmp 0x10129884
lea ecx, [ebp - 0x54]
call fcn.100e16a0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x34]
call fcn.1015a260
push eax
call fcn.1013ef30
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x10129838
push 0
lea ecx, [ebp - 0x38]
call fcn.1011e030
cmp dword [ebp - 0x28], 0
je 0x1012963d
mov eax, dword [ebp - 0x24]
add eax, 0x18
mov dword [ebp - 0x80], eax
jmp 0x10129646
mov ecx, dword [ebp - 0x24]
add ecx, 0x12
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x28], 0
je 0x10129662
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0xc]
mov word [ebp - 0x48], cx
jmp 0x1012966d
mov edx, dword [ebp - 0x24]
mov ax, word [edx + 8]
mov word [ebp - 0x48], ax
movsx ecx, word [ebp - 0x48]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x28], 0
je 0x10129687
mov edx, dword [ebp - 0x24]
mov ax, word [edx + 0xe]
mov word [ebp - 0x46], ax
jmp 0x10129692
mov ecx, dword [ebp - 0x24]
mov dx, word [ecx + 0xa]
mov word [ebp - 0x46], dx
movsx eax, word [ebp - 0x46]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x28], 0
je 0x101296ac
mov ecx, dword [ebp - 0x24]
mov dx, word [ecx + 0x10]
mov word [ebp - 0x4c], dx
jmp 0x101296b7
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0xc]
mov word [ebp - 0x4c], cx
movsx edx, word [ebp - 0x4c]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x28], 0
je 0x101296d4
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0x12]
mov word [ebp - 0x4a], cx
jmp 0x101296df
mov edx, dword [ebp - 0x24]
mov ax, word [edx + 0xe]
mov word [ebp - 0x4a], ax
movsx ecx, word [ebp - 0x4a]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x58]
call fcn.10133380
cmp dword [ebp - 0x28], 0
je 0x10129706
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x64], ecx
jmp 0x10129710
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x10]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x28], 0
je 0x10129721
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x68], edx
jmp 0x10129728
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x28], 0
je 0x10129739
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x6c], ecx
jmp 0x10129741
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x6c], eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
mov edx, dword [ebp - 0x64]
push edx
call fcn.10150fd0
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x6c]
or ecx, 0x10000
push ecx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp - 0x20]
push edx
call fcn.10150fd0
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10128f70
lea ecx, [ebp - 0x38]
call fcn.1015a260
test eax, eax
je 0x10129830
cmp dword [ebp - 0x28], 0
je 0x101297b2
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0
je 0x101297b2
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10145460
lea ecx, [ebp - 0x54]
call fcn.1015a260
push eax
push 0
lea ecx, [ebp - 0x34]
call fcn.1015a260
push eax
mov edx, dword [ebp - 0x98]
push edx
lea ecx, [ebp - 0x38]
call fcn.10129940
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x101297fe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.100e16f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10122880
jmp 0x10129884
movzx eax, word [ebp - 0x2c]
test eax, eax
jne 0x1012980d
mov dword [ebp - 0x44], 0
push 0x13
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x38]
call fcn.101454b0
lea ecx, [ebp - 0x38]
call fcn.1015a260
mov dword [ebp - 0x44], eax
jmp 0x10129838
call fcn.101277e0
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.100e16f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10122880
jmp 0x1012986c
movzx edx, word [ebp - 0x2c]
test edx, edx
je 0x1012986c
push 2
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.1012d840
add esp, 8
mov dword [ebp - 0x24], eax
jmp 0x10129484
jmp 0x1012988e
call fcn.101277e0
mov dword [ebp - 0x30], eax
jmp 0x10129898
call fcn.101277e0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016177d
mov esp, ebp
pop ebp
ret 4