Function at 0x4104f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20fc
call fcn.0041ae60
mov eax, dword [0x482230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x486b80
mov dword [ebp - 0x20f0], eax
lea eax, [ebp - 0x20d4]
push 1
push eax
call fcn.0040d310
mov eax, dword [ebp + 8]
push ebx
mov dword [0x483444], eax
lea eax, [ebp - 0x20c2]
push esi
mov dword [ebp - 0x20e8], 0
mov dword [ebp - 0x20e4], eax
push edi
mov cl, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
add eax, dword [0x485308]
mov dword [ebp - 0x20f8], eax
xor eax, eax
mov byte [ebp - 0x20d5], cl
mov dword [ebp - 0x20dc], 0
mov dword [ebp - 0x20f4], eax
mov dword [ebp - 0x20e0], 0
nop dword [eax + eax]
movsx ebx, word [eax + 0x4820c8]
test cl, cl
je 0x41059d
movsx edi, word [eax + 0x4820cc]
imul edi, ebx
mov dword [ebp - 0x20ec], edi
jmp 0x4105a5
mov edi, ebx
mov dword [ebp - 0x20ec], ebx
push edi
call fcn.00428275
add esp, 4
mov dword [ebp - 0x20fc], eax
test eax, eax
je 0x410691
xor ecx, ecx
mov esi, eax
test edi, edi
je 0x410600
mov eax, 0x100
xor edx, edx
div ebx
mov ebx, eax
mov eax, edi
mov edi, dword [ebp - 0x20f8]
mov dl, byte [ecx + edi]
lea esi, [esi + 1]
sub dl, 0x80
mov byte [esi - 1], dl
lea edx, [ebx + ecx]
cmp edx, 0xff
lea ecx, [edx - 0x100]
cmovbe ecx, edx
sub eax, 1
jne 0x4105d7
mov edi, dword [ebp - 0x20ec]
mov eax, dword [ebp - 0x20e8]
mov ecx, dword [ebp - 0x20dc]
mov ebx, dword [ebp - 0x20e0]
movsx eax, al
push edi
mov edi, dword [ebp - 0x20fc]
push edi
lea eax, [ecx + eax*8]
push 0x5622
lea esi, [ebx + eax*2]
call fcn.00411300
push edi
mov dword [esi*4 + 0x483220], eax
call fcn.0042825a
mov eax, dword [esi*4 + 0x483220]
add esp, 0x10
test eax, eax
je 0x410691
mov cl, byte [ebp - 0x20d5]
inc ebx
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x20f4]
mov dword [ebp - 0x20e0], ebx
cmp ebx, 2
jb 0x410580
inc dword [ebp - 0x20dc]
add eax, 6
mov dword [ebp - 0x20f4], eax
cmp eax, 0x30
jb 0x410571
mov edx, dword [ebp - 0x20e8]
mov eax, dword [ebp - 0x20e4]
inc edx
add eax, 0xc
mov dword [ebp - 0x20e8], edx
mov dword [ebp - 0x20e4], eax
cmp edx, 8
jl 0x410544
lea eax, [ebp - 0x2062]
mov dword [ebp - 0x20ec], 0x10
mov dword [ebp - 0x20e0], eax
mov esi, 0x483420
movzx eax, byte [eax]
push 0x4711e8
push dword [eax*4 + 0x481378]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x410761
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x410761
mov eax, dword [ebx + 0x36]
push eax
mov dword [ebp - 0x20e4], eax
call fcn.00428275
mov edi, eax
add esp, 4
test edi, edi
je 0x410761
push dword [ebp - 0x20e4]
lea ecx, [ebx + 0x3a]
push ecx
push edi
call fcn.0041c5d0
push dword [ebp - 0x20e4]
push edi
push 0x5622
call fcn.00411300
push edi
mov dword [esi], eax
call fcn.0042825a
mov eax, dword [esi]
add esp, 0x1c
test eax, eax
je 0x410761
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x20e0]
add esi, 4
add eax, 0xc
mov dword [ebp - 0x20e0], eax
cmp esi, 0x483440
jl 0x4106d1
mov edx, 0x483468
lea esi, [ebp - 0x20bc]
nop word [eax + eax]
mov ecx, dword [esi]
mov dword [edx], ecx
test ecx, ecx
je 0x4107a9
cmp dword [ecx + 8], 0
jge 0x4107a9
mov eax, dword [ecx + 4]
mov ecx, eax
mov dword [edx], eax
test eax, eax
jne 0x410798
add edx, 4
add esi, 0xc
cmp edx, 0x4834a8
jl 0x410790
mov ax, word [ebp - 0x20d4]
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
xor edi, edi
mov dword [0x483460], 0
mov dword [ebp - 0x20e8], ebx
mov dword [0x48344c], ebx
mov word [ebp - 0x20d6], ax
mov word [0x483448], ax
mov dword [ebp - 0x20dc], edi
test ecx, ecx
je 0x4109b5
mov edx, 0x400
nop dword [eax + eax]
mov esi, ecx
sub esi, edi
cmp esi, 0x400
cmova esi, edx
mov dword [ebp - 0x20e0], esi
lea eax, [esi*8]
push eax
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.0041c200
mov ax, word [ebp - 0x20d6]
add esp, 0xc
test ax, ax
jne 0x41084d
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.00411460
add esp, 8
jmp 0x4108d4
xor edi, edi
test esi, esi
je 0x4108ce
test ebx, ebx
jne 0x410893
movzx ecx, ax
mov eax, 0x10624dd3
imul ecx, dword [0x483444]
mul ecx
lea eax, [ebp - 0x20d4]
shr edx, 6
push eax
mov dword [0x48344c], edx
call fcn.00410b30
mov ax, word [0x483448]
add esp, 4
mov ebx, dword [0x48344c]
mov word [ebp - 0x20d6], ax
sub esi, edi
lea eax, [ebp - 0x2004]
cmp ebx, esi
lea eax, [eax + edi*8]
cmovb esi, ebx
push esi
push eax
call fcn.00411460
mov ax, word [ebp - 0x20d6]
sub ebx, esi
add edi, esi
mov dword [0x48344c], ebx
mov esi, dword [ebp - 0x20e0]
add esp, 8
cmp edi, esi
jne 0x410853
mov dword [ebp - 0x20e8], ebx
mov edi, dword [ebp - 0x20dc]
lea edx, [esi + esi]
xor ebx, ebx
mov dword [ebp - 0x20e4], edx
test edx, edx
je 0x410997
mov esi, dword [ebp + 0x14]
nop word [eax + eax]
test esi, esi
je 0x41093e
mov eax, dword [ebp + 0x10]
mov edx, ebx
shr edx, 1
sub eax, esi
lea ecx, [edx + edi]
cmp ecx, eax
jbe 0x410938
test bl, 1
jne 0x410920
mov eax, dword [ebp + 0x10]
sub eax, edx
xor edx, edx
sub eax, edi
shl eax, 8
div esi
movzx eax, ax
mov dword [ebp - 0x20ec], eax
mov eax, dword [ebp + ebx*4 - 0x2004]
imul eax, dword [ebp - 0x20ec]
sar eax, 8
mov dword [ebp + ebx*4 - 0x2004], eax
mov edx, dword [ebp - 0x20e4]
mov ecx, dword [ebp - 0x20f0]
mov eax, dword [ebp + ebx*4 - 0x2004]
add ecx, 2
cmp eax, 0x7fff
jle 0x41095c
mov eax, 0x7fff
jmp 0x41096d
cmp eax, 0xffff8001
jge 0x41096a
mov eax, 0xffff8001
jmp 0x41096d
movzx eax, ax
mov edi, dword [ebp - 0x20f0]
inc ebx
mov dword [ebp - 0x20f0], ecx
mov word [edi], ax
mov edi, dword [ebp - 0x20dc]
cmp ebx, edx
jb 0x4108f0
mov esi, dword [ebp - 0x20e0]
mov dword [ebp - 0x20f0], ecx
mov ecx, dword [ebp + 0x10]
add edi, esi
mov ebx, dword [ebp - 0x20e8]
mov edx, 0x400
mov dword [ebp - 0x20dc], edi
cmp edi, ecx
jne 0x410800
mov edi, dword [0x483440]
xor eax, eax
mov word [0x483448], ax
test edi, edi
je 0x4109e0
mov esi, edi
mov edi, dword [edi + 0x2c]
push dword [esi]
call fcn.0042825a
push esi
call fcn.0042825a
add esp, 8
test edi, edi
jne 0x4109c7
pop edi
pop esi
mov dword [0x483440], 0
xor eax, eax
mov ecx, 0x483220
pop ebx
nop dword [eax]
nop dword [eax + eax]
mov byte [eax + 0x481fc8], 0xff
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
movups xmmword [ecx + 0x20], xmm0
movups xmmword [ecx + 0x30], xmm0
cmp eax, 8
jae 0x410a5c
mov byte [eax + 0x483450], 0
add ecx, 0x40
mov byte [eax + 0x483458], 0
mov dword [eax*4 + 0x4834a8], 0
mov dword [eax*4 + 0x483420], 0
inc eax
cmp ecx, 0x483420
jl 0x410a00
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041aab7
mov esp, ebp
pop ebp
ret
call fcn.0041abfe
int3