Function at 0x4095a0
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46fca1
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4871a0]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x13], 0
mov dword [esp + 0x3c], ebx
push 0x477dcc
mov dword [esp + 0xcc], ebx
mov ecx, dword [0x48d7d0]
push 0x1f6
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [esp + 0x40], esi
cmp esi, ebx
je 0x409a25
mov edx, dword [0x48d7d0]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [esp + 0x3c], edi
cmp edi, ebx
je 0x409a1a
mov eax, dword [0x48d7d0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
inc esi
cmp esi, 0xf4240
jle 0x409660
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
jmp 0x409a29
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044d3e0
mov ebx, eax
add esp, 4
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x409a1a
lea eax, [esi + esi]
push eax
push 0
push ebx
call fcn.00453e20
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
dec esi
push esi
push eax
push ebx
call fcn.00454ea0
mov ecx, 0xfeff
add esp, 0xc
mov esi, ebx
cmp word [ebx], cx
jne 0x4096ba
lea esi, [ebx + 2]
lea edx, [esp + 0x24]
push edx
call fcn.00449c80
push esi
mov edx, str._n__
lea ecx, [esp + 0x28]
mov byte [esp + 0xcc], 1
call fcn.004073c0
xor eax, eax
add esp, 4
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
mov byte [esp + 0xc8], 2
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], 0
je 0x40998f
xor ebx, ebx
mov dword [esp + 0x18], ebx
jmp 0x40974c
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
sub esi, edi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x14], ecx
jb 0x409770
call fcn.00450357
mov edi, dword [esp + 0x30]
cmp dword [ebx + edi + 0x18], 8
jb 0x40977d
mov eax, dword [ebx + edi + 4]
jmp 0x409781
lea eax, [ebx + edi + 4]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], dx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4097a0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d850
push 0x477db4
mov ebx, 1
xor eax, eax
mov edx, esi
mov byte [esp + 0xcc], 3
call fcn.00407560
mov esi, eax
push 0x477db8
xor eax, eax
lea edx, [esp + 0x4c]
call fcn.00407560
mov edi, eax
push 0x477dbc
xor eax, eax
lea edx, [esp + 0x4c]
call fcn.00407560
mov ebx, eax
test esi, esi
jne 0x40985e
cmp edi, 0xffffffff
je 0x40985e
lea eax, [esp + 0x48]
lea edx, [esi + 1]
lea ecx, [edi - 1]
push eax
lea esi, [esp + 0xa0]
call fcn.00407d90
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd0], 4
call fcn.0040d5a0
mov byte [esp + 0xc8], 3
call fcn.0040d4d0
cmp dword [esp + 0x7c], 8
mov ecx, dword [esp + 0x68]
jae 0x40984b
lea ecx, [esp + 0x68]
mov edi, dword [esp + 0x1c]
call fcn.00407d10
mov esi, 8
jmp 0x409942
cmp ebx, 0xffffffff
je 0x409957
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
xor edx, edx
lea esi, [esp + 0xa0]
call fcn.00407d90
lea eax, [esp + 0x48]
mov byte [esp + 0xc8], 5
mov ecx, dword [esp + 0x5c]
lea edx, [ebx + 1]
push eax
lea esi, [esp + 0x84]
call fcn.00407d90
mov byte [esp + 0xc8], 6
mov ecx, dword [esp + 0x84]
mov esi, 8
cmp dword [esp + 0x98], esi
jae 0x4098c0
lea ecx, [esp + 0x84]
mov edx, dword [esp + 0xa0]
cmp dword [esp + 0xb4], esi
jae 0x4098d7
lea edx, [esp + 0xa0]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x4098e5
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.004094c0
cmp dword [esp + 0x98], esi
jb 0x409909
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0044fccf
add esp, 4
xor edx, edx
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], dx
cmp dword [esp + 0xb4], esi
jb 0x409942
mov eax, dword [esp + 0xa0]
push eax
call fcn.0044fccf
add esp, 4
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x60], esi
jb 0x409973
mov ecx, dword [esp + 0x4c]
push ecx
jmp 0x40996b
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x60], 8
jb 0x409973
mov edx, dword [esp + 0x4c]
push edx
call fcn.0044fccf
add esp, 4
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 0x1c
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x44]
jb 0x409740
mov ebx, dword [esp + 0x20]
push ebx
call fcn.004501ef
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
add esp, 4
sar ecx, 2
test ecx, ecx
jbe 0x4099ae
mov byte [esp + 0x13], 1
cmp dword [esp + 0x7c], 8
jb 0x4099c2
mov edx, dword [esp + 0x68]
push edx
call fcn.0044fccf
add esp, 4
xor eax, eax
xor esi, esi
mov word [esp + 0x68], ax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], esi
cmp eax, esi
je 0x4099fd
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
push ecx
call fcn.00406c50
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call fcn.0044fccf
add esp, 4
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.0044fccf
mov edi, dword [esp + 0x40]
add esp, 4
test edi, edi
je 0x409a25
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0044fcda
mov esp, ebp
pop ebp
ret 4