Function at 0x100108e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023b31b
mov eax, dword fs:[0]
push eax
mov eax, 0x1424
call fcn.1020a0a0
mov eax, dword [0x102e1e14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov byte [ebp - 0x140b], al
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x140a], al
mov al, byte [ebp + 0x14]
mov dword [ebp - 0x141c], esi
mov byte [ebp - 0x1409], al
mov dword [ebp - 0x1430], ebx
mov dword [ebp - 0x1414], 0
call fcn.100e0285
push eax
lea ecx, [ebp - 0x140c]
call fcn.100d3311
cmp byte [0x102e90b0], 0
mov dword [ebp - 4], 0
jne 0x10010977
mov esi, 1
jmp 0x10010bea
test esi, esi
jne 0x10010985
mov esi, 3
jmp 0x10010bea
test ebx, ebx
je 0x100109c1
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010990
sub ecx, edx
sar ecx, 1
je 0x100109c1
push 0
sub esp, 0xc
mov ecx, esp
push ebx
call fcn.100164e0
call fcn.100320e0
test al, al
jne 0x100109c1
mov esi, 7
jmp 0x10010bea
call fcn.100d36c4
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100109d7
call fcn.100d36c4
mov esi, dword [eax + 0xc]
jmp 0x100109e5
mov esi, dword [0x102e90fc]
call fcn.100d36c4
mov dword [eax + 0xc], esi
push 5
push 0x65
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1418], eax
test edi, edi
je 0x10010a19
push edi
lea ecx, [ebp - 0x142c]
call fcn.1000a800
mov byte [ebp - 4], 1
mov ebx, 1
jmp 0x10010a3f
push 0x2db
push dword [ebp - 0x141c]
lea eax, [ebp - 0x1428]
push eax
call fcn.1000c020
add esp, 0xc
mov dword [ebp - 4], 2
mov ebx, 2
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp - 0x1414], ebx
push eax
call fcn.1000bbc0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1420], eax
or edi, 0xffffffff
mov dword [ebp - 4], 4
test bl, 2
je 0x10010a91
mov edx, dword [ebp - 0x1428]
and ebx, 0xfffffffd
mov dword [ebp - 0x1414], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10010a91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
test bl, 1
je 0x10010ab7
mov edx, dword [ebp - 0x142c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10010ab7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.100d31c2
mov ecx, eax
test ecx, ecx
je 0x10010c13
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1410], eax
mov edx, dword [ebp - 0x1430]
mov byte [ebp - 4], 6
test edx, edx
je 0x10010b37
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010ae7
sub ecx, esi
sar ecx, 1
je 0x10010b37
push edx
lea ecx, [ebp - 0x1424]
call fcn.1000a800
push eax
lea ecx, [ebp - 0x1410]
mov byte [ebp - 4], 7
call fcn.1000af20
mov edx, dword [ebp - 0x1424]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10010b42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10010b42
lea ecx, [ebp - 0x1410]
call fcn.1000bd10
push 0
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x1420]
push eax
movsx eax, byte [ebp - 0x1409]
lea ecx, [ebp - 0x1408]
push eax
movsx eax, byte [ebp - 0x140a]
push eax
movsx eax, byte [ebp - 0x140b]
push eax
push dword [ebp - 0x141c]
call fcn.1000a920
push 0
push dword [ebp - 0x1418]
lea ecx, [ebp - 0x1408]
mov byte [ebp - 4], 8
call fcn.100dcdf7
lea ecx, [ebp - 0x1408]
call fcn.100dcae0
lea ecx, [ebp - 0x1408]
xor esi, esi
call fcn.1000acb0
mov edx, dword [ebp - 0x1410]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10010bcb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1420]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x10010bea
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x140c]
call fcn.1000f170
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1020a080
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000b3e0
int3