Function at 0x100018a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d251
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100260b0]
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 eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp + eax*2 - 0x24], ax
inc eax
cmp eax, 8
jl 0x100018e2
mov edi, dword [ebp + 0xc]
mov esi, dword [edi - 0xc]
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x14], ax
cmp esi, edx
jle 0x10001920
test ecx, ecx
js case.0x10001a7e.22
cmp ecx, esi
jg case.0x10001a7e.22
movzx eax, word [edi + ecx*2]
xor word [ebp + edx*2 - 0x24], ax
lea eax, [edx + 1]
cdq
mov ebx, 7
inc ecx
idiv ebx
cmp ecx, esi
jl 0x100018ff
mov edx, dword [0x10026038]
mov eax, dword [edx + 0xc]
mov ecx, 0x10026038
call eax
mov ecx, dword [ebp - 0x30]
add eax, 0x10
mov dword [ecx], eax
mov esi, str._04X
shr esi, 0x10
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], esi
jmp 0x10001963
push 0x80070057
call fcn.10003470
lea ecx, [ecx]
mov esi, dword [ebp - 0x40]
mov edx, dword [0x10026038]
mov eax, dword [edx + 0xc]
mov ecx, 0x10026038
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
test esi, esi
jne 0x10001a99
mov ecx, str._04X
movzx ebx, cx
push ebx
call fcn.100031e0
mov esi, eax
add esp, 4
test esi, esi
je 0x10001aa6
mov edx, ebx
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x10001aa6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001aa6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10001aa6
mov ecx, dword [ebp - 0x3c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and ebx, 0xf
jbe 0x10001a03
cmp edi, eax
jae 0x10001aa6
dec ebx
movzx edx, word [edi]
lea edi, [edi + edx*2 + 2]
jne 0x100019f1
cmp edi, eax
jae 0x10001aa6
movzx eax, word [edi]
test ax, ax
je 0x10001aa6
mov ebx, eax
test ebx, ebx
js case.0x10001a7e.22
mov esi, dword [ebp - 0x28]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x10001a42
mov eax, ebx
lea ecx, [ebp - 0x28]
call fcn.100034d0
mov esi, dword [ebp - 0x28]
movzx eax, word [edi]
add edi, 2
cmp eax, 0xffffffff
jne 0x10001a62
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001a52
sub eax, edx
sar eax, 1
inc eax
push eax
push edi
push ebx
push esi
call fcn.1000bf76
add esp, 0x10
cmp eax, 0x50
ja case.0x10001a7e.1
movzx eax, byte [eax + 0x10001b80]
jmp dword [eax*4 + 0x10001b70]
cmp ebx, dword [esi - 8]
jg case.0x10001a7e.22
xor ecx, ecx
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], cx
jmp 0x10001aa6
mov ebx, str._04X
lea edi, [ebp - 0x28]
call fcn.10002c40
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 3
mov eax, dword [ecx]
mov edx, 1
test eax, eax
jle 0x10001ad0
mov esi, dword [ebp - 0x2c]
mov edi, dword [ecx + 8]
movzx esi, word [ebp + esi*2 - 0x24]
mov ecx, eax
mov eax, esi
imul eax, edx
cdq
idiv edi
dec ecx
jne 0x10001ac5
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
movzx edx, dx
push edx
push eax
call fcn.10002fe0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001b06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 8
jl 0x10001960
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001b39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
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.1000bb4c
mov esp, ebp
pop ebp
ret 8
push 0x8007000e
call fcn.10003470
push 0x80004005
call fcn.10003470
mov edi, edi
test dword [edx], ebx
add byte [eax], dl
pop edx
sbb eax, dword [eax]
adc byte [ebx + 0x19], dl
add byte [eax], dl
sbb eax, dword fs:[eax]
adc byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3